graphscope-flex 0.28.0a20240923__py2.py3-none-any.whl → 0.28.1__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,7 +38,6 @@ 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] = {}
42
41
  __properties: ClassVar[List[str]] = ["id", "name", "description", "store_type", "creation_time", "data_update_time", "schema_update_time", "stored_procedures", "schema"]
43
42
 
44
43
  @field_validator('store_type')
@@ -81,10 +80,8 @@ class GetGraphResponse(BaseModel):
81
80
  * `None` is only added to the output dict for nullable fields that
82
81
  were set at model initialization. Other fields with value `None`
83
82
  are ignored.
84
- * Fields in `self.additional_properties` are added to the output dict.
85
83
  """
86
84
  excluded_fields: Set[str] = set([
87
- "additional_properties",
88
85
  ])
89
86
 
90
87
  _dict = self.model_dump(
@@ -102,11 +99,6 @@ class GetGraphResponse(BaseModel):
102
99
  # override the default output from pydantic by calling `to_dict()` of var_schema
103
100
  if self.var_schema:
104
101
  _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
-
110
102
  return _dict
111
103
 
112
104
  @classmethod
@@ -129,11 +121,6 @@ class GetGraphResponse(BaseModel):
129
121
  "stored_procedures": [GetStoredProcResponse.from_dict(_item) for _item in obj["stored_procedures"]] if obj.get("stored_procedures") is not None else None,
130
122
  "schema": GetGraphSchemaResponse.from_dict(obj["schema"]) if obj.get("schema") is not None else None
131
123
  })
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
-
137
124
  return _obj
138
125
 
139
126
 
@@ -36,10 +36,9 @@ class GetStoredProcResponse(BaseModel):
36
36
  library: StrictStr
37
37
  params: List[Parameter]
38
38
  returns: List[Parameter]
39
- option: Optional[Dict[str, Any]] = None
40
39
  bound_graph: StrictStr
41
40
  runnable: StrictBool
42
- __properties: ClassVar[List[str]] = ["name", "description", "type", "query", "id", "library", "params", "returns", "option", "bound_graph", "runnable"]
41
+ __properties: ClassVar[List[str]] = ["name", "description", "type", "query", "id", "library", "params", "returns", "bound_graph", "runnable"]
43
42
 
44
43
  @field_validator('type')
45
44
  def type_validate_enum(cls, value):
@@ -121,7 +120,6 @@ class GetStoredProcResponse(BaseModel):
121
120
  "library": obj.get("library"),
122
121
  "params": [Parameter.from_dict(_item) for _item in obj["params"]] if obj.get("params") is not None else None,
123
122
  "returns": [Parameter.from_dict(_item) for _item in obj["returns"]] if obj.get("returns") is not None else None,
124
- "option": obj.get("option"),
125
123
  "bound_graph": obj.get("bound_graph"),
126
124
  "runnable": obj.get("runnable")
127
125
  })
@@ -36,8 +36,7 @@ class StoredProcedureMeta(BaseModel):
36
36
  library: StrictStr
37
37
  params: List[Parameter]
38
38
  returns: List[Parameter]
39
- option: Optional[Dict[str, Any]] = None
40
- __properties: ClassVar[List[str]] = ["name", "description", "type", "query", "id", "library", "params", "returns", "option"]
39
+ __properties: ClassVar[List[str]] = ["name", "description", "type", "query", "id", "library", "params", "returns"]
41
40
 
42
41
  @field_validator('type')
43
42
  def type_validate_enum(cls, value):
@@ -118,8 +117,7 @@ class StoredProcedureMeta(BaseModel):
118
117
  "id": obj.get("id"),
119
118
  "library": obj.get("library"),
120
119
  "params": [Parameter.from_dict(_item) for _item in obj["params"]] if obj.get("params") 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")
120
+ "returns": [Parameter.from_dict(_item) for _item in obj["returns"]] if obj.get("returns") is not None else None
123
121
  })
124
122
  return _obj
125
123
 
@@ -0,0 +1,17 @@
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
+
@@ -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=1JwXdSyrTV5gFzTKYpn-WNr-hT2qTISt8PIRhXvXNPA,5370
51
+ graphscope/flex/rest/models/get_graph_response.py,sha256=vZG4jkSkR17A6EoCuSHxbqdBeE7iI8TlODoVzonSwFY,4775
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=3F4jRAgrP81yygpdXQhdN_-W70ZHCrLjYY2PRiW3gs0,4625
57
+ graphscope/flex/rest/models/get_stored_proc_response.py,sha256=-tyo6FtL8u9360RC6CkCwCHRHvR1kLzwO51YVn62DY8,4530
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=3z7HRvf50IVG9y8dQLecTEpAlI2gw4_96EuOtSHDrV0,4430
73
+ graphscope/flex/rest/models/stored_procedure_meta.py,sha256=WbfkVmAk2fBqPZDEvbakfgZi5eiOYMs4yS5qv1_1TX0,4335
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.0a20240923.dist-info/METADATA,sha256=sPC2_jo1wSLVowe3cDlc-veDo59XAdxtLtFOWhUkPh8,882
84
- graphscope_flex-0.28.0a20240923.dist-info/WHEEL,sha256=kGT74LWyRUZrL4VgLh6_g12IeVl_9u9ZVhadrgXZUEY,110
85
- graphscope_flex-0.28.0a20240923.dist-info/top_level.txt,sha256=_6VvFKT8k3gGfOyNYDHGabL2O-Xzhfm87uy3kVRzWV0,11
86
- graphscope_flex-0.28.0a20240923.dist-info/RECORD,,
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,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.34.2)
2
+ Generator: bdist_wheel (0.36.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any
@@ -1,19 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: graphscope-flex
3
- Version: 0.28.0a20240923
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
-