robosystems-client 0.2.19__py3-none-any.whl → 0.2.20__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.

Potentially problematic release.


This version of robosystems-client might be problematic. Click here for more details.

@@ -23,6 +23,10 @@ class GraphInfo:
23
23
  created_at (str): Creation timestamp
24
24
  is_repository (bool | Unset): Whether this is a shared repository (vs user graph) Default: False.
25
25
  repository_type (None | str | Unset): Repository type if isRepository=true
26
+ schema_extensions (list[str] | Unset): List of schema extensions installed on this graph
27
+ is_subgraph (bool | Unset): Whether this is a subgraph (vs a main graph) Default: False.
28
+ parent_graph_id (None | str | Unset): Parent graph ID if this is a subgraph
29
+ graph_type (str | Unset): Type of graph: generic, entity, or repository Default: 'entity'.
26
30
  """
27
31
 
28
32
  graph_id: str
@@ -32,6 +36,10 @@ class GraphInfo:
32
36
  created_at: str
33
37
  is_repository: bool | Unset = False
34
38
  repository_type: None | str | Unset = UNSET
39
+ schema_extensions: list[str] | Unset = UNSET
40
+ is_subgraph: bool | Unset = False
41
+ parent_graph_id: None | str | Unset = UNSET
42
+ graph_type: str | Unset = "entity"
35
43
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
36
44
 
37
45
  def to_dict(self) -> dict[str, Any]:
@@ -53,6 +61,20 @@ class GraphInfo:
53
61
  else:
54
62
  repository_type = self.repository_type
55
63
 
64
+ schema_extensions: list[str] | Unset = UNSET
65
+ if not isinstance(self.schema_extensions, Unset):
66
+ schema_extensions = self.schema_extensions
67
+
68
+ is_subgraph = self.is_subgraph
69
+
70
+ parent_graph_id: None | str | Unset
71
+ if isinstance(self.parent_graph_id, Unset):
72
+ parent_graph_id = UNSET
73
+ else:
74
+ parent_graph_id = self.parent_graph_id
75
+
76
+ graph_type = self.graph_type
77
+
56
78
  field_dict: dict[str, Any] = {}
57
79
  field_dict.update(self.additional_properties)
58
80
  field_dict.update(
@@ -68,6 +90,14 @@ class GraphInfo:
68
90
  field_dict["isRepository"] = is_repository
69
91
  if repository_type is not UNSET:
70
92
  field_dict["repositoryType"] = repository_type
93
+ if schema_extensions is not UNSET:
94
+ field_dict["schemaExtensions"] = schema_extensions
95
+ if is_subgraph is not UNSET:
96
+ field_dict["isSubgraph"] = is_subgraph
97
+ if parent_graph_id is not UNSET:
98
+ field_dict["parentGraphId"] = parent_graph_id
99
+ if graph_type is not UNSET:
100
+ field_dict["graphType"] = graph_type
71
101
 
72
102
  return field_dict
73
103
 
@@ -95,6 +125,21 @@ class GraphInfo:
95
125
 
96
126
  repository_type = _parse_repository_type(d.pop("repositoryType", UNSET))
97
127
 
128
+ schema_extensions = cast(list[str], d.pop("schemaExtensions", UNSET))
129
+
130
+ is_subgraph = d.pop("isSubgraph", UNSET)
131
+
132
+ def _parse_parent_graph_id(data: object) -> None | str | Unset:
133
+ if data is None:
134
+ return data
135
+ if isinstance(data, Unset):
136
+ return data
137
+ return cast(None | str | Unset, data)
138
+
139
+ parent_graph_id = _parse_parent_graph_id(d.pop("parentGraphId", UNSET))
140
+
141
+ graph_type = d.pop("graphType", UNSET)
142
+
98
143
  graph_info = cls(
99
144
  graph_id=graph_id,
100
145
  graph_name=graph_name,
@@ -103,6 +148,10 @@ class GraphInfo:
103
148
  created_at=created_at,
104
149
  is_repository=is_repository,
105
150
  repository_type=repository_type,
151
+ schema_extensions=schema_extensions,
152
+ is_subgraph=is_subgraph,
153
+ parent_graph_id=parent_graph_id,
154
+ graph_type=graph_type,
106
155
  )
107
156
 
108
157
  graph_info.additional_properties = d
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robosystems-client
3
- Version: 0.2.19
3
+ Version: 0.2.20
4
4
  Summary: Python Client for RoboSystems financial graph database API
5
5
  Author: RFS LLC
6
6
  License: MIT
@@ -264,7 +264,7 @@ robosystems_client/models/get_current_auth_user_response_getcurrentauthuser.py,s
264
264
  robosystems_client/models/get_file_info_response.py,sha256=N-pIl3vdAyLi6OGxzS00hgyjZZksWgghP077r9z3nlw,6939
265
265
  robosystems_client/models/get_operation_status_response_getoperationstatus.py,sha256=DIBYtgU2ukYyHhwyyEimmiNmsi7Gcasp1pydTaLFXU0,1340
266
266
  robosystems_client/models/get_storage_usage_response_getstorageusage.py,sha256=fiAu_25kp7FZ74OQ7KFKTRL-cmLWY9Xd1JBU2hmEkFw,1310
267
- robosystems_client/models/graph_info.py,sha256=nuDRvRxIx0axaRk8GYyDOkAilgOeGuDRkuPIZzfPrgk,3310
267
+ robosystems_client/models/graph_info.py,sha256=W02yhNeuZ14UyVbJEN_7pb66NJ3WFD1ts4VYOrAON4U,5174
268
268
  robosystems_client/models/graph_limits_response.py,sha256=SqgsGACuFxdBkNDTwKHF1PCi8JJy-Y8d2FJavQCz8L8,5303
269
269
  robosystems_client/models/graph_metadata.py,sha256=0bFiZeAk98TcCJiJDKUe5Td899bWZ8-VtOghVP_pDnw,2963
270
270
  robosystems_client/models/graph_metrics_response.py,sha256=YCHbj1aR3DW3wIAEDsQMwIV7NtOIgwgX62ueC71DeRI,5849
@@ -414,7 +414,7 @@ robosystems_client/models/view_axis_config_member_labels_type_0.py,sha256=kkzpHx
414
414
  robosystems_client/models/view_config.py,sha256=HQnqYjLMXRhjZLOc5ypwILriMFKuvPzu0hPQi2vyNoM,3795
415
415
  robosystems_client/models/view_source.py,sha256=h66cASj-P_-qOptKv26uAIe9PtIewU2nTs42Ls-lFFk,4098
416
416
  robosystems_client/models/view_source_type.py,sha256=KpgczHUeOinV01jdLvytZ2URKwcsRcp1doPx2D3USyw,169
417
- robosystems_client-0.2.19.dist-info/METADATA,sha256=Lwkfh7YEjzGMI_mV5HZz9r4Fwcf-6-MxXJs9RBVf09w,3899
418
- robosystems_client-0.2.19.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
419
- robosystems_client-0.2.19.dist-info/licenses/LICENSE,sha256=LjFqQPU4eQh7jAQ04SmE9eC0j74HCdXvzbo0hjW4mWo,1063
420
- robosystems_client-0.2.19.dist-info/RECORD,,
417
+ robosystems_client-0.2.20.dist-info/METADATA,sha256=YhEF7b7jE9rE1DWePu4P5JVfW8qOFDNx_9xic0C8_ts,3899
418
+ robosystems_client-0.2.20.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
419
+ robosystems_client-0.2.20.dist-info/licenses/LICENSE,sha256=LjFqQPU4eQh7jAQ04SmE9eC0j74HCdXvzbo0hjW4mWo,1063
420
+ robosystems_client-0.2.20.dist-info/RECORD,,