From 321d1e833b71ade2d15ba09c8bbda51d8f18eccc Mon Sep 17 00:00:00 2001 From: anders-albert Date: Sun, 18 Aug 2024 14:10:31 +0200 Subject: [PATCH] refactor: passing all tests on pydantic v1 --- docs/CHANGELOG.md | 6 ++++++ tests/test_integration/test_query_builder.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 64543f818..d46b6937f 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -14,6 +14,8 @@ Changes are grouped as follows - `Security` in case of vulnerabilities. ## [0.99.32] - 24-08-17 +### Added +- Support for files and sequences in the generated SDK. ### Changed - When generating an SDK if the `default_instance_space` parameter, `pygen` will no longer use the space of the data model as the default space for nodes and edges. Instead, the generated SDK will be without a default space, @@ -25,6 +27,10 @@ Changes are grouped as follows This is to ensure that the user must specify the space when creating or querying nodes and edges, and not introdcue a bug where the space is not set correctly. +### Fixed +- In the generated SDK, fields of `TimeSeries` as now set to `TimeSeriesWrite` in the write format of the generated + SDK. + ## [0.99.31] - 24-08-16 ### Added - Support for edges with properties of type `single_edge_connection`. diff --git a/tests/test_integration/test_query_builder.py b/tests/test_integration/test_query_builder.py index d087e07dd..80eaec3f2 100644 --- a/tests/test_integration/test_query_builder.py +++ b/tests/test_integration/test_query_builder.py @@ -12,7 +12,7 @@ from omni._api._core import EdgeQueryStep, NodeQueryStep, QueryBuilder else: from omni_pydantic_v1 import data_classes as dc - from omni_pydantic_v1._api._core import QueryBuilder + from omni_pydantic_v1._api._core import EdgeQueryStep, NodeQueryStep, QueryBuilder class TestQueryBuilder: