You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2023. It is now read-only.
## What is the goal of this PR?
Following typedb/typedb#6271 and the corresponding protocol change in typedb/typedb-protocol#131 we implement Explanations, Explainable concept maps, and the explain() query API, which allows users to stream Explanations on demand **note: explain query or transaction option must be set to `true`**
## What are the changes implemented in this PR?
* Implement `Explanation` objects, and extend `ConceptMap` to contain `Explainables`
* Add the `QueryManager.explain(Explainable)` API to retrieve all direct explanations (1-rule layer)
BAD_ENCODING=ConceptErrorMessage(5, "The encoding '%s' was not recognised.")
103
103
BAD_VALUE_TYPE=ConceptErrorMessage(6, "The value type '%s' was not recognised.")
104
104
BAD_ATTRIBUTE_VALUE=ConceptErrorMessage(7, "The attribute value '%s' was not recognised.")
105
-
GET_HAS_WITH_MULTIPLE_FILTERS=ConceptErrorMessage(8, "Only one filter can be applied at a time to get_has. The possible filters are: [attribute_type, attribute_types, only_key]")
105
+
NONEXISTENT_EXPLAINABLE_CONCEPT=ConceptErrorMessage(8, "The concept identified by '%s' is not explainable.")
106
+
NONEXISTENT_EXPLAINABLE_OWNERSHIP=ConceptErrorMessage(9, "The ownership by owner '%s' of attribute '%s' is not explainable.")
107
+
GET_HAS_WITH_MULTIPLE_FILTERS=ConceptErrorMessage(10, "Only one filter can be applied at a time to get_has. The possible filters are: [attribute_type, attribute_types, only_key]")
0 commit comments