Skip to content

Commit ec4375e

Browse files
authored
Feature/84 category entity type (#85)
1 parent a1433a1 commit ec4375e

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ $ pip install git+https://github.com/elimity-com/insights-client-python.git
3434
| 2 - 3 | 2.11 - 3.0 |
3535
| 4 | 3.1 - 3.3 |
3636
| 5 - 6 | 3.4 - 3.5 |
37-
| 7 | ^3.6 |
37+
| 7 | 3.6 - 3.7 |
38+
| 8 | ^3.8 |

elimity_insights_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def _compress_domain_graph(json: Any) -> Iterable[bytes]:
291291
def _decode_attribute_type(json: Any) -> AttributeType:
292292
archived = json["archived"]
293293
description = json["description"]
294-
entity_type = json["category"]
294+
entity_type = json["entityTypeId"]
295295
id_ = json["id"]
296296
name = json["name"]
297297
type_ = json["type"]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@
2626
python_requires=">=3.7",
2727
py_modules=["elimity_insights_client"],
2828
url="https://github.com/elimity-com/insights-client-python",
29-
version="7.0.0",
29+
version="8.0.0a0",
3030
)

test_elimity_insights_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def do_GET(self) -> None:
220220
{
221221
"archived": false,
222222
"description": "foo",
223-
"category": "bar",
223+
"entityTypeId": "bar",
224224
"id": "bax",
225225
"name": "baz",
226226
"type": "string"

0 commit comments

Comments
 (0)