graphscope-flex 0.28.1__py2.py3-none-any.whl → 0.29.0__py2.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.
@@ -38,6 +38,7 @@ class GetGraphResponse(BaseModel):
38
38
  schema_update_time: StrictStr
39
39
  stored_procedures: Optional[List[GetStoredProcResponse]] = None
40
40
  var_schema: GetGraphSchemaResponse = Field(alias="schema")
41
+ additional_properties: Dict[str, Any] = {}
41
42
  __properties: ClassVar[List[str]] = ["id", "name", "description", "store_type", "creation_time", "data_update_time", "schema_update_time", "stored_procedures", "schema"]
42
43
 
43
44
  @field_validator('store_type')
@@ -80,8 +81,10 @@ class GetGraphResponse(BaseModel):
80
81
  * `None` is only added to the output dict for nullable fields that
81
82
  were set at model initialization. Other fields with value `None`
82
83
  are ignored.
84
+ * Fields in `self.additional_properties` are added to the output dict.
83
85
  """
84
86
  excluded_fields: Set[str] = set([
87
+ "additional_properties",
85
88
  ])
86
89
 
87
90
  _dict = self.model_dump(
@@ -99,6 +102,11 @@ class GetGraphResponse(BaseModel):
99
102
  # override the default output from pydantic by calling `to_dict()` of var_schema
100
103
  if self.var_schema:
101
104
  _dict['schema'] = self.var_schema.to_dict()
105
+ # puts key-value pairs in additional_properties in the top level
106
+ if self.additional_properties is not None:
107
+ for _key, _value in self.additional_properties.items():
108
+ _dict[_key] = _value
109
+
102
110
  return _dict
103
111
 
104
112
  @classmethod
@@ -121,6 +129,11 @@ class GetGraphResponse(BaseModel):
121
129
  "stored_procedures": [GetStoredProcResponse.from_dict(_item) for _item in obj["stored_procedures"]] if obj.get("stored_procedures") is not None else None,
122
130
  "schema": GetGraphSchemaResponse.from_dict(obj["schema"]) if obj.get("schema") is not None else None
123
131
  })
132
+ # store additional fields in additional_properties
133
+ for _key in obj.keys():
134
+ if _key not in cls.__properties:
135
+ _obj.additional_properties[_key] = obj.get(_key)
136
+
124
137
  return _obj
125
138
 
126
139
 
@@ -36,9 +36,10 @@ class GetStoredProcResponse(BaseModel):
36
36
  library: StrictStr
37
37
  params: List[Parameter]
38
38
  returns: List[Parameter]
39
+ option: Optional[Dict[str, Any]] = None
39
40
  bound_graph: StrictStr
40
41
  runnable: StrictBool
41
- __properties: ClassVar[List[str]] = ["name", "description", "type", "query", "id", "library", "params", "returns", "bound_graph", "runnable"]
42
+ __properties: ClassVar[List[str]] = ["name", "description", "type", "query", "id", "library", "params", "returns", "option", "bound_graph", "runnable"]
42
43
 
43
44
  @field_validator('type')
44
45
  def type_validate_enum(cls, value):
@@ -120,6 +121,7 @@ class GetStoredProcResponse(BaseModel):
120
121
  "library": obj.get("library"),
121
122
  "params": [Parameter.from_dict(_item) for _item in obj["params"]] if obj.get("params") is not None else None,
122
123
  "returns": [Parameter.from_dict(_item) for _item in obj["returns"]] if obj.get("returns") is not None else None,
124
+ "option": obj.get("option"),
123
125
  "bound_graph": obj.get("bound_graph"),
124
126
  "runnable": obj.get("runnable")
125
127
  })
@@ -36,7 +36,8 @@ class StoredProcedureMeta(BaseModel):
36
36
  library: StrictStr
37
37
  params: List[Parameter]
38
38
  returns: List[Parameter]
39
- __properties: ClassVar[List[str]] = ["name", "description", "type", "query", "id", "library", "params", "returns"]
39
+ option: Optional[Dict[str, Any]] = None
40
+ __properties: ClassVar[List[str]] = ["name", "description", "type", "query", "id", "library", "params", "returns", "option"]
40
41
 
41
42
  @field_validator('type')
42
43
  def type_validate_enum(cls, value):
@@ -117,7 +118,8 @@ class StoredProcedureMeta(BaseModel):
117
118
  "id": obj.get("id"),
118
119
  "library": obj.get("library"),
119
120
  "params": [Parameter.from_dict(_item) for _item in obj["params"]] if obj.get("params") is not None else None,
120
- "returns": [Parameter.from_dict(_item) for _item in obj["returns"]] if obj.get("returns") is not None else None
121
+ "returns": [Parameter.from_dict(_item) for _item in obj["returns"]] if obj.get("returns") is not None else None,
122
+ "option": obj.get("option")
121
123
  })
122
124
  return _obj
123
125
 
@@ -0,0 +1,19 @@
1
+ Metadata-Version: 2.1
2
+ Name: graphscope-flex
3
+ Version: 0.29.0
4
+ Summary: GraphScope FLEX HTTP SERVICE API
5
+ Home-page: UNKNOWN
6
+ Author: GraphScope
7
+ Author-email: graphscope@alibaba-inc.com
8
+ License: Apache 2.0
9
+ Keywords: OpenAPI,OpenAPI-Generator,GraphScope FLEX HTTP SERVICE API
10
+ Platform: UNKNOWN
11
+ Description-Content-Type: text/markdown
12
+ Requires-Dist: pydantic (>=2)
13
+ Requires-Dist: python-dateutil
14
+ Requires-Dist: typing-extensions (>=4.7.1)
15
+ Requires-Dist: urllib3 (<2.1.0,>=1.25.3)
16
+
17
+ This is a specification for GraphScope FLEX HTTP service based on the OpenAPI 3.0 specification. You can find out more details about specification at [doc](https://swagger.io/specification/v3/). Some useful links: - [GraphScope Repository](https://github.com/alibaba/GraphScope) - [The Source API definition for GraphScope Interactive](https://github.com/GraphScope/portal/tree/main/httpservice)
18
+
19
+
@@ -48,13 +48,13 @@ graphscope/flex/rest/models/get_alert_message_response.py,sha256=Cv3AySfdljOcAm2
48
48
  graphscope/flex/rest/models/get_alert_receiver_response.py,sha256=Y4vdnG58EuF63SliOEyGaE4PMIus05PYgWfC3o1a0mo,3486
49
49
  graphscope/flex/rest/models/get_alert_rule_response.py,sha256=l_1iAz2j_zQLZxt38fqxhyty6cT8b61GUkBChYVWNio,3791
50
50
  graphscope/flex/rest/models/get_edge_type.py,sha256=uM1trIUNzjZTjPVVdgM84HrKUatlO_gYNz-emiZjnEU,4635
51
- graphscope/flex/rest/models/get_graph_response.py,sha256=vZG4jkSkR17A6EoCuSHxbqdBeE7iI8TlODoVzonSwFY,4775
51
+ graphscope/flex/rest/models/get_graph_response.py,sha256=1JwXdSyrTV5gFzTKYpn-WNr-hT2qTISt8PIRhXvXNPA,5370
52
52
  graphscope/flex/rest/models/get_graph_schema_response.py,sha256=Czki53A1kgl6UU56K3AuVA6HuWEQEyaP-tBsSRdwZYc,3813
53
53
  graphscope/flex/rest/models/get_pod_log_response.py,sha256=ChEvC5dMJJT9En00G0b_RQIgeg11sLS2gWgnIOWQhWA,2627
54
54
  graphscope/flex/rest/models/get_property_meta.py,sha256=gIz3t4DKvCvWchSTfpzEULTDuciJQWm-dtLPzKLptC0,3770
55
55
  graphscope/flex/rest/models/get_resource_usage_response.py,sha256=qdbay1sUd37Hp7E_OKnblqCh6-hZsQVmR856Fez6Gm4,3746
56
56
  graphscope/flex/rest/models/get_storage_usage_response.py,sha256=as1gPHIVgwRI0ulEQowJgGH8T0V5SJtyR_XOeKwFfc0,2748
57
- graphscope/flex/rest/models/get_stored_proc_response.py,sha256=-tyo6FtL8u9360RC6CkCwCHRHvR1kLzwO51YVn62DY8,4530
57
+ graphscope/flex/rest/models/get_stored_proc_response.py,sha256=3F4jRAgrP81yygpdXQhdN_-W70ZHCrLjYY2PRiW3gs0,4625
58
58
  graphscope/flex/rest/models/get_vertex_type.py,sha256=DORL5o-7Iwxra4Sv2EgMK1kYWoHkUmJ-P5X29w8Kcl8,4075
59
59
  graphscope/flex/rest/models/gs_data_type.py,sha256=zJTN7jXXA2VuUJlgLoWdznVYpP1y4PDIzJUQOWZDjeY,6096
60
60
  graphscope/flex/rest/models/job_status.py,sha256=WpU_xVM1Z2hOPZWccCrlL_TOeS6fMSktpfPs-BfbdZ8,3533
@@ -70,7 +70,7 @@ graphscope/flex/rest/models/schema_mapping.py,sha256=RCWJbEI2Xulj6L9g4vxtvYugYLp
70
70
  graphscope/flex/rest/models/service_status.py,sha256=aGy0rqXxk98QjcWq2P7T17H3CIoz5SqX8D3DxccPhx8,3607
71
71
  graphscope/flex/rest/models/service_status_sdk_endpoints.py,sha256=_8Od6Ef5XUMt-5wXiHI4DquVfDJ2g6qr43ilHJ0dTXc,2962
72
72
  graphscope/flex/rest/models/start_service_request.py,sha256=KEN52dtpVV55NLFYE2iA2G8WolUz1QYi9nw8HhPZQf4,2688
73
- graphscope/flex/rest/models/stored_procedure_meta.py,sha256=WbfkVmAk2fBqPZDEvbakfgZi5eiOYMs4yS5qv1_1TX0,4335
73
+ graphscope/flex/rest/models/stored_procedure_meta.py,sha256=3z7HRvf50IVG9y8dQLecTEpAlI2gw4_96EuOtSHDrV0,4430
74
74
  graphscope/flex/rest/models/string_type.py,sha256=Ke-71FTHH3XOmMRo9UMDR8QOX2ScfRPMXZszUfgHPow,2917
75
75
  graphscope/flex/rest/models/string_type_string.py,sha256=-F1aCGpz3kvuZqgJ3FUsZiXrx-i-KMSUMaeSPkMs70k,4627
76
76
  graphscope/flex/rest/models/temporal_type.py,sha256=MTEK96uJx3PPESh1PA-k2CxWSlsJPsWykGbQ4UDGNm8,2959
@@ -80,7 +80,7 @@ graphscope/flex/rest/models/update_alert_message_status_request.py,sha256=sgQshr
80
80
  graphscope/flex/rest/models/update_stored_proc_request.py,sha256=kugg4ir3lpWhu9lV2epP-qRujHNXRwklUP-GsqDnBsk,2689
81
81
  graphscope/flex/rest/models/upload_file_response.py,sha256=-fMN6KfHporMNSSVIqbs0JvFofkDvcNIg9PXRFoGj8Y,2747
82
82
  graphscope/flex/rest/models/vertex_mapping.py,sha256=v0ILNhsCqjdSoYGNP7-2XQkF0viSx1Mszd8RTWtearA,3414
83
- graphscope_flex-0.28.1.dist-info/METADATA,sha256=jwigf2pdcd6Ef4tbpk0mkvsB6ockdLPqj_thk07rPsU,855
84
- graphscope_flex-0.28.1.dist-info/WHEEL,sha256=Z-nyYpwrcSqxfdux5Mbn_DQ525iP7J2DG3JgGvOYyTQ,110
85
- graphscope_flex-0.28.1.dist-info/top_level.txt,sha256=_6VvFKT8k3gGfOyNYDHGabL2O-Xzhfm87uy3kVRzWV0,11
86
- graphscope_flex-0.28.1.dist-info/RECORD,,
83
+ graphscope_flex-0.29.0.dist-info/METADATA,sha256=9Xpr_wSWpmq0pDwvPwE4T79GD7PBQ8o-YPF2qZfAotY,873
84
+ graphscope_flex-0.29.0.dist-info/WHEEL,sha256=kGT74LWyRUZrL4VgLh6_g12IeVl_9u9ZVhadrgXZUEY,110
85
+ graphscope_flex-0.29.0.dist-info/top_level.txt,sha256=_6VvFKT8k3gGfOyNYDHGabL2O-Xzhfm87uy3kVRzWV0,11
86
+ graphscope_flex-0.29.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.36.2)
2
+ Generator: bdist_wheel (0.34.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any
@@ -1,17 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: graphscope-flex
3
- Version: 0.28.1
4
- Summary: GraphScope FLEX HTTP SERVICE API
5
- Home-page:
6
- Author: GraphScope
7
- Author-email: graphscope@alibaba-inc.com
8
- License: Apache 2.0
9
- Keywords: OpenAPI,OpenAPI-Generator,GraphScope FLEX HTTP SERVICE API
10
- Description-Content-Type: text/markdown
11
- Requires-Dist: urllib3 (<2.1.0,>=1.25.3)
12
- Requires-Dist: python-dateutil
13
- Requires-Dist: pydantic (>=2)
14
- Requires-Dist: typing-extensions (>=4.7.1)
15
-
16
- This is a specification for GraphScope FLEX HTTP service based on the OpenAPI 3.0 specification. You can find out more details about specification at [doc](https://swagger.io/specification/v3/). Some useful links: - [GraphScope Repository](https://github.com/alibaba/GraphScope) - [The Source API definition for GraphScope Interactive](https://github.com/GraphScope/portal/tree/main/httpservice)
17
-