cognite-toolkit 0.7.69__py3-none-any.whl → 0.7.70__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cognite_toolkit/_cdf_tk/client/resource_classes/legacy/location_filters.py +2 -2
- cognite_toolkit/_cdf_tk/cruds/_resource_cruds/location.py +1 -2
- cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml +1 -1
- cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml +1 -1
- cognite_toolkit/_resources/cdf.toml +1 -1
- cognite_toolkit/_version.py +1 -1
- {cognite_toolkit-0.7.69.dist-info → cognite_toolkit-0.7.70.dist-info}/METADATA +1 -1
- {cognite_toolkit-0.7.69.dist-info → cognite_toolkit-0.7.70.dist-info}/RECORD +10 -10
- {cognite_toolkit-0.7.69.dist-info → cognite_toolkit-0.7.70.dist-info}/WHEEL +0 -0
- {cognite_toolkit-0.7.69.dist-info → cognite_toolkit-0.7.70.dist-info}/entry_points.txt +0 -0
|
@@ -146,7 +146,7 @@ class LocationFilterCore(WriteableCogniteResource["LocationFilterWrite"], ABC):
|
|
|
146
146
|
scene: LocationFilterScene | None = None,
|
|
147
147
|
asset_centric: AssetCentricFilter | None = None,
|
|
148
148
|
views: list[LocationFilterView] | None = None,
|
|
149
|
-
data_modeling_type: Literal["HYBRID", "DATA_MODELING_ONLY"] | None = None,
|
|
149
|
+
data_modeling_type: Literal["HYBRID", "DATA_MODELING_ONLY", "ASSET_CENTRIC_ONLY"] | None = None,
|
|
150
150
|
_parent_external_id: str | None = None,
|
|
151
151
|
) -> None:
|
|
152
152
|
self.external_id = external_id
|
|
@@ -250,7 +250,7 @@ class LocationFilter(LocationFilterCore):
|
|
|
250
250
|
scene: LocationFilterScene | None = None,
|
|
251
251
|
asset_centric: AssetCentricFilter | None = None,
|
|
252
252
|
views: list[LocationFilterView] | None = None,
|
|
253
|
-
data_modeling_type: Literal["HYBRID", "DATA_MODELING_ONLY"] | None = None,
|
|
253
|
+
data_modeling_type: Literal["HYBRID", "DATA_MODELING_ONLY", "ASSET_CENTRIC_ONLY"] | None = None,
|
|
254
254
|
locations: "LocationFilterList | None" = None,
|
|
255
255
|
) -> None:
|
|
256
256
|
super().__init__(
|
|
@@ -126,10 +126,9 @@ class LocationFilterCRUD(ResourceCRUD[str, LocationFilterWrite, LocationFilter])
|
|
|
126
126
|
|
|
127
127
|
def dump_resource(self, resource: LocationFilter, local: dict[str, Any] | None = None) -> dict[str, Any]:
|
|
128
128
|
dumped = resource.as_write().dump()
|
|
129
|
-
local = local or {}
|
|
130
129
|
if parent_id := dumped.pop("parentId", None):
|
|
131
130
|
dumped["parentExternalId"] = self.client.lookup.location_filters.external_id(parent_id)
|
|
132
|
-
if "dataModelingType"
|
|
131
|
+
if dumped.get("dataModelingType") == "HYBRID" and local is not None and "dataModelingType" not in local:
|
|
133
132
|
# Default set on server side
|
|
134
133
|
dumped.pop("dataModelingType")
|
|
135
134
|
if "assetCentric" not in dumped:
|
cognite_toolkit/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.7.
|
|
1
|
+
__version__ = "0.7.70"
|
|
@@ -177,7 +177,7 @@ cognite_toolkit/_cdf_tk/client/resource_classes/legacy/extended_timeseries.py,sh
|
|
|
177
177
|
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/functions.py,sha256=r9vhkS7sJ-wCiwvtD9CDKKthAktDMS6FJWDsLzq6iJ8,378
|
|
178
178
|
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/graphql_data_models.py,sha256=N_1dfXSdsLlhw5uXreNfmSCo5bA4XeiZneMdnHWDgJI,4313
|
|
179
179
|
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/instances.py,sha256=aGV3XtBGwG1ELks3kqFkScO-MGC5zvcSZtYXOVWL2BE,2501
|
|
180
|
-
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/location_filters.py,sha256=
|
|
180
|
+
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/location_filters.py,sha256=At-Olj-daQcR239fVpUZuezbKkOY7jsIx-n1wxlWleQ,12156
|
|
181
181
|
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/migration.py,sha256=AoYgqwSoYn1ok_ksG9Lljb270J4zPF_qyJSu5ZHtD_Q,18632
|
|
182
182
|
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/pending_instances_ids.py,sha256=W99jhHMLzW_0TvZoaeeaeWXljN9GjuXPoFO-SRjsd-s,1888
|
|
183
183
|
cognite_toolkit/_cdf_tk/client/resource_classes/legacy/project.py,sha256=y0rcIZvoTf5b3LPgz9ufUU2UTkDTyzz-HmNgH6cXRNA,1226
|
|
@@ -278,7 +278,7 @@ cognite_toolkit/_cdf_tk/cruds/_resource_cruds/function.py,sha256=OSJlIiqyBqbSiEf
|
|
|
278
278
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/group_scoped.py,sha256=WEg8-CxMP64WfE_XXIlH114zM51K0uLaYa4atd992zI,1690
|
|
279
279
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/hosted_extractors.py,sha256=pRyClYj2-NwDJOr7jo2-yaduLirf1Uts_IrLKb5-nR0,17764
|
|
280
280
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/industrial_tool.py,sha256=iZJGzo02cVjs_9zcVobe84mkBe5HcTzFEZU7HAA1RZ0,7867
|
|
281
|
-
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/location.py,sha256=
|
|
281
|
+
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/location.py,sha256=sOZunu027t-2ocuICqc2WgRYOMVYxc7n2fVgXmIfkmo,12226
|
|
282
282
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/migration.py,sha256=8-7QgL4g-DMJHwBbOFAg4QscMNA1RMCqHfZYQlSNKU4,4467
|
|
283
283
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/raw.py,sha256=T_j0vJp8URJGsKeTi_bYvnNtdte_Axw5htmsu0CfG88,12104
|
|
284
284
|
cognite_toolkit/_cdf_tk/cruds/_resource_cruds/relationship.py,sha256=TO2Y6TZJEGxyKv7EMOtyyALz3Wyigp0mwBSQVTL-D5A,6330
|
|
@@ -432,13 +432,13 @@ cognite_toolkit/_repo_files/.gitignore,sha256=ip9kf9tcC5OguF4YF4JFEApnKYw0nG0vPi
|
|
|
432
432
|
cognite_toolkit/_repo_files/AzureDevOps/.devops/README.md,sha256=OLA0D7yCX2tACpzvkA0IfkgQ4_swSd-OlJ1tYcTBpsA,240
|
|
433
433
|
cognite_toolkit/_repo_files/AzureDevOps/.devops/deploy-pipeline.yml,sha256=brULcs8joAeBC_w_aoWjDDUHs3JheLMIR9ajPUK96nc,693
|
|
434
434
|
cognite_toolkit/_repo_files/AzureDevOps/.devops/dry-run-pipeline.yml,sha256=OBFDhFWK1mlT4Dc6mDUE2Es834l8sAlYG50-5RxRtHk,723
|
|
435
|
-
cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=
|
|
436
|
-
cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=
|
|
437
|
-
cognite_toolkit/_resources/cdf.toml,sha256=
|
|
438
|
-
cognite_toolkit/_version.py,sha256
|
|
435
|
+
cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=qQ_xDd8t-BoDn8jQH0myosDup607lUlFP0XyFYjNyvI,667
|
|
436
|
+
cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=RfOWvAlbfEX2AN-p778iZ1-BQKh3CkrsZ20regQHgZU,2430
|
|
437
|
+
cognite_toolkit/_resources/cdf.toml,sha256=_eXFo5nNSYSt5pSGNJy_XryxMBGOe-Y3T6ZmAxgoBII,475
|
|
438
|
+
cognite_toolkit/_version.py,sha256=ZfQz5T6Qc8giGJV4KwdZES652C1RbgB-gyM_Mb-p5AE,23
|
|
439
439
|
cognite_toolkit/demo/__init__.py,sha256=-m1JoUiwRhNCL18eJ6t7fZOL7RPfowhCuqhYFtLgrss,72
|
|
440
440
|
cognite_toolkit/demo/_base.py,sha256=6xKBUQpXZXGQ3fJ5f7nj7oT0s2n7OTAGIa17ZlKHZ5U,8052
|
|
441
|
-
cognite_toolkit-0.7.
|
|
442
|
-
cognite_toolkit-0.7.
|
|
443
|
-
cognite_toolkit-0.7.
|
|
444
|
-
cognite_toolkit-0.7.
|
|
441
|
+
cognite_toolkit-0.7.70.dist-info/WHEEL,sha256=fAguSjoiATBe7TNBkJwOjyL1Tt4wwiaQGtNtjRPNMQA,80
|
|
442
|
+
cognite_toolkit-0.7.70.dist-info/entry_points.txt,sha256=EtZ17K2mUjh-AY0QNU1CPIB_aDSSOdmtNI_4Fj967mA,84
|
|
443
|
+
cognite_toolkit-0.7.70.dist-info/METADATA,sha256=dJLGdBD0b3wIoIPt1gb6IinqJ-39kikvePgaS98EVpE,5026
|
|
444
|
+
cognite_toolkit-0.7.70.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|