graphscope-flex 0.27.0__py2.py3-none-any.whl → 0.29.0a20250114__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. graphscope/flex/rest/__init__.py +59 -44
  2. graphscope/flex/rest/api/__init__.py +2 -4
  3. graphscope/flex/rest/api/alert_api.py +721 -394
  4. graphscope/flex/rest/api/{legacy_api.py → data_source_api.py} +260 -189
  5. graphscope/flex/rest/api/deployment_api.py +388 -138
  6. graphscope/flex/rest/api/graph_api.py +858 -260
  7. graphscope/flex/rest/api/job_api.py +286 -203
  8. graphscope/flex/rest/api/service_api.py +320 -39
  9. graphscope/flex/rest/api/{procedure_api.py → stored_procedure_api.py} +296 -237
  10. graphscope/flex/rest/api/utils_api.py +18 -13
  11. graphscope/flex/rest/api_client.py +60 -30
  12. graphscope/flex/rest/configuration.py +19 -5
  13. graphscope/flex/rest/exceptions.py +2 -2
  14. graphscope/flex/rest/models/__init__.py +57 -40
  15. graphscope/flex/rest/models/{vertex_type.py → base_edge_type.py} +25 -25
  16. graphscope/flex/rest/models/{edge_type_vertex_type_pair_relations_inner.py → base_edge_type_vertex_type_pair_relations_inner.py} +17 -17
  17. graphscope/flex/rest/models/{edge_type_vertex_type_pair_relations_inner_x_csr_params.py → base_edge_type_vertex_type_pair_relations_inner_x_csr_params.py} +11 -11
  18. graphscope/flex/rest/models/{model_property.py → base_property_meta.py} +28 -19
  19. graphscope/flex/rest/models/base_vertex_type.py +96 -0
  20. graphscope/flex/rest/models/{procedure_params_inner.py → base_vertex_type_x_csr_params.py} +15 -17
  21. graphscope/flex/rest/models/column_mapping.py +13 -13
  22. graphscope/flex/rest/models/{edge_mapping_source_vertex_mappings_inner_column.py → column_mapping_column.py} +12 -12
  23. graphscope/flex/rest/models/{schema_mapping_loading_config_data_source.py → create_alert_receiver_request.py} +29 -24
  24. graphscope/flex/rest/models/{alert_rule.py → create_alert_rule_request.py} +19 -25
  25. graphscope/flex/rest/models/create_dataloading_job_response.py +88 -0
  26. graphscope/flex/rest/models/create_edge_type.py +114 -0
  27. graphscope/flex/rest/models/{graph.py → create_graph_request.py} +27 -33
  28. graphscope/flex/rest/models/create_graph_response.py +88 -0
  29. graphscope/flex/rest/models/{model_schema.py → create_graph_schema_request.py} +25 -25
  30. graphscope/flex/rest/models/{groot_vertex_type.py → create_property_meta.py} +32 -25
  31. graphscope/flex/rest/models/{graph_stored_procedures.py → create_stored_proc_request.py} +26 -23
  32. graphscope/flex/rest/models/create_stored_proc_response.py +88 -0
  33. graphscope/flex/rest/models/create_vertex_type.py +108 -0
  34. graphscope/flex/rest/models/{groot_dataloading_job_config.py → dataloading_job_config.py} +45 -21
  35. graphscope/flex/rest/models/{groot_dataloading_job_config_edges_inner.py → dataloading_job_config_edges_inner.py} +12 -12
  36. graphscope/flex/rest/models/{schema_mapping_loading_config.py → dataloading_job_config_loading_config.py} +16 -22
  37. graphscope/flex/rest/models/{schema_mapping_loading_config_format.py → dataloading_job_config_loading_config_format.py} +12 -12
  38. graphscope/flex/rest/models/{groot_edge_type_relations_inner.py → dataloading_job_config_vertices_inner.py} +15 -17
  39. graphscope/flex/rest/models/dataloading_mr_job_config.py +88 -0
  40. graphscope/flex/rest/models/date_type.py +88 -0
  41. graphscope/flex/rest/models/edge_mapping.py +23 -25
  42. graphscope/flex/rest/models/edge_mapping_type_triplet.py +12 -12
  43. graphscope/flex/rest/models/error.py +90 -0
  44. graphscope/flex/rest/models/{alert_message.py → get_alert_message_response.py} +23 -32
  45. graphscope/flex/rest/models/{alert_receiver.py → get_alert_receiver_response.py} +22 -25
  46. graphscope/flex/rest/models/{connection_status.py → get_alert_rule_response.py} +37 -33
  47. graphscope/flex/rest/models/{edge_type.py → get_edge_type.py} +33 -27
  48. graphscope/flex/rest/models/get_graph_response.py +139 -0
  49. graphscope/flex/rest/models/{groot_schema.py → get_graph_schema_response.py} +32 -32
  50. graphscope/flex/rest/models/get_pod_log_response.py +88 -0
  51. graphscope/flex/rest/models/{edge_mapping_destination_vertex_mappings_inner.py → get_property_meta.py} +34 -19
  52. graphscope/flex/rest/models/get_resource_usage_response.py +105 -0
  53. graphscope/flex/rest/models/get_storage_usage_response.py +88 -0
  54. graphscope/flex/rest/models/{procedure.py → get_stored_proc_response.py} +37 -36
  55. graphscope/flex/rest/models/{groot_edge_type.py → get_vertex_type.py} +33 -31
  56. graphscope/flex/rest/models/gs_data_type.py +152 -0
  57. graphscope/flex/rest/models/job_status.py +14 -17
  58. graphscope/flex/rest/models/{connection.py → long_text.py} +20 -15
  59. graphscope/flex/rest/models/node_status.py +15 -15
  60. graphscope/flex/rest/models/parameter.py +96 -0
  61. graphscope/flex/rest/models/{deployment_info_graphs_info_value.py → pod_status.py} +34 -20
  62. graphscope/flex/rest/models/{property_property_type.py → primitive_type.py} +16 -19
  63. graphscope/flex/rest/models/resource_usage.py +92 -0
  64. graphscope/flex/rest/models/{deployment_info.py → running_deployment_info.py} +42 -45
  65. graphscope/flex/rest/models/running_deployment_status.py +124 -0
  66. graphscope/flex/rest/models/schema_mapping.py +18 -26
  67. graphscope/flex/rest/models/service_status.py +29 -13
  68. graphscope/flex/rest/models/service_status_sdk_endpoints.py +8 -8
  69. graphscope/flex/rest/models/start_service_request.py +11 -11
  70. graphscope/flex/rest/models/{groot_graph.py → stored_procedure_meta.py} +46 -36
  71. graphscope/flex/rest/models/string_type.py +92 -0
  72. graphscope/flex/rest/models/string_type_string.py +124 -0
  73. graphscope/flex/rest/models/temporal_type.py +92 -0
  74. graphscope/flex/rest/models/temporal_type_temporal.py +138 -0
  75. graphscope/flex/rest/models/time_stamp_type.py +88 -0
  76. graphscope/flex/rest/models/update_alert_message_status_request.py +97 -0
  77. graphscope/flex/rest/models/update_stored_proc_request.py +88 -0
  78. graphscope/flex/rest/models/upload_file_response.py +90 -0
  79. graphscope/flex/rest/models/vertex_mapping.py +13 -13
  80. graphscope/flex/rest/rest.py +4 -2
  81. graphscope_flex-0.29.0a20250114.dist-info/METADATA +19 -0
  82. graphscope_flex-0.29.0a20250114.dist-info/RECORD +86 -0
  83. {graphscope_flex-0.27.0.dist-info → graphscope_flex-0.29.0a20250114.dist-info}/WHEEL +1 -1
  84. graphscope/flex/rest/api/connection_api.py +0 -550
  85. graphscope/flex/rest/api/datasource_api.py +0 -2308
  86. graphscope/flex/rest/models/data_source.py +0 -106
  87. graphscope/flex/rest/models/deployment_status.py +0 -108
  88. graphscope/flex/rest/models/edge_data_source.py +0 -112
  89. graphscope/flex/rest/models/edge_mapping_source_vertex_mappings_inner.py +0 -92
  90. graphscope/flex/rest/models/groot_graph_gremlin_interface.py +0 -94
  91. graphscope/flex/rest/models/groot_property.py +0 -104
  92. graphscope/flex/rest/models/update_alert_messages_request.py +0 -110
  93. graphscope/flex/rest/models/vertex_data_source.py +0 -104
  94. graphscope_flex-0.27.0.dist-info/METADATA +0 -17
  95. graphscope_flex-0.27.0.dist-info/RECORD +0 -71
  96. {graphscope_flex-0.27.0.dist-info → graphscope_flex-0.29.0a20250114.dist-info}/top_level.txt +0 -0
@@ -5,9 +5,9 @@
5
5
  """
6
6
  GraphScope FLEX HTTP SERVICE API
7
7
 
8
- 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)
8
+ 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/).
9
9
 
10
- The version of the OpenAPI document: 0.9.1
10
+ The version of the OpenAPI document: 1.0.0
11
11
  Contact: graphscope@alibaba-inc.com
12
12
  Generated by OpenAPI Generator (https://openapi-generator.tech)
13
13
 
@@ -19,14 +19,12 @@ __version__ = "1.0.0"
19
19
 
20
20
  # import apis into sdk package
21
21
  from graphscope.flex.rest.api.alert_api import AlertApi
22
- from graphscope.flex.rest.api.connection_api import ConnectionApi
23
- from graphscope.flex.rest.api.datasource_api import DatasourceApi
22
+ from graphscope.flex.rest.api.data_source_api import DataSourceApi
24
23
  from graphscope.flex.rest.api.deployment_api import DeploymentApi
25
24
  from graphscope.flex.rest.api.graph_api import GraphApi
26
25
  from graphscope.flex.rest.api.job_api import JobApi
27
- from graphscope.flex.rest.api.legacy_api import LegacyApi
28
- from graphscope.flex.rest.api.procedure_api import ProcedureApi
29
26
  from graphscope.flex.rest.api.service_api import ServiceApi
27
+ from graphscope.flex.rest.api.stored_procedure_api import StoredProcedureApi
30
28
  from graphscope.flex.rest.api.utils_api import UtilsApi
31
29
 
32
30
  # import ApiClient
@@ -41,51 +39,68 @@ from graphscope.flex.rest.exceptions import ApiAttributeError
41
39
  from graphscope.flex.rest.exceptions import ApiException
42
40
 
43
41
  # import models into sdk package
44
- from graphscope.flex.rest.models.alert_message import AlertMessage
45
- from graphscope.flex.rest.models.alert_receiver import AlertReceiver
46
- from graphscope.flex.rest.models.alert_rule import AlertRule
42
+ from graphscope.flex.rest.models.base_edge_type import BaseEdgeType
43
+ from graphscope.flex.rest.models.base_edge_type_vertex_type_pair_relations_inner import BaseEdgeTypeVertexTypePairRelationsInner
44
+ from graphscope.flex.rest.models.base_edge_type_vertex_type_pair_relations_inner_x_csr_params import BaseEdgeTypeVertexTypePairRelationsInnerXCsrParams
45
+ from graphscope.flex.rest.models.base_property_meta import BasePropertyMeta
46
+ from graphscope.flex.rest.models.base_vertex_type import BaseVertexType
47
+ from graphscope.flex.rest.models.base_vertex_type_x_csr_params import BaseVertexTypeXCsrParams
47
48
  from graphscope.flex.rest.models.column_mapping import ColumnMapping
48
- from graphscope.flex.rest.models.connection import Connection
49
- from graphscope.flex.rest.models.connection_status import ConnectionStatus
50
- from graphscope.flex.rest.models.data_source import DataSource
51
- from graphscope.flex.rest.models.deployment_info import DeploymentInfo
52
- from graphscope.flex.rest.models.deployment_info_graphs_info_value import DeploymentInfoGraphsInfoValue
53
- from graphscope.flex.rest.models.deployment_status import DeploymentStatus
54
- from graphscope.flex.rest.models.edge_data_source import EdgeDataSource
49
+ from graphscope.flex.rest.models.column_mapping_column import ColumnMappingColumn
50
+ from graphscope.flex.rest.models.create_alert_receiver_request import CreateAlertReceiverRequest
51
+ from graphscope.flex.rest.models.create_alert_rule_request import CreateAlertRuleRequest
52
+ from graphscope.flex.rest.models.create_dataloading_job_response import CreateDataloadingJobResponse
53
+ from graphscope.flex.rest.models.create_edge_type import CreateEdgeType
54
+ from graphscope.flex.rest.models.create_graph_request import CreateGraphRequest
55
+ from graphscope.flex.rest.models.create_graph_response import CreateGraphResponse
56
+ from graphscope.flex.rest.models.create_graph_schema_request import CreateGraphSchemaRequest
57
+ from graphscope.flex.rest.models.create_property_meta import CreatePropertyMeta
58
+ from graphscope.flex.rest.models.create_stored_proc_request import CreateStoredProcRequest
59
+ from graphscope.flex.rest.models.create_stored_proc_response import CreateStoredProcResponse
60
+ from graphscope.flex.rest.models.create_vertex_type import CreateVertexType
61
+ from graphscope.flex.rest.models.dataloading_job_config import DataloadingJobConfig
62
+ from graphscope.flex.rest.models.dataloading_job_config_edges_inner import DataloadingJobConfigEdgesInner
63
+ from graphscope.flex.rest.models.dataloading_job_config_loading_config import DataloadingJobConfigLoadingConfig
64
+ from graphscope.flex.rest.models.dataloading_job_config_loading_config_format import DataloadingJobConfigLoadingConfigFormat
65
+ from graphscope.flex.rest.models.dataloading_job_config_vertices_inner import DataloadingJobConfigVerticesInner
66
+ from graphscope.flex.rest.models.dataloading_mr_job_config import DataloadingMRJobConfig
67
+ from graphscope.flex.rest.models.date_type import DateType
55
68
  from graphscope.flex.rest.models.edge_mapping import EdgeMapping
56
- from graphscope.flex.rest.models.edge_mapping_destination_vertex_mappings_inner import EdgeMappingDestinationVertexMappingsInner
57
- from graphscope.flex.rest.models.edge_mapping_source_vertex_mappings_inner import EdgeMappingSourceVertexMappingsInner
58
- from graphscope.flex.rest.models.edge_mapping_source_vertex_mappings_inner_column import EdgeMappingSourceVertexMappingsInnerColumn
59
69
  from graphscope.flex.rest.models.edge_mapping_type_triplet import EdgeMappingTypeTriplet
60
- from graphscope.flex.rest.models.edge_type import EdgeType
61
- from graphscope.flex.rest.models.edge_type_vertex_type_pair_relations_inner import EdgeTypeVertexTypePairRelationsInner
62
- from graphscope.flex.rest.models.edge_type_vertex_type_pair_relations_inner_x_csr_params import EdgeTypeVertexTypePairRelationsInnerXCsrParams
63
- from graphscope.flex.rest.models.graph import Graph
64
- from graphscope.flex.rest.models.graph_stored_procedures import GraphStoredProcedures
65
- from graphscope.flex.rest.models.groot_dataloading_job_config import GrootDataloadingJobConfig
66
- from graphscope.flex.rest.models.groot_dataloading_job_config_edges_inner import GrootDataloadingJobConfigEdgesInner
67
- from graphscope.flex.rest.models.groot_edge_type import GrootEdgeType
68
- from graphscope.flex.rest.models.groot_edge_type_relations_inner import GrootEdgeTypeRelationsInner
69
- from graphscope.flex.rest.models.groot_graph import GrootGraph
70
- from graphscope.flex.rest.models.groot_graph_gremlin_interface import GrootGraphGremlinInterface
71
- from graphscope.flex.rest.models.groot_property import GrootProperty
72
- from graphscope.flex.rest.models.groot_schema import GrootSchema
73
- from graphscope.flex.rest.models.groot_vertex_type import GrootVertexType
70
+ from graphscope.flex.rest.models.error import Error
71
+ from graphscope.flex.rest.models.gs_data_type import GSDataType
72
+ from graphscope.flex.rest.models.get_alert_message_response import GetAlertMessageResponse
73
+ from graphscope.flex.rest.models.get_alert_receiver_response import GetAlertReceiverResponse
74
+ from graphscope.flex.rest.models.get_alert_rule_response import GetAlertRuleResponse
75
+ from graphscope.flex.rest.models.get_edge_type import GetEdgeType
76
+ from graphscope.flex.rest.models.get_graph_response import GetGraphResponse
77
+ from graphscope.flex.rest.models.get_graph_schema_response import GetGraphSchemaResponse
78
+ from graphscope.flex.rest.models.get_pod_log_response import GetPodLogResponse
79
+ from graphscope.flex.rest.models.get_property_meta import GetPropertyMeta
80
+ from graphscope.flex.rest.models.get_resource_usage_response import GetResourceUsageResponse
81
+ from graphscope.flex.rest.models.get_storage_usage_response import GetStorageUsageResponse
82
+ from graphscope.flex.rest.models.get_stored_proc_response import GetStoredProcResponse
83
+ from graphscope.flex.rest.models.get_vertex_type import GetVertexType
74
84
  from graphscope.flex.rest.models.job_status import JobStatus
75
- from graphscope.flex.rest.models.model_property import ModelProperty
76
- from graphscope.flex.rest.models.model_schema import ModelSchema
85
+ from graphscope.flex.rest.models.long_text import LongText
77
86
  from graphscope.flex.rest.models.node_status import NodeStatus
78
- from graphscope.flex.rest.models.procedure import Procedure
79
- from graphscope.flex.rest.models.procedure_params_inner import ProcedureParamsInner
80
- from graphscope.flex.rest.models.property_property_type import PropertyPropertyType
87
+ from graphscope.flex.rest.models.parameter import Parameter
88
+ from graphscope.flex.rest.models.pod_status import PodStatus
89
+ from graphscope.flex.rest.models.primitive_type import PrimitiveType
90
+ from graphscope.flex.rest.models.resource_usage import ResourceUsage
91
+ from graphscope.flex.rest.models.running_deployment_info import RunningDeploymentInfo
92
+ from graphscope.flex.rest.models.running_deployment_status import RunningDeploymentStatus
81
93
  from graphscope.flex.rest.models.schema_mapping import SchemaMapping
82
- from graphscope.flex.rest.models.schema_mapping_loading_config import SchemaMappingLoadingConfig
83
- from graphscope.flex.rest.models.schema_mapping_loading_config_data_source import SchemaMappingLoadingConfigDataSource
84
- from graphscope.flex.rest.models.schema_mapping_loading_config_format import SchemaMappingLoadingConfigFormat
85
94
  from graphscope.flex.rest.models.service_status import ServiceStatus
86
95
  from graphscope.flex.rest.models.service_status_sdk_endpoints import ServiceStatusSdkEndpoints
87
96
  from graphscope.flex.rest.models.start_service_request import StartServiceRequest
88
- from graphscope.flex.rest.models.update_alert_messages_request import UpdateAlertMessagesRequest
89
- from graphscope.flex.rest.models.vertex_data_source import VertexDataSource
97
+ from graphscope.flex.rest.models.stored_procedure_meta import StoredProcedureMeta
98
+ from graphscope.flex.rest.models.string_type import StringType
99
+ from graphscope.flex.rest.models.string_type_string import StringTypeString
100
+ from graphscope.flex.rest.models.temporal_type import TemporalType
101
+ from graphscope.flex.rest.models.temporal_type_temporal import TemporalTypeTemporal
102
+ from graphscope.flex.rest.models.time_stamp_type import TimeStampType
103
+ from graphscope.flex.rest.models.update_alert_message_status_request import UpdateAlertMessageStatusRequest
104
+ from graphscope.flex.rest.models.update_stored_proc_request import UpdateStoredProcRequest
105
+ from graphscope.flex.rest.models.upload_file_response import UploadFileResponse
90
106
  from graphscope.flex.rest.models.vertex_mapping import VertexMapping
91
- from graphscope.flex.rest.models.vertex_type import VertexType
@@ -2,13 +2,11 @@
2
2
 
3
3
  # import apis into api package
4
4
  from graphscope.flex.rest.api.alert_api import AlertApi
5
- from graphscope.flex.rest.api.connection_api import ConnectionApi
6
- from graphscope.flex.rest.api.datasource_api import DatasourceApi
5
+ from graphscope.flex.rest.api.data_source_api import DataSourceApi
7
6
  from graphscope.flex.rest.api.deployment_api import DeploymentApi
8
7
  from graphscope.flex.rest.api.graph_api import GraphApi
9
8
  from graphscope.flex.rest.api.job_api import JobApi
10
- from graphscope.flex.rest.api.legacy_api import LegacyApi
11
- from graphscope.flex.rest.api.procedure_api import ProcedureApi
12
9
  from graphscope.flex.rest.api.service_api import ServiceApi
10
+ from graphscope.flex.rest.api.stored_procedure_api import StoredProcedureApi
13
11
  from graphscope.flex.rest.api.utils_api import UtilsApi
14
12