cognite-toolkit 0.7.46__py3-none-any.whl → 0.7.47__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.
Files changed (28) hide show
  1. cognite_toolkit/_cdf_tk/client/api/agents.py +107 -0
  2. cognite_toolkit/_cdf_tk/client/api/annotations.py +129 -0
  3. cognite_toolkit/_cdf_tk/client/api/containers.py +132 -0
  4. cognite_toolkit/_cdf_tk/client/api/data_models.py +137 -0
  5. cognite_toolkit/_cdf_tk/client/api/function_schedules.py +115 -0
  6. cognite_toolkit/_cdf_tk/client/api/functions.py +113 -0
  7. cognite_toolkit/_cdf_tk/client/api/graphql_data_models.py +167 -0
  8. cognite_toolkit/_cdf_tk/client/api/groups.py +121 -0
  9. cognite_toolkit/_cdf_tk/client/api/relationships.py +133 -0
  10. cognite_toolkit/_cdf_tk/client/api/spaces.py +117 -0
  11. cognite_toolkit/_cdf_tk/client/api/views.py +139 -0
  12. cognite_toolkit/_cdf_tk/client/cdf_client/api.py +8 -2
  13. cognite_toolkit/_cdf_tk/client/cdf_client/responses.py +11 -0
  14. cognite_toolkit/_cdf_tk/client/http_client/_data_classes.py +10 -0
  15. cognite_toolkit/_cdf_tk/client/request_classes/filters.py +31 -0
  16. cognite_toolkit/_cdf_tk/client/request_classes/graphql.py +28 -0
  17. cognite_toolkit/_cdf_tk/client/resource_classes/agent.py +8 -2
  18. cognite_toolkit/_cdf_tk/client/resource_classes/function_schedule.py +8 -4
  19. cognite_toolkit/_cdf_tk/client/resource_classes/group/group.py +9 -5
  20. cognite_toolkit/_cdf_tk/client/resource_classes/relationship.py +9 -3
  21. cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml +1 -1
  22. cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml +1 -1
  23. cognite_toolkit/_resources/cdf.toml +1 -1
  24. cognite_toolkit/_version.py +1 -1
  25. {cognite_toolkit-0.7.46.dist-info → cognite_toolkit-0.7.47.dist-info}/METADATA +1 -1
  26. {cognite_toolkit-0.7.46.dist-info → cognite_toolkit-0.7.47.dist-info}/RECORD +28 -16
  27. {cognite_toolkit-0.7.46.dist-info → cognite_toolkit-0.7.47.dist-info}/WHEEL +0 -0
  28. {cognite_toolkit-0.7.46.dist-info → cognite_toolkit-0.7.47.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,139 @@
1
+ """Views API for managing CDF data modeling views.
2
+
3
+ Based on the API specification at:
4
+ https://api-docs.cognite.com/20230101/tag/Views/operation/ApplyViews
5
+ """
6
+
7
+ from collections.abc import Iterable, Sequence
8
+
9
+ from cognite_toolkit._cdf_tk.client.cdf_client import CDFResourceAPI, Endpoint, PagedResponse
10
+ from cognite_toolkit._cdf_tk.client.http_client import HTTPClient, ItemsSuccessResponse2, SuccessResponse2
11
+ from cognite_toolkit._cdf_tk.client.request_classes.filters import ViewFilter
12
+ from cognite_toolkit._cdf_tk.client.resource_classes.data_modeling import (
13
+ ViewReference,
14
+ ViewRequest,
15
+ ViewResponse,
16
+ )
17
+
18
+
19
+ class ViewsAPI(CDFResourceAPI[ViewReference, ViewRequest, ViewResponse]):
20
+ """API for managing CDF data modeling views.
21
+
22
+ Views use an apply/upsert pattern for create and update operations.
23
+ """
24
+
25
+ def __init__(self, http_client: HTTPClient) -> None:
26
+ super().__init__(
27
+ http_client=http_client,
28
+ method_endpoint_map={
29
+ "upsert": Endpoint(method="POST", path="/models/views", item_limit=100),
30
+ "retrieve": Endpoint(method="POST", path="/models/views/byids", item_limit=100),
31
+ "delete": Endpoint(method="POST", path="/models/views/delete", item_limit=100),
32
+ "list": Endpoint(method="GET", path="/models/views", item_limit=1000),
33
+ },
34
+ )
35
+
36
+ def _validate_page_response(
37
+ self, response: SuccessResponse2 | ItemsSuccessResponse2
38
+ ) -> PagedResponse[ViewResponse]:
39
+ return PagedResponse[ViewResponse].model_validate_json(response.body)
40
+
41
+ def create(self, items: Sequence[ViewRequest]) -> list[ViewResponse]:
42
+ """Apply (create or update) views in CDF.
43
+
44
+ Args:
45
+ items: List of ViewRequest objects to apply.
46
+
47
+ Returns:
48
+ List of applied ViewResponse objects.
49
+ """
50
+ return self._request_item_response(items, "upsert")
51
+
52
+ def update(self, items: Sequence[ViewRequest]) -> list[ViewResponse]:
53
+ """Apply (create or update) views in CDF.
54
+
55
+ Args:
56
+ items: List of ViewRequest objects to apply.
57
+ Returns:
58
+ List of applied ViewResponse objects.
59
+ """
60
+ return self._request_item_response(items, "upsert")
61
+
62
+ def retrieve(self, items: Sequence[ViewReference], include_inherited_properties: bool = True) -> list[ViewResponse]:
63
+ """Retrieve views from CDF.
64
+
65
+ Args:
66
+ items: List of ViewReference objects to retrieve.
67
+ include_inherited_properties: Whether to include inherited properties.
68
+
69
+ Returns:
70
+ List of retrieved ViewResponse objects.
71
+ """
72
+ return self._request_item_response(
73
+ items, method="retrieve", extra_body={"includeInheritedProperties": include_inherited_properties}
74
+ )
75
+
76
+ def delete(self, items: Sequence[ViewReference]) -> None:
77
+ """Delete views from CDF.
78
+
79
+ Args:
80
+ items: List of ViewReference objects to delete.
81
+ """
82
+ self._request_no_response(items, "delete")
83
+
84
+ def paginate(
85
+ self,
86
+ filter: ViewFilter | None = None,
87
+ limit: int = 100,
88
+ cursor: str | None = None,
89
+ ) -> PagedResponse[ViewResponse]:
90
+ """Get a page of views from CDF.
91
+
92
+ Args:
93
+ filter: ViewFilter to filter views.
94
+ limit: Maximum number of views to return.
95
+ cursor: Cursor for pagination.
96
+
97
+ Returns:
98
+ PagedResponse of ViewResponse objects.
99
+ """
100
+ return self._paginate(
101
+ cursor=cursor,
102
+ limit=limit,
103
+ params=filter.dump() if filter else None,
104
+ )
105
+
106
+ def iterate(
107
+ self,
108
+ filter: ViewFilter | None = None,
109
+ limit: int | None = None,
110
+ ) -> Iterable[list[ViewResponse]]:
111
+ """Iterate over all views in CDF.
112
+
113
+ Args:
114
+ filter: ViewFilter to filter views.
115
+ limit: Maximum total number of views to return.
116
+
117
+ Returns:
118
+ Iterable of lists of ViewResponse objects.
119
+ """
120
+ return self._iterate(
121
+ limit=limit,
122
+ params=filter.dump() if filter else None,
123
+ )
124
+
125
+ def list(
126
+ self,
127
+ filter: ViewFilter | None = None,
128
+ limit: int | None = None,
129
+ ) -> list[ViewResponse]:
130
+ """List all views in CDF.
131
+
132
+ Args:
133
+ filter: ViewFilter to filter views.
134
+ limit: Maximum total number of views to return.
135
+
136
+ Returns:
137
+ List of ViewResponse objects.
138
+ """
139
+ return self._list(limit=limit, params=filter.dump() if filter else None)
@@ -316,9 +316,15 @@ class CDFResourceAPI(Generic[T_Identifier, T_RequestResource, T_ResponseResource
316
316
  next_cursor = page.next_cursor
317
317
 
318
318
  def _list(
319
- self, limit: int | None = None, params: dict[str, Any] | None = None, endpoint_path: str | None = None
319
+ self,
320
+ limit: int | None = None,
321
+ params: dict[str, Any] | None = None,
322
+ endpoint_path: str | None = None,
323
+ body: dict[str, Any] | None = None,
320
324
  ) -> list[T_ResponseResource]:
321
325
  """List all resources, handling pagination automatically."""
322
326
  return [
323
- item for batch in self._iterate(limit=limit, params=params, endpoint_path=endpoint_path) for item in batch
327
+ item
328
+ for batch in self._iterate(limit=limit, params=params, endpoint_path=endpoint_path, body=body)
329
+ for item in batch
324
330
  ]
@@ -2,6 +2,8 @@ from typing import Generic, TypeVar
2
2
 
3
3
  from pydantic import BaseModel, Field, JsonValue
4
4
 
5
+ from cognite_toolkit._cdf_tk.client.resource_classes.graphql_data_model import GraphQLDataModelResponse
6
+
5
7
  T = TypeVar("T", bound=BaseModel)
6
8
 
7
9
 
@@ -25,3 +27,12 @@ class QueryResponse(BaseModel, Generic[T]):
25
27
  typing: dict[str, JsonValue] | None = None
26
28
  next_cursor: dict[str, str] = Field(alias="nextCursor")
27
29
  debug: dict[str, JsonValue] | None = None
30
+
31
+
32
+ class GraphQLResponse(BaseModel):
33
+ data: GraphQLDataModelResponse
34
+ errors: list[dict[str, JsonValue]] | None = None
35
+
36
+
37
+ class GraphQLUpsertResponse(BaseModel):
38
+ upsert_graph_ql_dml_version: GraphQLResponse = Field(alias="upsertGraphQlDmlVersion")
@@ -307,6 +307,11 @@ class ItemsRequest(Generic[T_COVARIANT_ID], BodyRequest):
307
307
  connect_attempt=self.connect_attempt,
308
308
  read_attempt=self.read_attempt,
309
309
  status_attempt=status_attempts,
310
+ api_version=self.api_version,
311
+ content_type=self.content_type,
312
+ accept=self.accept,
313
+ content_length=self.content_length,
314
+ max_failures_before_abort=self.max_failures_before_abort,
310
315
  )
311
316
  first_half.tracker = tracker
312
317
  second_half = ItemsRequest[T_COVARIANT_ID](
@@ -317,6 +322,11 @@ class ItemsRequest(Generic[T_COVARIANT_ID], BodyRequest):
317
322
  connect_attempt=self.connect_attempt,
318
323
  read_attempt=self.read_attempt,
319
324
  status_attempt=status_attempts,
325
+ api_version=self.api_version,
326
+ content_type=self.content_type,
327
+ accept=self.accept,
328
+ content_length=self.content_length,
329
+ max_failures_before_abort=self.max_failures_before_abort,
320
330
  )
321
331
  second_half.tracker = tracker
322
332
  return [first_half, second_half]
@@ -1,5 +1,7 @@
1
1
  import sys
2
+ from typing import Literal
2
3
 
4
+ from cognite_toolkit._cdf_tk.client.resource_classes.annotation import AnnotationStatus, AnnotationType
3
5
  from cognite_toolkit._cdf_tk.client.resource_classes.identifiers import ExternalId, InternalId
4
6
 
5
7
  from .base import BaseModelRequest
@@ -36,3 +38,32 @@ class ClassicFilter(Filter):
36
38
  return None
37
39
  ids = id if isinstance(id, list) else [id]
38
40
  return [ExternalId(external_id=item) if isinstance(item, str) else InternalId(id=item) for item in ids]
41
+
42
+
43
+ class DataModelingFilter(Filter):
44
+ space: str | None = None
45
+ include_global: bool | None = None
46
+
47
+
48
+ class ContainerFilter(DataModelingFilter):
49
+ used_for: Literal["node", "edge", "record", "all"] | None
50
+
51
+
52
+ class ViewFilter(DataModelingFilter):
53
+ include_inherited_properties: bool | None = None
54
+ all_versions: bool | None = None
55
+
56
+
57
+ class DataModelFilter(DataModelingFilter):
58
+ inline_views: bool | None = None
59
+ all_versions: bool | None = None
60
+
61
+
62
+ class AnnotationFilter(Filter):
63
+ annotated_resource_type: Literal["file", "threedmodel"]
64
+ annotated_resource_ids: list[ExternalId | InternalId]
65
+ annotation_type: AnnotationType | None = None
66
+ created_app: str | None = None
67
+ creating_app_version: str | None = None
68
+ creating_user: str | None = None
69
+ status: AnnotationStatus | None = None
@@ -0,0 +1,28 @@
1
+ UPSERT_BODY = """
2
+ mutation UpsertGraphQlDmlVersion($dmCreate: GraphQlDmlVersionUpsert!) {
3
+ upsertGraphQlDmlVersion(graphQlDmlVersion: $dmCreate) {
4
+ errors {
5
+ kind
6
+ message
7
+ hint
8
+ location {
9
+ start {
10
+ line
11
+ column
12
+ }
13
+ }
14
+ }
15
+ result {
16
+ space
17
+ externalId
18
+ version
19
+ name
20
+ description
21
+ graphQlDml
22
+ isGlobal
23
+ createdTime
24
+ lastUpdatedTime
25
+ }
26
+ }
27
+ }
28
+ """
@@ -3,7 +3,6 @@ from typing import Annotated, Any, Literal
3
3
  from pydantic import BeforeValidator, Field
4
4
 
5
5
  from cognite_toolkit._cdf_tk.client.resource_classes.base import BaseModelObject, RequestResource, ResponseResource
6
- from tests.test_unit.test_cdf_tk.test_tk_warnings.test_warnings_metatest import get_all_subclasses
7
6
 
8
7
  from .identifiers import ExternalId
9
8
 
@@ -74,7 +73,14 @@ class UnknownAgentTool(AgentToolDefinition):
74
73
  ...
75
74
 
76
75
 
77
- KNOWN_TOOLS = {tool.type: tool for tool in get_all_subclasses(AgentToolDefinition) if hasattr(tool, "type")}
76
+ # Mapping of known agent tool types to their classes
77
+ KNOWN_TOOLS: dict[str, type[AgentToolDefinition]] = {
78
+ "askDocument": AskDocument,
79
+ "examineDataSemantically": ExamineDataSemantically,
80
+ "queryKnowledgeGraph": QueryKnowledgeGraph,
81
+ "queryTimeSeriesDatapoints": QueryTimeSeriesDatapoints,
82
+ "summarizeDocument": SummarizeDocument,
83
+ }
78
84
 
79
85
 
80
86
  def _handle_unknown_tool(value: Any) -> Any:
@@ -6,6 +6,7 @@ from cognite_toolkit._cdf_tk.client.resource_classes.base import (
6
6
  RequestResource,
7
7
  ResponseResource,
8
8
  )
9
+ from cognite_toolkit._cdf_tk.client.resource_classes.identifiers import InternalId
9
10
 
10
11
 
11
12
  class FunctionScheduleId(Identifier):
@@ -37,14 +38,17 @@ class FunctionSchedule(BaseModelObject):
37
38
  class FunctionScheduleRequest(FunctionSchedule, RequestResource):
38
39
  """Request resource for creating/updating function schedules."""
39
40
 
41
+ # The 'id' field is not part of the request when creating a new resource,
42
+ # but is needed when deleting an existing resource.
43
+ id: int | None = Field(default=None, exclude=True)
40
44
  function_id: int
41
45
  function_external_id: str | None = Field(None, exclude=True)
42
46
  nonce: str
43
47
 
44
- def as_id(self) -> FunctionScheduleId:
45
- if self.function_external_id is None:
46
- raise ValueError("function_external_id must be set to create FunctionScheduleId")
47
- return FunctionScheduleId(function_external_id=self.function_external_id, name=self.name)
48
+ def as_id(self) -> InternalId:
49
+ if self.id is None:
50
+ raise ValueError("Cannot convert FunctionScheduleRequest to InternalId when id is None")
51
+ return InternalId(id=self.id)
48
52
 
49
53
 
50
54
  class FunctionScheduleResponse(FunctionSchedule, ResponseResource[FunctionScheduleRequest]):
@@ -6,12 +6,14 @@ https://api-docs.cognite.com/20230101/tag/Groups/operation/createGroups
6
6
 
7
7
  from typing import Literal
8
8
 
9
+ from pydantic import Field
10
+
9
11
  from cognite_toolkit._cdf_tk.client.resource_classes.base import (
10
12
  BaseModelObject,
11
13
  RequestResource,
12
14
  ResponseResource,
13
15
  )
14
- from cognite_toolkit._cdf_tk.client.resource_classes.identifiers import NameId
16
+ from cognite_toolkit._cdf_tk.client.resource_classes.identifiers import InternalId
15
17
 
16
18
  from .capability import GroupCapability
17
19
 
@@ -38,14 +40,16 @@ class Group(BaseModelObject):
38
40
  source_id: str | None = None
39
41
  members: list[str] | Literal["allUserAccounts"] | None = None
40
42
 
41
- def as_id(self) -> NameId:
42
- return NameId(name=self.name)
43
-
44
43
 
45
44
  class GroupRequest(Group, RequestResource):
46
45
  """Group request resource for creating/updating groups."""
47
46
 
48
- ...
47
+ id: int | None = Field(default=None, exclude=True)
48
+
49
+ def as_id(self) -> InternalId:
50
+ if self.id is None:
51
+ raise ValueError("Cannot convert GroupRequest to InternalId when id is None")
52
+ return InternalId(id=self.id)
49
53
 
50
54
 
51
55
  class GroupResponse(Group, ResponseResource[GroupRequest]):
@@ -1,6 +1,10 @@
1
- from typing import Literal
1
+ from typing import ClassVar, Literal
2
2
 
3
- from cognite_toolkit._cdf_tk.client.resource_classes.base import BaseModelObject, RequestResource, ResponseResource
3
+ from cognite_toolkit._cdf_tk.client.resource_classes.base import (
4
+ BaseModelObject,
5
+ RequestUpdateable,
6
+ ResponseResource,
7
+ )
4
8
 
5
9
  from .identifiers import ExternalId
6
10
 
@@ -26,9 +30,11 @@ class Relationship(BaseModelObject):
26
30
  labels: list[LabelRef] | None = None
27
31
 
28
32
 
29
- class RelationshipRequest(Relationship, RequestResource):
33
+ class RelationshipRequest(Relationship, RequestUpdateable):
30
34
  """Request resource for creating/updating relationships."""
31
35
 
36
+ container_fields: ClassVar[frozenset[str]] = frozenset({"labels"})
37
+
32
38
  def as_id(self) -> ExternalId:
33
39
  return ExternalId(external_id=self.external_id)
34
40
 
@@ -12,7 +12,7 @@ jobs:
12
12
  environment: dev
13
13
  name: Deploy
14
14
  container:
15
- image: cognite/toolkit:0.7.46
15
+ image: cognite/toolkit:0.7.47
16
16
  env:
17
17
  CDF_CLUSTER: ${{ vars.CDF_CLUSTER }}
18
18
  CDF_PROJECT: ${{ vars.CDF_PROJECT }}
@@ -10,7 +10,7 @@ jobs:
10
10
  environment: dev
11
11
  name: Deploy Dry Run
12
12
  container:
13
- image: cognite/toolkit:0.7.46
13
+ image: cognite/toolkit:0.7.47
14
14
  env:
15
15
  CDF_CLUSTER: ${{ vars.CDF_CLUSTER }}
16
16
  CDF_PROJECT: ${{ vars.CDF_PROJECT }}
@@ -4,7 +4,7 @@ default_env = "<DEFAULT_ENV_PLACEHOLDER>"
4
4
  [modules]
5
5
  # This is the version of the modules. It should not be changed manually.
6
6
  # It will be updated by the 'cdf modules upgrade' command.
7
- version = "0.7.46"
7
+ version = "0.7.47"
8
8
 
9
9
 
10
10
  [plugins]
@@ -1 +1 @@
1
- __version__ = "0.7.46"
1
+ __version__ = "0.7.47"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cognite_toolkit
3
- Version: 0.7.46
3
+ Version: 0.7.47
4
4
  Summary: Official Cognite Data Fusion tool for project templates and configuration deployment
5
5
  Author: Cognite AS
6
6
  Author-email: Cognite AS <support@cognite.com>
@@ -31,11 +31,19 @@ cognite_toolkit/_cdf_tk/client/__init__.py,sha256=a6rQXDGfW2g7K5WwrOW5oakh1TdFlB
31
31
  cognite_toolkit/_cdf_tk/client/_constants.py,sha256=COUGcea37mDF2sf6MGqJXWmecTY_6aCImslxXrYW1I0,73
32
32
  cognite_toolkit/_cdf_tk/client/_toolkit_client.py,sha256=PWU0881QsHyGK14EPx-7g_gnJzFbFwWDB1WtqYVBn3c,5115
33
33
  cognite_toolkit/_cdf_tk/client/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
+ cognite_toolkit/_cdf_tk/client/api/agents.py,sha256=nhbPsDtU-WOS4NTyvci2691JN3u__robPvO7jIrMMis,3903
35
+ cognite_toolkit/_cdf_tk/client/api/annotations.py,sha256=7uTMiJ6P-gJtHsDjWWDpfUVK0jECDNp0Y8-Fg-gIi3g,4638
34
36
  cognite_toolkit/_cdf_tk/client/api/assets.py,sha256=rLGHPFbpX-C7Mg0DVHzCaAMEo2etDcWEG2-LISHi_PY,5130
37
+ cognite_toolkit/_cdf_tk/client/api/containers.py,sha256=BySQ20iVRafztffZAZNy664ofaPf9-LUuOA7tpXnzp4,4670
38
+ cognite_toolkit/_cdf_tk/client/api/data_models.py,sha256=1I-VyswoHy0264u9rpS7Jab1DDnize_opgsZqM3I5F0,4844
35
39
  cognite_toolkit/_cdf_tk/client/api/datasets.py,sha256=LtXtAABr0fY_YsDlmWMwN7HcDRjdizhKqPhMmQv4KPo,5474
36
40
  cognite_toolkit/_cdf_tk/client/api/events.py,sha256=UqJp2t0VzHwy9OWVC35GglILybUXyFisgavzEO26noI,4962
37
41
  cognite_toolkit/_cdf_tk/client/api/extraction_pipelines.py,sha256=MQBQXoGAoBqgQ-H6OJVdbm6RLi2kqOo3e2Gu11z-9ss,5946
38
42
  cognite_toolkit/_cdf_tk/client/api/filemetadata.py,sha256=kWZNX91jxVhrV6oEEQX4Yi7aTO3LaYMRkK9VrZV_Tvg,7085
43
+ cognite_toolkit/_cdf_tk/client/api/function_schedules.py,sha256=uj5iPzzld-3CuYABI6njPaK5mSExknX7HCGjdUcWav4,4147
44
+ cognite_toolkit/_cdf_tk/client/api/functions.py,sha256=QU_Lg0K1DST6Lgf3vzf2JC1pqimEq4-SPq5UEnEm--4,3941
45
+ cognite_toolkit/_cdf_tk/client/api/graphql_data_models.py,sha256=pCtJynflsV_ZN-6g1L5khU8kibo5FZF5C0yNgFDp9EM,6182
46
+ cognite_toolkit/_cdf_tk/client/api/groups.py,sha256=7iQea1R6C67Yy9UBwjMRhvsiQNOmmG0Gr3jJZIlTUE8,4241
39
47
  cognite_toolkit/_cdf_tk/client/api/hosted_extractor_destinations.py,sha256=izH5-_VU12RbTCzcpWX_tErrflGn1RiTnTjV6ZytIl8,5250
40
48
  cognite_toolkit/_cdf_tk/client/api/hosted_extractor_jobs.py,sha256=whJKr0zx6ONZiJ2QLP8FGvne1oQBCZU5psuswVKyzA4,4726
41
49
  cognite_toolkit/_cdf_tk/client/api/hosted_extractor_mappings.py,sha256=VBvGTkEg7N-STMiB3-lvhtBptQPxkbCTfjTox3o08Sc,5089
@@ -68,36 +76,40 @@ cognite_toolkit/_cdf_tk/client/api/lookup.py,sha256=c-cvtgfGGGYyk8ROcJu44qlo1ocq
68
76
  cognite_toolkit/_cdf_tk/client/api/migration.py,sha256=wYwu5xzNS_-E_vJIOXxPWr6_iRsL9Mld2rLZtOeK9pQ,23106
69
77
  cognite_toolkit/_cdf_tk/client/api/project.py,sha256=Mr7HaoL50qmlt0KzOvzNCI-Y-rlN3QZf8qOZ-hMLdP8,1093
70
78
  cognite_toolkit/_cdf_tk/client/api/raw.py,sha256=OEAXFwRoFRgNiWXlEeh-VmTB0FSpFwjoRvBvzJHQp8o,7702
79
+ cognite_toolkit/_cdf_tk/client/api/relationships.py,sha256=6yClHABq1bn-2ZiM6U7mAKeJ77yP1-INhahUGLLjinI,4987
71
80
  cognite_toolkit/_cdf_tk/client/api/search.py,sha256=wl6MjmkELCWmkXf9yYM03LElLC5l0_DwwifsZc_tXSg,694
72
81
  cognite_toolkit/_cdf_tk/client/api/security_categories.py,sha256=MTOabrEr9KO7lzTCzJcpDxUHiWhj3TKXDCl5UaJ6q2s,3537
73
82
  cognite_toolkit/_cdf_tk/client/api/sequences.py,sha256=-CX8HdFl4ntqRgNF4RxMM0CfdIVURqZcIcS9cF50v2I,5115
74
83
  cognite_toolkit/_cdf_tk/client/api/simulator_models.py,sha256=SkGkcwBcDca3ZzJgWQwZx9WpiZwmjz8RITu9NeEdrzs,5754
75
84
  cognite_toolkit/_cdf_tk/client/api/simulators.py,sha256=61pnNOXkCSigwRbfdBu6wV7bWainQjoWkweFXnChoXM,250
85
+ cognite_toolkit/_cdf_tk/client/api/spaces.py,sha256=E_Hd3lhAm2__x5UE00YvrRrAZO8PWwFqLX6-GtafcBk,4015
76
86
  cognite_toolkit/_cdf_tk/client/api/streams.py,sha256=wQY_9qyoyvW0DJVkuOr0DPYdWt2FwBDY9ybWDRN188c,3049
77
87
  cognite_toolkit/_cdf_tk/client/api/three_d.py,sha256=cCB3I9sVWK76LgfqMw-XJq7gyi020ZKX7fkX5pOAImI,15996
78
88
  cognite_toolkit/_cdf_tk/client/api/timeseries.py,sha256=of_cpcRF9gKSM_7p_tmyEnBMkrlyhRrG_tSwOxO40Xk,5264
79
89
  cognite_toolkit/_cdf_tk/client/api/token.py,sha256=6wJIos7LB2cXvO6LaklpJL0do8kRvTqkBJyJ1Ba-4kg,5135
80
90
  cognite_toolkit/_cdf_tk/client/api/transformations.py,sha256=VL_kEs7UyzRXAv7a43LJhbufYz-v769jNjIN-mrO1Jk,5785
81
91
  cognite_toolkit/_cdf_tk/client/api/verify.py,sha256=-x6z6lMaOZG91adi0m9NtJ4wIQgoZURbzluPALXM-ps,3730
92
+ cognite_toolkit/_cdf_tk/client/api/views.py,sha256=vDwFLQWWQZnO6AAoTBLy-RYw3GHsb15hGyDiEvGLDAE,4625
82
93
  cognite_toolkit/_cdf_tk/client/api/workflow_triggers.py,sha256=96yb4GMtQJlzvfO3H6zuSpF_5Im1deFXll_1LNmNmPg,4749
83
94
  cognite_toolkit/_cdf_tk/client/api/workflow_versions.py,sha256=Jq-kpiCfn_eiY_X9XqQ-DvbigeuLfvE9z8vWsI4ADxE,5199
84
95
  cognite_toolkit/_cdf_tk/client/api/workflows.py,sha256=uh1Amk16fb9q4Xop7CEYZeNHwBxxlNDBcwqfr19GAg8,4409
85
96
  cognite_toolkit/_cdf_tk/client/api_client.py,sha256=CQdD_gfDqQkz5OYHrTnKvBvEvzHPdHDB1BkZPWRoahg,440
86
97
  cognite_toolkit/_cdf_tk/client/cdf_client/__init__.py,sha256=jTu-l5BjBWOyQdhYMk9n9JFG7sN_xlCyC8X9KcYPReI,225
87
- cognite_toolkit/_cdf_tk/client/cdf_client/api.py,sha256=Wi8JUn1UuR6CQaizaeELSWOZM9uzV5QWm70AjrA3AMM,13099
88
- cognite_toolkit/_cdf_tk/client/cdf_client/responses.py,sha256=Rhv3ekirfdz-Y1Por8fu1yrC1_2feyi92dAJ8xMEGUU,689
98
+ cognite_toolkit/_cdf_tk/client/cdf_client/api.py,sha256=Qp320gFvcIieqwJsZ1Jp2UI26ntC-Gj7qULb6gvifbQ,13203
99
+ cognite_toolkit/_cdf_tk/client/cdf_client/responses.py,sha256=UVhvU_8UKCLsjCFaSiVFF6uk72pHOx87ZLk88dhuOYk,1050
89
100
  cognite_toolkit/_cdf_tk/client/config.py,sha256=weMR43z-gqHMn-Jqvfmh_nJ0HbgEdyeCGtISuEf3OuY,4269
90
101
  cognite_toolkit/_cdf_tk/client/http_client/__init__.py,sha256=JhxTcEfagUA54AZY6v7bS8SBMeEJhciR-4gbRBmGPSU,1473
91
102
  cognite_toolkit/_cdf_tk/client/http_client/_client.py,sha256=HxIsSqBpp35k990u1s_SXDjv22OjE7b8kdUvOS98yYU,22477
92
- cognite_toolkit/_cdf_tk/client/http_client/_data_classes.py,sha256=PMVmI_-a-Skq_u9LPJ5rkXNuW6haelLrzLnEmD-Rgng,14966
103
+ cognite_toolkit/_cdf_tk/client/http_client/_data_classes.py,sha256=c-Uau6qOi5TLM5cPE84CkTfrKB_dGhoYHWLXSEOo5AM,15438
93
104
  cognite_toolkit/_cdf_tk/client/http_client/_data_classes2.py,sha256=M8sh2x194hehv3fZCFWWRdzn9Zn0TE6ULCI8_QGAGKM,8014
94
105
  cognite_toolkit/_cdf_tk/client/http_client/_exception.py,sha256=9dE5tm1qTviG93JppLql6ltlmAgm8TxWh9wWPdm0ITA,428
95
106
  cognite_toolkit/_cdf_tk/client/http_client/_tracker.py,sha256=pu6oA-XpOeaOLdoeD_mGfJXC3BFGWfh5oGcRDpb6maw,1407
96
107
  cognite_toolkit/_cdf_tk/client/request_classes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
97
108
  cognite_toolkit/_cdf_tk/client/request_classes/base.py,sha256=-4KjNxurkZpHEfKHz_J6hwTvavaGkGdy8oH79Njm1Io,636
98
- cognite_toolkit/_cdf_tk/client/request_classes/filters.py,sha256=HIzi7UWQFgFzLtOLYTv9Q1N4XQjhmJZHDZWLOs6iCo0,1229
109
+ cognite_toolkit/_cdf_tk/client/request_classes/filters.py,sha256=Bc79TFStq00zicEUI8Cl2swRQOpeo3VFZgW6AOaVyXI,2181
110
+ cognite_toolkit/_cdf_tk/client/request_classes/graphql.py,sha256=MPCpPc0LI0Wtt37nsu_er2OQwkUywmsdtyJGFFpt9z4,599
99
111
  cognite_toolkit/_cdf_tk/client/resource_classes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
100
- cognite_toolkit/_cdf_tk/client/resource_classes/agent.py,sha256=B1fUlKXh3TLJ-DJrASUeB5-cXMuX71BQTEOpyk39-5s,3292
112
+ cognite_toolkit/_cdf_tk/client/resource_classes/agent.py,sha256=ENvEjRhmFqNGbVpyNHOzf3qOv95rjYclq9wWlF82qQg,3433
101
113
  cognite_toolkit/_cdf_tk/client/resource_classes/annotation.py,sha256=foP0yloVtiXDxEo3T9tKbLYIBfTVq2LLCrfV5gA5yzs,2514
102
114
  cognite_toolkit/_cdf_tk/client/resource_classes/asset.py,sha256=MJqVGsXUBA-HScugIb370rSAB3B5J9wFiSN3Ao5D9Bw,1535
103
115
  cognite_toolkit/_cdf_tk/client/resource_classes/base.py,sha256=3pVdD6x4t83Jbbx7CHjY0Hk7ke8g5JhIQM7WA8CNni0,6674
@@ -119,13 +131,13 @@ cognite_toolkit/_cdf_tk/client/resource_classes/event.py,sha256=AoEUJnob2fK2_3Mt
119
131
  cognite_toolkit/_cdf_tk/client/resource_classes/extraction_pipeline.py,sha256=HHI2SE10LjAw5CcvB6bYbhJoTs8MGNVQioPQe45PH4o,1725
120
132
  cognite_toolkit/_cdf_tk/client/resource_classes/filemetadata.py,sha256=TzmuWnWkpySlvfCdCsoQ7s1cOjHlMKr4v9nMIDTvAW0,2125
121
133
  cognite_toolkit/_cdf_tk/client/resource_classes/function.py,sha256=WiiO9Q9FAdvgkDWWTxjqm2FdBq8OCKdTuVr_BWM0r3g,1664
122
- cognite_toolkit/_cdf_tk/client/resource_classes/function_schedule.py,sha256=0Sf74rTfCzBW3aJYeJhmmwPbbBDnAQZw2szvOnnxhto,1808
134
+ cognite_toolkit/_cdf_tk/client/resource_classes/function_schedule.py,sha256=Y9ODRAXibDIa0VSDpPLYzspax1Dhfjqtbom-gRAY_J0,2001
123
135
  cognite_toolkit/_cdf_tk/client/resource_classes/graphql_data_model.py,sha256=zK9i0ITNxAXmHjmY91dm7vx4lYxjLIGA6NMmEMUbjTg,1219
124
136
  cognite_toolkit/_cdf_tk/client/resource_classes/group/__init__.py,sha256=THku_4l-bW0jVEhWYKZBomxyfoTsgVacJKAQf8U_Tq8,3906
125
137
  cognite_toolkit/_cdf_tk/client/resource_classes/group/_constants.py,sha256=6ISmCjyV7xaSQAUzgxaF5-U1kWuhn-6Pk_gD9jDoCxk,48
126
138
  cognite_toolkit/_cdf_tk/client/resource_classes/group/acls.py,sha256=8JlSAoDtl-40J0hlpRjfa3YiqBpSPw2vCdoE5RXQ9kM,19422
127
139
  cognite_toolkit/_cdf_tk/client/resource_classes/group/capability.py,sha256=iGGYJkg4P9e7TVllfEbXHNZVyD4YT7mz1o-YA_I-5EE,2058
128
- cognite_toolkit/_cdf_tk/client/resource_classes/group/group.py,sha256=w34EeaTwbMgtEqOXJG69NMepPuS0OPUsp8_HDib3Fw0,1505
140
+ cognite_toolkit/_cdf_tk/client/resource_classes/group/group.py,sha256=BBPb4pu7Xq8t84gCxb9m7g6TSS39BRViRAui1p6euts,1706
129
141
  cognite_toolkit/_cdf_tk/client/resource_classes/group/scopes.py,sha256=oHqjIAVss1WGm-adeBUCfOop3n84k0gouUmM2iKK1qA,4721
130
142
  cognite_toolkit/_cdf_tk/client/resource_classes/hosted_extractor_destination.py,sha256=iQ8V3HIozYqnn-qKa0ag6ey4wkPZUI54OaB6Olxeays,946
131
143
  cognite_toolkit/_cdf_tk/client/resource_classes/hosted_extractor_job.py,sha256=SYTEFjrIOqoCqPfcUDNE_CumJcBbd_aR1kdXFfAe44c,3451
@@ -164,7 +176,7 @@ cognite_toolkit/_cdf_tk/client/resource_classes/legacy/sequences.py,sha256=02d34
164
176
  cognite_toolkit/_cdf_tk/client/resource_classes/legacy/streamlit_.py,sha256=nEk00FH3i-px2r6ql4kk1VVL4sytjUn0_sTkEdDSHVc,6746
165
177
  cognite_toolkit/_cdf_tk/client/resource_classes/location_filter.py,sha256=ySvgymjK8fotrOVPwrcdD9Ph1lFVPrSTDql0Kc4TeNg,2555
166
178
  cognite_toolkit/_cdf_tk/client/resource_classes/raw.py,sha256=bSGHVyW9ZnNGRlIPbgQtjzyaxlrucRaZq2ofNi5DMs8,1241
167
- cognite_toolkit/_cdf_tk/client/resource_classes/relationship.py,sha256=pL88HUiO1fXCWAzpk8VeEBAR5blQTg4aLz3r7ZCgzOQ,1311
179
+ cognite_toolkit/_cdf_tk/client/resource_classes/relationship.py,sha256=ku--GptmHHRL9_O9xRq9l9BEhoIb0KsOKkTrSUuvGPo,1414
168
180
  cognite_toolkit/_cdf_tk/client/resource_classes/robotics/__init__.py,sha256=AaXN4lmZNO6PwhOYLXuY4JZMpBGyW71MVKQlcdzEo2w,1125
169
181
  cognite_toolkit/_cdf_tk/client/resource_classes/robotics/_capability.py,sha256=khHLKAfUj_ZqMLdnyoaS4xPnuXSi94YUBE_77k9J38U,2113
170
182
  cognite_toolkit/_cdf_tk/client/resource_classes/robotics/_common.py,sha256=lvQURDQ3-q59KgCVDGIvF2q-QKTxmP_7wTQ1orPI7HI,850
@@ -400,14 +412,14 @@ cognite_toolkit/_repo_files/.gitignore,sha256=ip9kf9tcC5OguF4YF4JFEApnKYw0nG0vPi
400
412
  cognite_toolkit/_repo_files/AzureDevOps/.devops/README.md,sha256=OLA0D7yCX2tACpzvkA0IfkgQ4_swSd-OlJ1tYcTBpsA,240
401
413
  cognite_toolkit/_repo_files/AzureDevOps/.devops/deploy-pipeline.yml,sha256=brULcs8joAeBC_w_aoWjDDUHs3JheLMIR9ajPUK96nc,693
402
414
  cognite_toolkit/_repo_files/AzureDevOps/.devops/dry-run-pipeline.yml,sha256=OBFDhFWK1mlT4Dc6mDUE2Es834l8sAlYG50-5RxRtHk,723
403
- cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=fEE1WzMFo5-KH0YF_rMWMHCf22yCklx7fTIAZkKeLFM,667
404
- cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=_MglJpUAS8GWeAn968B0onoPYDAPyGqZxjUn_Y3Je_E,2430
405
- cognite_toolkit/_resources/cdf.toml,sha256=zRbenP5Ykb6VILgWwpS-DW_aUDKZmmBFCdov3REBnxc,475
406
- cognite_toolkit/_version.py,sha256=K3BKvnzLF5-Sva5AQHHFJzJZ5PDiiPueQFtG_FRe4is,23
415
+ cognite_toolkit/_repo_files/GitHub/.github/workflows/deploy.yaml,sha256=t1XpNP_GvjWFJrYHHb_4G1VMoaZxmLzvMuiGFFycxkw,667
416
+ cognite_toolkit/_repo_files/GitHub/.github/workflows/dry-run.yaml,sha256=gVAgbSvW3RmaDoKXTQO4Z1IeuxbT3JaJjmfMoovkfAM,2430
417
+ cognite_toolkit/_resources/cdf.toml,sha256=XMdRqbOuIEs0-Ua4U0HjOIW_9erYjq6yFfEj9KR7iOo,475
418
+ cognite_toolkit/_version.py,sha256=4arFIqqJRpr4z9CmOCLfLb6F5Y-pMn2pu-QlhgnlK2g,23
407
419
  cognite_toolkit/config.dev.yaml,sha256=M33FiIKdS3XKif-9vXniQ444GTZ-bLXV8aFH86u9iUQ,332
408
420
  cognite_toolkit/demo/__init__.py,sha256=-m1JoUiwRhNCL18eJ6t7fZOL7RPfowhCuqhYFtLgrss,72
409
421
  cognite_toolkit/demo/_base.py,sha256=6xKBUQpXZXGQ3fJ5f7nj7oT0s2n7OTAGIa17ZlKHZ5U,8052
410
- cognite_toolkit-0.7.46.dist-info/WHEEL,sha256=XV0cjMrO7zXhVAIyyc8aFf1VjZ33Fen4IiJk5zFlC3g,80
411
- cognite_toolkit-0.7.46.dist-info/entry_points.txt,sha256=EtZ17K2mUjh-AY0QNU1CPIB_aDSSOdmtNI_4Fj967mA,84
412
- cognite_toolkit-0.7.46.dist-info/METADATA,sha256=GSD3AuLavB0zOWEYDKTpoHnpMiLZLSOx7fy1SSBXEJU,5026
413
- cognite_toolkit-0.7.46.dist-info/RECORD,,
422
+ cognite_toolkit-0.7.47.dist-info/WHEEL,sha256=XV0cjMrO7zXhVAIyyc8aFf1VjZ33Fen4IiJk5zFlC3g,80
423
+ cognite_toolkit-0.7.47.dist-info/entry_points.txt,sha256=EtZ17K2mUjh-AY0QNU1CPIB_aDSSOdmtNI_4Fj967mA,84
424
+ cognite_toolkit-0.7.47.dist-info/METADATA,sha256=dB5By1rwXucIo5qpQ9xXfEyBkJv95mnrMdtrCebURkg,5026
425
+ cognite_toolkit-0.7.47.dist-info/RECORD,,