gsctl 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 (117) hide show
  1. graphscope/flex/rest/__init__.py +106 -0
  2. graphscope/flex/rest/api/__init__.py +12 -0
  3. graphscope/flex/rest/api/alert_api.py +2790 -0
  4. graphscope/flex/rest/api/data_source_api.py +1177 -0
  5. graphscope/flex/rest/api/deployment_api.py +1323 -0
  6. graphscope/flex/rest/api/graph_api.py +2813 -0
  7. graphscope/flex/rest/api/job_api.py +1408 -0
  8. graphscope/flex/rest/api/service_api.py +1316 -0
  9. graphscope/flex/rest/api/stored_procedure_api.py +1454 -0
  10. graphscope/flex/rest/api/utils_api.py +310 -0
  11. graphscope/flex/rest/api_client.py +789 -0
  12. graphscope/flex/rest/api_response.py +21 -0
  13. graphscope/flex/rest/configuration.py +451 -0
  14. graphscope/flex/rest/exceptions.py +200 -0
  15. graphscope/flex/rest/models/__init__.py +82 -0
  16. graphscope/flex/rest/models/base_edge_type.py +102 -0
  17. graphscope/flex/rest/models/base_edge_type_vertex_type_pair_relations_inner.py +108 -0
  18. graphscope/flex/rest/models/base_edge_type_vertex_type_pair_relations_inner_x_csr_params.py +98 -0
  19. graphscope/flex/rest/models/base_property_meta.py +105 -0
  20. graphscope/flex/rest/models/base_vertex_type.py +96 -0
  21. graphscope/flex/rest/models/base_vertex_type_x_csr_params.py +88 -0
  22. graphscope/flex/rest/models/column_mapping.py +94 -0
  23. graphscope/flex/rest/models/column_mapping_column.py +90 -0
  24. graphscope/flex/rest/models/create_alert_receiver_request.py +103 -0
  25. graphscope/flex/rest/models/create_alert_rule_request.py +112 -0
  26. graphscope/flex/rest/models/create_dataloading_job_response.py +88 -0
  27. graphscope/flex/rest/models/create_edge_type.py +114 -0
  28. graphscope/flex/rest/models/create_graph_request.py +106 -0
  29. graphscope/flex/rest/models/create_graph_response.py +88 -0
  30. graphscope/flex/rest/models/create_graph_schema_request.py +106 -0
  31. graphscope/flex/rest/models/create_property_meta.py +105 -0
  32. graphscope/flex/rest/models/create_stored_proc_request.py +101 -0
  33. graphscope/flex/rest/models/create_stored_proc_response.py +88 -0
  34. graphscope/flex/rest/models/create_vertex_type.py +108 -0
  35. graphscope/flex/rest/models/dataloading_job_config.py +136 -0
  36. graphscope/flex/rest/models/dataloading_job_config_edges_inner.py +92 -0
  37. graphscope/flex/rest/models/dataloading_job_config_loading_config.py +104 -0
  38. graphscope/flex/rest/models/dataloading_job_config_loading_config_format.py +90 -0
  39. graphscope/flex/rest/models/dataloading_job_config_vertices_inner.py +88 -0
  40. graphscope/flex/rest/models/dataloading_mr_job_config.py +88 -0
  41. graphscope/flex/rest/models/date_type.py +88 -0
  42. graphscope/flex/rest/models/edge_mapping.py +122 -0
  43. graphscope/flex/rest/models/edge_mapping_type_triplet.py +92 -0
  44. graphscope/flex/rest/models/error.py +90 -0
  45. graphscope/flex/rest/models/get_alert_message_response.py +123 -0
  46. graphscope/flex/rest/models/get_alert_receiver_response.py +107 -0
  47. graphscope/flex/rest/models/get_alert_rule_response.py +114 -0
  48. graphscope/flex/rest/models/get_edge_type.py +116 -0
  49. graphscope/flex/rest/models/get_graph_response.py +139 -0
  50. graphscope/flex/rest/models/get_graph_schema_response.py +106 -0
  51. graphscope/flex/rest/models/get_pod_log_response.py +88 -0
  52. graphscope/flex/rest/models/get_property_meta.py +107 -0
  53. graphscope/flex/rest/models/get_resource_usage_response.py +105 -0
  54. graphscope/flex/rest/models/get_storage_usage_response.py +88 -0
  55. graphscope/flex/rest/models/get_stored_proc_response.py +130 -0
  56. graphscope/flex/rest/models/get_vertex_type.py +110 -0
  57. graphscope/flex/rest/models/gs_data_type.py +152 -0
  58. graphscope/flex/rest/models/job_status.py +107 -0
  59. graphscope/flex/rest/models/long_text.py +93 -0
  60. graphscope/flex/rest/models/node_status.py +94 -0
  61. graphscope/flex/rest/models/parameter.py +96 -0
  62. graphscope/flex/rest/models/pod_status.py +108 -0
  63. graphscope/flex/rest/models/primitive_type.py +95 -0
  64. graphscope/flex/rest/models/resource_usage.py +92 -0
  65. graphscope/flex/rest/models/running_deployment_info.py +128 -0
  66. graphscope/flex/rest/models/running_deployment_status.py +124 -0
  67. graphscope/flex/rest/models/schema_mapping.py +106 -0
  68. graphscope/flex/rest/models/service_status.py +112 -0
  69. graphscope/flex/rest/models/service_status_sdk_endpoints.py +94 -0
  70. graphscope/flex/rest/models/start_service_request.py +88 -0
  71. graphscope/flex/rest/models/stored_procedure_meta.py +126 -0
  72. graphscope/flex/rest/models/string_type.py +92 -0
  73. graphscope/flex/rest/models/string_type_string.py +124 -0
  74. graphscope/flex/rest/models/temporal_type.py +92 -0
  75. graphscope/flex/rest/models/temporal_type_temporal.py +138 -0
  76. graphscope/flex/rest/models/time_stamp_type.py +88 -0
  77. graphscope/flex/rest/models/update_alert_message_status_request.py +97 -0
  78. graphscope/flex/rest/models/update_stored_proc_request.py +88 -0
  79. graphscope/flex/rest/models/upload_file_response.py +90 -0
  80. graphscope/flex/rest/models/vertex_mapping.py +100 -0
  81. graphscope/flex/rest/py.typed +0 -0
  82. graphscope/flex/rest/rest.py +258 -0
  83. graphscope/gsctl/V6D_VERSION +1 -0
  84. graphscope/gsctl/VERSION +1 -0
  85. graphscope/gsctl/__init__.py +22 -0
  86. graphscope/gsctl/commands/__init__.py +148 -0
  87. graphscope/gsctl/commands/common.py +200 -0
  88. graphscope/gsctl/commands/dev.py +448 -0
  89. graphscope/gsctl/commands/insight/__init__.py +17 -0
  90. graphscope/gsctl/commands/insight/glob.py +234 -0
  91. graphscope/gsctl/commands/insight/graph.py +205 -0
  92. graphscope/gsctl/commands/interactive/__init__.py +17 -0
  93. graphscope/gsctl/commands/interactive/glob.py +280 -0
  94. graphscope/gsctl/commands/interactive/graph.py +259 -0
  95. graphscope/gsctl/config.py +221 -0
  96. graphscope/gsctl/gsctl.py +51 -0
  97. graphscope/gsctl/impl/__init__.py +64 -0
  98. graphscope/gsctl/impl/alert.py +135 -0
  99. graphscope/gsctl/impl/common.py +53 -0
  100. graphscope/gsctl/impl/datasource.py +80 -0
  101. graphscope/gsctl/impl/deployment.py +62 -0
  102. graphscope/gsctl/impl/graph.py +150 -0
  103. graphscope/gsctl/impl/job.py +63 -0
  104. graphscope/gsctl/impl/service.py +62 -0
  105. graphscope/gsctl/impl/stored_procedure.py +92 -0
  106. graphscope/gsctl/impl/utils.py +38 -0
  107. graphscope/gsctl/scripts/install_deps.sh +969 -0
  108. graphscope/gsctl/tests/__init__.py +17 -0
  109. graphscope/gsctl/tests/test_graphscope_insight.py +401 -0
  110. graphscope/gsctl/tests/test_interactive.py +516 -0
  111. graphscope/gsctl/utils.py +337 -0
  112. graphscope/gsctl/version.py +31 -0
  113. gsctl-0.29.0a20250114.dist-info/METADATA +20 -0
  114. gsctl-0.29.0a20250114.dist-info/RECORD +117 -0
  115. gsctl-0.29.0a20250114.dist-info/WHEEL +6 -0
  116. gsctl-0.29.0a20250114.dist-info/entry_points.txt +3 -0
  117. gsctl-0.29.0a20250114.dist-info/top_level.txt +1 -0
@@ -0,0 +1,106 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+
5
+ """
6
+ GraphScope FLEX HTTP SERVICE API
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/).
9
+
10
+ The version of the OpenAPI document: 1.0.0
11
+ Contact: graphscope@alibaba-inc.com
12
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
13
+
14
+ Do not edit the class manually.
15
+ """ # noqa: E501
16
+
17
+
18
+ __version__ = "1.0.0"
19
+
20
+ # import apis into sdk package
21
+ from graphscope.flex.rest.api.alert_api import AlertApi
22
+ from graphscope.flex.rest.api.data_source_api import DataSourceApi
23
+ from graphscope.flex.rest.api.deployment_api import DeploymentApi
24
+ from graphscope.flex.rest.api.graph_api import GraphApi
25
+ from graphscope.flex.rest.api.job_api import JobApi
26
+ from graphscope.flex.rest.api.service_api import ServiceApi
27
+ from graphscope.flex.rest.api.stored_procedure_api import StoredProcedureApi
28
+ from graphscope.flex.rest.api.utils_api import UtilsApi
29
+
30
+ # import ApiClient
31
+ from graphscope.flex.rest.api_response import ApiResponse
32
+ from graphscope.flex.rest.api_client import ApiClient
33
+ from graphscope.flex.rest.configuration import Configuration
34
+ from graphscope.flex.rest.exceptions import OpenApiException
35
+ from graphscope.flex.rest.exceptions import ApiTypeError
36
+ from graphscope.flex.rest.exceptions import ApiValueError
37
+ from graphscope.flex.rest.exceptions import ApiKeyError
38
+ from graphscope.flex.rest.exceptions import ApiAttributeError
39
+ from graphscope.flex.rest.exceptions import ApiException
40
+
41
+ # import models into sdk package
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
48
+ from graphscope.flex.rest.models.column_mapping import ColumnMapping
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
68
+ from graphscope.flex.rest.models.edge_mapping import EdgeMapping
69
+ from graphscope.flex.rest.models.edge_mapping_type_triplet import EdgeMappingTypeTriplet
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
84
+ from graphscope.flex.rest.models.job_status import JobStatus
85
+ from graphscope.flex.rest.models.long_text import LongText
86
+ from graphscope.flex.rest.models.node_status import NodeStatus
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
93
+ from graphscope.flex.rest.models.schema_mapping import SchemaMapping
94
+ from graphscope.flex.rest.models.service_status import ServiceStatus
95
+ from graphscope.flex.rest.models.service_status_sdk_endpoints import ServiceStatusSdkEndpoints
96
+ from graphscope.flex.rest.models.start_service_request import StartServiceRequest
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
106
+ from graphscope.flex.rest.models.vertex_mapping import VertexMapping
@@ -0,0 +1,12 @@
1
+ # flake8: noqa
2
+
3
+ # import apis into api package
4
+ from graphscope.flex.rest.api.alert_api import AlertApi
5
+ from graphscope.flex.rest.api.data_source_api import DataSourceApi
6
+ from graphscope.flex.rest.api.deployment_api import DeploymentApi
7
+ from graphscope.flex.rest.api.graph_api import GraphApi
8
+ from graphscope.flex.rest.api.job_api import JobApi
9
+ from graphscope.flex.rest.api.service_api import ServiceApi
10
+ from graphscope.flex.rest.api.stored_procedure_api import StoredProcedureApi
11
+ from graphscope.flex.rest.api.utils_api import UtilsApi
12
+