frogml-core 0.0.113__py3-none-any.whl → 0.0.114__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.
Files changed (115) hide show
  1. frogml_core/__init__.py +1 -1
  2. frogml_core/inner/di_configuration/__init__.py +0 -6
  3. {frogml_core-0.0.113.dist-info → frogml_core-0.0.114.dist-info}/METADATA +1 -1
  4. {frogml_core-0.0.113.dist-info → frogml_core-0.0.114.dist-info}/RECORD +8 -115
  5. frogml_services_mock/mocks/frogml_mocks.py +0 -11
  6. frogml_services_mock/services_mock.py +0 -48
  7. frogml_storage/__init__.py +1 -1
  8. frogml_core/clients/prompt_manager/__init__.py +0 -0
  9. frogml_core/clients/prompt_manager/model_descriptor_mapper.py +0 -196
  10. frogml_core/clients/prompt_manager/prompt_manager_client.py +0 -190
  11. frogml_core/clients/prompt_manager/prompt_proto_mapper.py +0 -264
  12. frogml_core/clients/vector_store/__init__.py +0 -2
  13. frogml_core/clients/vector_store/management_client.py +0 -127
  14. frogml_core/clients/vector_store/serving_client.py +0 -157
  15. frogml_core/clients/workspace_manager/__init__.py +0 -1
  16. frogml_core/clients/workspace_manager/client.py +0 -224
  17. frogml_core/llmops/__init__.py +0 -0
  18. frogml_core/llmops/generation/__init__.py +0 -0
  19. frogml_core/llmops/generation/_steaming.py +0 -78
  20. frogml_core/llmops/generation/base.py +0 -5
  21. frogml_core/llmops/generation/chat/__init__.py +0 -0
  22. frogml_core/llmops/generation/chat/openai/LICENSE.txt +0 -201
  23. frogml_core/llmops/generation/chat/openai/types/__init__.py +0 -0
  24. frogml_core/llmops/generation/chat/openai/types/chat/__init__.py +0 -0
  25. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion.py +0 -88
  26. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_assistant_message_param.py +0 -65
  27. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_chunk.py +0 -153
  28. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_content_part_text_param.py +0 -28
  29. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_function_call_option_param.py +0 -25
  30. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_function_message_param.py +0 -33
  31. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message.py +0 -56
  32. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message_param.py +0 -34
  33. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message_tool_call.py +0 -46
  34. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message_tool_call_param.py +0 -44
  35. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_named_tool_choice_param.py +0 -32
  36. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_role.py +0 -20
  37. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_system_message_param.py +0 -35
  38. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_token_logprob.py +0 -71
  39. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_tool_choice_option_param.py +0 -28
  40. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_tool_message_param.py +0 -31
  41. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_tool_param.py +0 -29
  42. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_user_message_param.py +0 -35
  43. frogml_core/llmops/generation/chat/openai/types/chat/completion_create_params.py +0 -279
  44. frogml_core/llmops/generation/chat/openai/types/completion_choice.py +0 -47
  45. frogml_core/llmops/generation/chat/openai/types/completion_create_params.py +0 -209
  46. frogml_core/llmops/generation/chat/openai/types/completion_usage.py +0 -30
  47. frogml_core/llmops/generation/chat/openai/types/model.py +0 -35
  48. frogml_core/llmops/generation/chat/openai/types/shared/__init__.py +0 -3
  49. frogml_core/llmops/generation/chat/openai/types/shared/error_object.py +0 -27
  50. frogml_core/llmops/generation/chat/openai/types/shared/function_definition.py +0 -49
  51. frogml_core/llmops/generation/chat/openai/types/shared/function_parameters.py +0 -20
  52. frogml_core/llmops/generation/chat/openai/types/shared_params/__init__.py +0 -2
  53. frogml_core/llmops/generation/chat/openai/types/shared_params/function_definition.py +0 -49
  54. frogml_core/llmops/generation/chat/openai/types/shared_params/function_parameters.py +0 -22
  55. frogml_core/llmops/generation/streaming.py +0 -26
  56. frogml_core/llmops/model/__init__.py +0 -0
  57. frogml_core/llmops/model/descriptor.py +0 -40
  58. frogml_core/llmops/prompt/__init__.py +0 -0
  59. frogml_core/llmops/prompt/base.py +0 -136
  60. frogml_core/llmops/prompt/chat/__init__.py +0 -0
  61. frogml_core/llmops/prompt/chat/message.py +0 -24
  62. frogml_core/llmops/prompt/chat/template.py +0 -113
  63. frogml_core/llmops/prompt/chat/value.py +0 -10
  64. frogml_core/llmops/prompt/manager.py +0 -138
  65. frogml_core/llmops/prompt/template.py +0 -24
  66. frogml_core/llmops/prompt/value.py +0 -14
  67. frogml_core/llmops/provider/__init__.py +0 -0
  68. frogml_core/llmops/provider/chat.py +0 -44
  69. frogml_core/llmops/provider/openai/__init__.py +0 -0
  70. frogml_core/llmops/provider/openai/client.py +0 -126
  71. frogml_core/llmops/provider/openai/provider.py +0 -93
  72. frogml_core/vector_store/__init__.py +0 -4
  73. frogml_core/vector_store/client.py +0 -151
  74. frogml_core/vector_store/collection.py +0 -429
  75. frogml_core/vector_store/filters.py +0 -359
  76. frogml_core/vector_store/inference_client.py +0 -105
  77. frogml_core/vector_store/rest_helpers.py +0 -81
  78. frogml_core/vector_store/utils/__init__.py +0 -0
  79. frogml_core/vector_store/utils/filter_utils.py +0 -23
  80. frogml_core/vector_store/utils/upsert_utils.py +0 -218
  81. frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2.py +0 -77
  82. frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2.pyi +0 -417
  83. frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2_grpc.py +0 -441
  84. frogml_proto/qwak/prompt/v1/prompt/prompt_pb2.py +0 -69
  85. frogml_proto/qwak/prompt/v1/prompt/prompt_pb2.pyi +0 -415
  86. frogml_proto/qwak/prompt/v1/prompt/prompt_pb2_grpc.py +0 -4
  87. frogml_proto/qwak/vectors/v1/collection/collection_pb2.py +0 -46
  88. frogml_proto/qwak/vectors/v1/collection/collection_pb2.pyi +0 -287
  89. frogml_proto/qwak/vectors/v1/collection/collection_pb2_grpc.py +0 -4
  90. frogml_proto/qwak/vectors/v1/collection/collection_service_pb2.py +0 -60
  91. frogml_proto/qwak/vectors/v1/collection/collection_service_pb2.pyi +0 -258
  92. frogml_proto/qwak/vectors/v1/collection/collection_service_pb2_grpc.py +0 -304
  93. frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2.py +0 -28
  94. frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2.pyi +0 -41
  95. frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2_grpc.py +0 -4
  96. frogml_proto/qwak/vectors/v1/filters_pb2.py +0 -52
  97. frogml_proto/qwak/vectors/v1/filters_pb2.pyi +0 -297
  98. frogml_proto/qwak/vectors/v1/filters_pb2_grpc.py +0 -4
  99. frogml_proto/qwak/vectors/v1/vector_pb2.py +0 -38
  100. frogml_proto/qwak/vectors/v1/vector_pb2.pyi +0 -142
  101. frogml_proto/qwak/vectors/v1/vector_pb2_grpc.py +0 -4
  102. frogml_proto/qwak/vectors/v1/vector_service_pb2.py +0 -53
  103. frogml_proto/qwak/vectors/v1/vector_service_pb2.pyi +0 -243
  104. frogml_proto/qwak/vectors/v1/vector_service_pb2_grpc.py +0 -201
  105. frogml_proto/qwak/workspace/workspace_pb2.py +0 -50
  106. frogml_proto/qwak/workspace/workspace_pb2.pyi +0 -331
  107. frogml_proto/qwak/workspace/workspace_pb2_grpc.py +0 -4
  108. frogml_proto/qwak/workspace/workspace_service_pb2.py +0 -84
  109. frogml_proto/qwak/workspace/workspace_service_pb2.pyi +0 -393
  110. frogml_proto/qwak/workspace/workspace_service_pb2_grpc.py +0 -507
  111. frogml_services_mock/mocks/prompt_manager_service.py +0 -281
  112. frogml_services_mock/mocks/vector_serving_api.py +0 -159
  113. frogml_services_mock/mocks/vectors_management_api.py +0 -97
  114. frogml_services_mock/mocks/workspace_manager_service_mock.py +0 -202
  115. {frogml_core-0.0.113.dist-info → frogml_core-0.0.114.dist-info}/WHEEL +0 -0
@@ -1,331 +0,0 @@
1
- """
2
- @generated by mypy-protobuf. Do not edit manually!
3
- isort:skip_file
4
- """
5
- import builtins
6
- import collections.abc
7
- import google.protobuf.descriptor
8
- import google.protobuf.internal.containers
9
- import google.protobuf.internal.enum_type_wrapper
10
- import google.protobuf.message
11
- import google.protobuf.timestamp_pb2
12
- import frogml_proto.qwak.user_application.common.v0.resources_pb2
13
- import frogml_proto.qwak.user_application.v0.user_application_pb2
14
- import sys
15
- import typing
16
-
17
- if sys.version_info >= (3, 10):
18
- import typing as typing_extensions
19
- else:
20
- import typing_extensions
21
-
22
- DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
23
-
24
- class _Type:
25
- ValueType = typing.NewType("ValueType", builtins.int)
26
- V: typing_extensions.TypeAlias = ValueType
27
-
28
- class _TypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Type.ValueType], builtins.type): # noqa: F821
29
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
30
- CPU: _Type.ValueType # 0
31
- GPU: _Type.ValueType # 1
32
-
33
- class Type(_Type, metaclass=_TypeEnumTypeWrapper): ...
34
-
35
- CPU: Type.ValueType # 0
36
- GPU: Type.ValueType # 1
37
- global___Type = Type
38
-
39
- class _WorkspaceStatus:
40
- ValueType = typing.NewType("ValueType", builtins.int)
41
- V: typing_extensions.TypeAlias = ValueType
42
-
43
- class _WorkspaceStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_WorkspaceStatus.ValueType], builtins.type): # noqa: F821
44
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
45
- WORKSPACE_STATUS_UNKNOWN: _WorkspaceStatus.ValueType # 0
46
- WORKSPACE_STATUS_INITIALIZING: _WorkspaceStatus.ValueType # 1
47
- WORKSPACE_STATUS_STARTED: _WorkspaceStatus.ValueType # 2
48
- WORKSPACE_STATUS_STOPPED: _WorkspaceStatus.ValueType # 3
49
- WORKSPACE_STATUS_ERROR: _WorkspaceStatus.ValueType # 4
50
-
51
- class WorkspaceStatus(_WorkspaceStatus, metaclass=_WorkspaceStatusEnumTypeWrapper): ...
52
-
53
- WORKSPACE_STATUS_UNKNOWN: WorkspaceStatus.ValueType # 0
54
- WORKSPACE_STATUS_INITIALIZING: WorkspaceStatus.ValueType # 1
55
- WORKSPACE_STATUS_STARTED: WorkspaceStatus.ValueType # 2
56
- WORKSPACE_STATUS_STOPPED: WorkspaceStatus.ValueType # 3
57
- WORKSPACE_STATUS_ERROR: WorkspaceStatus.ValueType # 4
58
- global___WorkspaceStatus = WorkspaceStatus
59
-
60
- class _DeploymentState:
61
- ValueType = typing.NewType("ValueType", builtins.int)
62
- V: typing_extensions.TypeAlias = ValueType
63
-
64
- class _DeploymentStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_DeploymentState.ValueType], builtins.type): # noqa: F821
65
- DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
66
- DEPLOYMENT_STATE_UNKNOWN: _DeploymentState.ValueType # 0
67
- DEPLOYMENT_STATE_INITIATING_WORKSPACE: _DeploymentState.ValueType # 1
68
- DEPLOYMENT_STATE_DEPLOYING_REQUEST_WORKSPACE: _DeploymentState.ValueType # 2
69
- DEPLOYMENT_STATE_FAILED_EVENT_COMMAND_WORKSPACE: _DeploymentState.ValueType # 3
70
- DEPLOYMENT_STATE_DELETION_IN_PROGRESS: _DeploymentState.ValueType # 4
71
- DEPLOYMENT_STATE_RESUME_EVENT_COMMAND_WORKSPACE: _DeploymentState.ValueType # 5
72
- DEPLOYMENT_STATE_STOP_EVENT_COMMAND_WORKSPACE: _DeploymentState.ValueType # 6
73
- DEPLOYMENT_STATE_STOPPING_DEPLOYMENT: _DeploymentState.ValueType # 7
74
- DEPLOYMENT_STATE_STOPPED_DEPLOYMENT: _DeploymentState.ValueType # 8
75
- DEPLOYMENT_STATE_INITIALIZED: _DeploymentState.ValueType # 9
76
- DEPLOYMENT_STATE_READY: _DeploymentState.ValueType # 10
77
- DEPLOYMENT_STATE_CONTAINERS_READY: _DeploymentState.ValueType # 11
78
- DEPLOYMENT_STATE_POD_SCHEDULED: _DeploymentState.ValueType # 12
79
- DEPLOYMENT_STATE_UNSCHEDULABLE: _DeploymentState.ValueType # 13
80
- DEPLOYMENT_STATE_CONTAINERS_NOT_READY: _DeploymentState.ValueType # 14
81
- DEPLOYMENT_STATE_AVAILABLE: _DeploymentState.ValueType # 15
82
- DEPLOYMENT_STATE_PROGRESSING: _DeploymentState.ValueType # 16
83
- DEPLOYMENT_STATE_REPLICA_FAILURE: _DeploymentState.ValueType # 17
84
- DEPLOYMENT_STATE_MINIMUM_REPLICAS_AVAILABLE: _DeploymentState.ValueType # 18
85
- DEPLOYMENT_STATE_MINIMUM_REPLICAS_UNAVAILABLE: _DeploymentState.ValueType # 19
86
- DEPLOYMENT_STATE_PROGRESS_DEAD_LINE_EXCEEDED: _DeploymentState.ValueType # 20
87
- DEPLOYMENT_STATE_NEW_REPLICA_SET_AVAILABLE: _DeploymentState.ValueType # 21
88
- DEPLOYMENT_STATE_IDLE_TIME_STOPPED_DEPLOYMENT: _DeploymentState.ValueType # 22
89
-
90
- class DeploymentState(_DeploymentState, metaclass=_DeploymentStateEnumTypeWrapper): ...
91
-
92
- DEPLOYMENT_STATE_UNKNOWN: DeploymentState.ValueType # 0
93
- DEPLOYMENT_STATE_INITIATING_WORKSPACE: DeploymentState.ValueType # 1
94
- DEPLOYMENT_STATE_DEPLOYING_REQUEST_WORKSPACE: DeploymentState.ValueType # 2
95
- DEPLOYMENT_STATE_FAILED_EVENT_COMMAND_WORKSPACE: DeploymentState.ValueType # 3
96
- DEPLOYMENT_STATE_DELETION_IN_PROGRESS: DeploymentState.ValueType # 4
97
- DEPLOYMENT_STATE_RESUME_EVENT_COMMAND_WORKSPACE: DeploymentState.ValueType # 5
98
- DEPLOYMENT_STATE_STOP_EVENT_COMMAND_WORKSPACE: DeploymentState.ValueType # 6
99
- DEPLOYMENT_STATE_STOPPING_DEPLOYMENT: DeploymentState.ValueType # 7
100
- DEPLOYMENT_STATE_STOPPED_DEPLOYMENT: DeploymentState.ValueType # 8
101
- DEPLOYMENT_STATE_INITIALIZED: DeploymentState.ValueType # 9
102
- DEPLOYMENT_STATE_READY: DeploymentState.ValueType # 10
103
- DEPLOYMENT_STATE_CONTAINERS_READY: DeploymentState.ValueType # 11
104
- DEPLOYMENT_STATE_POD_SCHEDULED: DeploymentState.ValueType # 12
105
- DEPLOYMENT_STATE_UNSCHEDULABLE: DeploymentState.ValueType # 13
106
- DEPLOYMENT_STATE_CONTAINERS_NOT_READY: DeploymentState.ValueType # 14
107
- DEPLOYMENT_STATE_AVAILABLE: DeploymentState.ValueType # 15
108
- DEPLOYMENT_STATE_PROGRESSING: DeploymentState.ValueType # 16
109
- DEPLOYMENT_STATE_REPLICA_FAILURE: DeploymentState.ValueType # 17
110
- DEPLOYMENT_STATE_MINIMUM_REPLICAS_AVAILABLE: DeploymentState.ValueType # 18
111
- DEPLOYMENT_STATE_MINIMUM_REPLICAS_UNAVAILABLE: DeploymentState.ValueType # 19
112
- DEPLOYMENT_STATE_PROGRESS_DEAD_LINE_EXCEEDED: DeploymentState.ValueType # 20
113
- DEPLOYMENT_STATE_NEW_REPLICA_SET_AVAILABLE: DeploymentState.ValueType # 21
114
- DEPLOYMENT_STATE_IDLE_TIME_STOPPED_DEPLOYMENT: DeploymentState.ValueType # 22
115
- global___DeploymentState = DeploymentState
116
-
117
- class Workspace(google.protobuf.message.Message):
118
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
119
-
120
- WORKSPACE_NAME_FIELD_NUMBER: builtins.int
121
- CLIENT_POD_COMPUTE_RESOURCES_FIELD_NUMBER: builtins.int
122
- IMAGE_ID_FIELD_NUMBER: builtins.int
123
- CREATOR_USER_ID_FIELD_NUMBER: builtins.int
124
- LAST_UPDATE_USER_ID_FIELD_NUMBER: builtins.int
125
- CREATE_TIME_FIELD_NUMBER: builtins.int
126
- LAST_UPDATE_TIME_FIELD_NUMBER: builtins.int
127
- WORKSPACE_ID_FIELD_NUMBER: builtins.int
128
- TAGS_FIELD_NUMBER: builtins.int
129
- WORKSPACE_DEPLOYMENT_STATE_FIELD_NUMBER: builtins.int
130
- WORKSPACE_STATUS_FIELD_NUMBER: builtins.int
131
- ERROR_MESSAGE_FIELD_NUMBER: builtins.int
132
- IMAGE_NAME_FIELD_NUMBER: builtins.int
133
- ENVIRONMENT_ID_FIELD_NUMBER: builtins.int
134
- BUILD_IDS_FIELD_NUMBER: builtins.int
135
- workspace_name: builtins.str
136
- """Workspace name"""
137
- @property
138
- def client_pod_compute_resources(self) -> frogml_proto.qwak.user_application.common.v0.resources_pb2.ClientPodComputeResources:
139
- """Deployment workspace pod compute resources"""
140
- image_id: builtins.str
141
- """Image id"""
142
- creator_user_id: builtins.str
143
- """Creator user of the workspace"""
144
- last_update_user_id: builtins.str
145
- """Last update user id of the workspace"""
146
- @property
147
- def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
148
- @property
149
- def last_update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
150
- workspace_id: builtins.str
151
- """Workspace id"""
152
- @property
153
- def tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
154
- workspace_deployment_state: global___DeploymentState.ValueType
155
- """Workspace deployment state"""
156
- workspace_status: global___WorkspaceStatus.ValueType
157
- """Workspace Status"""
158
- error_message: builtins.str
159
- """Error message"""
160
- image_name: builtins.str
161
- environment_id: builtins.str
162
- @property
163
- def build_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
164
- def __init__(
165
- self,
166
- *,
167
- workspace_name: builtins.str = ...,
168
- client_pod_compute_resources: frogml_proto.qwak.user_application.common.v0.resources_pb2.ClientPodComputeResources | None = ...,
169
- image_id: builtins.str = ...,
170
- creator_user_id: builtins.str = ...,
171
- last_update_user_id: builtins.str = ...,
172
- create_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
173
- last_update_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
174
- workspace_id: builtins.str = ...,
175
- tags: collections.abc.Iterable[builtins.str] | None = ...,
176
- workspace_deployment_state: global___DeploymentState.ValueType = ...,
177
- workspace_status: global___WorkspaceStatus.ValueType = ...,
178
- error_message: builtins.str = ...,
179
- image_name: builtins.str = ...,
180
- environment_id: builtins.str = ...,
181
- build_ids: collections.abc.Iterable[builtins.str] | None = ...,
182
- ) -> None: ...
183
- def HasField(self, field_name: typing_extensions.Literal["client_pod_compute_resources", b"client_pod_compute_resources", "create_time", b"create_time", "last_update_time", b"last_update_time"]) -> builtins.bool: ...
184
- def ClearField(self, field_name: typing_extensions.Literal["build_ids", b"build_ids", "client_pod_compute_resources", b"client_pod_compute_resources", "create_time", b"create_time", "creator_user_id", b"creator_user_id", "environment_id", b"environment_id", "error_message", b"error_message", "image_id", b"image_id", "image_name", b"image_name", "last_update_time", b"last_update_time", "last_update_user_id", b"last_update_user_id", "tags", b"tags", "workspace_deployment_state", b"workspace_deployment_state", "workspace_id", b"workspace_id", "workspace_name", b"workspace_name", "workspace_status", b"workspace_status"]) -> None: ...
185
-
186
- global___Workspace = Workspace
187
-
188
- class WorkspaceSpec(google.protobuf.message.Message):
189
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
190
-
191
- WORKSPACE_NAME_FIELD_NUMBER: builtins.int
192
- CLIENT_POD_COMPUTE_RESOURCES_FIELD_NUMBER: builtins.int
193
- IMAGE_ID_FIELD_NUMBER: builtins.int
194
- TAGS_FIELD_NUMBER: builtins.int
195
- ENVIRONMENT_ID_FIELD_NUMBER: builtins.int
196
- BUILD_ID_FIELD_NUMBER: builtins.int
197
- workspace_name: builtins.str
198
- """Workspace name"""
199
- @property
200
- def client_pod_compute_resources(self) -> frogml_proto.qwak.user_application.common.v0.resources_pb2.ClientPodComputeResources:
201
- """Deployment workspace pod compute resources"""
202
- image_id: builtins.str
203
- """Image id"""
204
- @property
205
- def tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
206
- """Tags"""
207
- environment_id: builtins.str
208
- """Environment id"""
209
- build_id: builtins.str
210
- """Build id it was created from"""
211
- def __init__(
212
- self,
213
- *,
214
- workspace_name: builtins.str = ...,
215
- client_pod_compute_resources: frogml_proto.qwak.user_application.common.v0.resources_pb2.ClientPodComputeResources | None = ...,
216
- image_id: builtins.str = ...,
217
- tags: collections.abc.Iterable[builtins.str] | None = ...,
218
- environment_id: builtins.str = ...,
219
- build_id: builtins.str = ...,
220
- ) -> None: ...
221
- def HasField(self, field_name: typing_extensions.Literal["client_pod_compute_resources", b"client_pod_compute_resources"]) -> builtins.bool: ...
222
- def ClearField(self, field_name: typing_extensions.Literal["build_id", b"build_id", "client_pod_compute_resources", b"client_pod_compute_resources", "environment_id", b"environment_id", "image_id", b"image_id", "tags", b"tags", "workspace_name", b"workspace_name"]) -> None: ...
223
-
224
- global___WorkspaceSpec = WorkspaceSpec
225
-
226
- class WorkspaceDeploymentSnapshot(google.protobuf.message.Message):
227
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
228
-
229
- WORKSPACE_NAME_FIELD_NUMBER: builtins.int
230
- WORKSPACE_ID_FIELD_NUMBER: builtins.int
231
- DEPLOYMENT_FIELD_NUMBER: builtins.int
232
- REPLICAS_FIELD_NUMBER: builtins.int
233
- PODS_FIELD_NUMBER: builtins.int
234
- STATEFUL_SET_FIELD_NUMBER: builtins.int
235
- workspace_name: builtins.str
236
- """Workspace name"""
237
- workspace_id: builtins.str
238
- """Workspace id"""
239
- @property
240
- def deployment(self) -> frogml_proto.qwak.user_application.v0.user_application_pb2.Spec:
241
- """Deployment spec"""
242
- @property
243
- def replicas(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[qwak.user_application.v0.user_application_pb2.Spec]:
244
- """Replica spec"""
245
- @property
246
- def pods(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[qwak.user_application.v0.user_application_pb2.Spec]:
247
- """Pod spec"""
248
- @property
249
- def stateful_set(self) -> frogml_proto.qwak.user_application.v0.user_application_pb2.Spec:
250
- """StatefulSet spec"""
251
- def __init__(
252
- self,
253
- *,
254
- workspace_name: builtins.str = ...,
255
- workspace_id: builtins.str = ...,
256
- deployment: frogml_proto.qwak.user_application.v0.user_application_pb2.Spec | None = ...,
257
- replicas: collections.abc.Iterable[qwak.user_application.v0.user_application_pb2.Spec] | None = ...,
258
- pods: collections.abc.Iterable[qwak.user_application.v0.user_application_pb2.Spec] | None = ...,
259
- stateful_set: frogml_proto.qwak.user_application.v0.user_application_pb2.Spec | None = ...,
260
- ) -> None: ...
261
- def HasField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "stateful_set", b"stateful_set"]) -> builtins.bool: ...
262
- def ClearField(self, field_name: typing_extensions.Literal["deployment", b"deployment", "pods", b"pods", "replicas", b"replicas", "stateful_set", b"stateful_set", "workspace_id", b"workspace_id", "workspace_name", b"workspace_name"]) -> None: ...
263
-
264
- global___WorkspaceDeploymentSnapshot = WorkspaceDeploymentSnapshot
265
-
266
- class UpdateWorkspaceStatusFromEdgeDetails(google.protobuf.message.Message):
267
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
268
-
269
- ACCOUNT_ID_FIELD_NUMBER: builtins.int
270
- ENVIRONMENT_ID_FIELD_NUMBER: builtins.int
271
- WORKSPACE_DEPLOYMENT_SNAPSHOT_FIELD_NUMBER: builtins.int
272
- account_id: builtins.str
273
- environment_id: builtins.str
274
- @property
275
- def workspace_deployment_snapshot(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___WorkspaceDeploymentSnapshot]: ...
276
- def __init__(
277
- self,
278
- *,
279
- account_id: builtins.str = ...,
280
- environment_id: builtins.str = ...,
281
- workspace_deployment_snapshot: collections.abc.Iterable[global___WorkspaceDeploymentSnapshot] | None = ...,
282
- ) -> None: ...
283
- def ClearField(self, field_name: typing_extensions.Literal["account_id", b"account_id", "environment_id", b"environment_id", "workspace_deployment_snapshot", b"workspace_deployment_snapshot"]) -> None: ...
284
-
285
- global___UpdateWorkspaceStatusFromEdgeDetails = UpdateWorkspaceStatusFromEdgeDetails
286
-
287
- class WorkspaceImage(google.protobuf.message.Message):
288
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
289
-
290
- ID_FIELD_NUMBER: builtins.int
291
- NAME_FIELD_NUMBER: builtins.int
292
- TYPE_FIELD_NUMBER: builtins.int
293
- id: builtins.str
294
- name: builtins.str
295
- type: global___Type.ValueType
296
- def __init__(
297
- self,
298
- *,
299
- id: builtins.str = ...,
300
- name: builtins.str = ...,
301
- type: global___Type.ValueType = ...,
302
- ) -> None: ...
303
- def ClearField(self, field_name: typing_extensions.Literal["id", b"id", "name", b"name", "type", b"type"]) -> None: ...
304
-
305
- global___WorkspaceImage = WorkspaceImage
306
-
307
- class DefaultWorkspaceDetails(google.protobuf.message.Message):
308
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
309
-
310
- CPU_COMPUTE_RESOURCES_FIELD_NUMBER: builtins.int
311
- GPU_COMPUTE_RESOURCES_FIELD_NUMBER: builtins.int
312
- CPU_IMAGE_ID_FIELD_NUMBER: builtins.int
313
- GPU_IMAGE_ID_FIELD_NUMBER: builtins.int
314
- @property
315
- def cpu_compute_resources(self) -> frogml_proto.qwak.user_application.common.v0.resources_pb2.ClientPodComputeResources: ...
316
- @property
317
- def gpu_compute_resources(self) -> frogml_proto.qwak.user_application.common.v0.resources_pb2.ClientPodComputeResources: ...
318
- cpu_image_id: builtins.str
319
- gpu_image_id: builtins.str
320
- def __init__(
321
- self,
322
- *,
323
- cpu_compute_resources: frogml_proto.qwak.user_application.common.v0.resources_pb2.ClientPodComputeResources | None = ...,
324
- gpu_compute_resources: frogml_proto.qwak.user_application.common.v0.resources_pb2.ClientPodComputeResources | None = ...,
325
- cpu_image_id: builtins.str = ...,
326
- gpu_image_id: builtins.str = ...,
327
- ) -> None: ...
328
- def HasField(self, field_name: typing_extensions.Literal["cpu_compute_resources", b"cpu_compute_resources", "gpu_compute_resources", b"gpu_compute_resources"]) -> builtins.bool: ...
329
- def ClearField(self, field_name: typing_extensions.Literal["cpu_compute_resources", b"cpu_compute_resources", "cpu_image_id", b"cpu_image_id", "gpu_compute_resources", b"gpu_compute_resources", "gpu_image_id", b"gpu_image_id"]) -> None: ...
330
-
331
- global___DefaultWorkspaceDetails = DefaultWorkspaceDetails
@@ -1,4 +0,0 @@
1
- # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
- """Client and server classes corresponding to protobuf-defined services."""
3
- import grpc
4
-
@@ -1,84 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: frogml_proto.qwak.workspace/workspace_service.proto
4
- """Generated protocol buffer code."""
5
- from google.protobuf import descriptor as _descriptor
6
- from google.protobuf import descriptor_pool as _descriptor_pool
7
- from google.protobuf import symbol_database as _symbol_database
8
- from google.protobuf.internal import builder as _builder
9
- # @@protoc_insertion_point(imports)
10
-
11
- _sym_db = _symbol_database.Default()
12
-
13
-
14
- from frogml_proto.qwak.workspace import workspace_pb2 as qwak_dot_workspace_dot_workspace__pb2
15
-
16
-
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&qwak/workspace/workspace_service.proto\x12\x19qwak.workspace.management\x1a\x1eqwak/workspace/workspace.proto\"Z\n\x16\x43reateWorkspaceRequest\x12@\n\x0eworkspace_spec\x18\x01 \x01(\x0b\x32(.qwak.workspace.management.WorkspaceSpec\"/\n\x17\x43reateWorkspaceResponse\x12\x14\n\x0cworkspace_id\x18\x01 \x01(\t\"p\n\x16UpdateWorkspaceRequest\x12\x14\n\x0cworkspace_id\x18\x01 \x01(\t\x12@\n\x0eworkspace_spec\x18\x02 \x01(\x0b\x32(.qwak.workspace.management.WorkspaceSpec\".\n\x16\x44\x65ployWorkspaceRequest\x12\x14\n\x0cworkspace_id\x18\x01 \x01(\t\"\x19\n\x17\x44\x65ployWorkspaceResponse\"0\n\x18UndeployWorkspaceRequest\x12\x14\n\x0cworkspace_id\x18\x01 \x01(\t\"\x1b\n\x19UndeployWorkspaceResponse\"\x19\n\x17UpdateWorkspaceResponse\"\x17\n\x15ListWorkspacesRequest\"R\n\x16ListWorkspacesResponse\x12\x38\n\nworkspaces\x18\x01 \x03(\x0b\x32$.qwak.workspace.management.Workspace\"/\n\x17GetWorkspaceByIdRequest\x12\x14\n\x0cworkspace_id\x18\x01 \x01(\t\"S\n\x18GetWorkspaceByIdResponse\x12\x37\n\tworkspace\x18\x01 \x01(\x0b\x32$.qwak.workspace.management.Workspace\".\n\x16\x44\x65leteWorkspaceRequest\x12\x14\n\x0cworkspace_id\x18\x01 \x01(\t\"\x19\n\x17\x44\x65leteWorkspaceResponse\"\x9a\x01\n$UpdateWorkspaceStatusFromEdgeRequest\x12r\n)update_workspace_status_from_edge_details\x18\x01 \x01(\x0b\x32?.qwak.workspace.management.UpdateWorkspaceStatusFromEdgeDetails\"\'\n%UpdateWorkspaceStatusFromEdgeResponse\"A\n\x1bRegisterWorkspaceTagRequest\x12\x14\n\x0cworkspace_id\x18\x01 \x01(\t\x12\x0c\n\x04tags\x18\x02 \x03(\t\"\x1e\n\x1cRegisterWorkspaceTagResponse\"\x1c\n\x1aListWorkspaceImagesRequest\"b\n\x1bListWorkspaceImagesResponse\x12\x43\n\x10workspace_images\x18\x01 \x03(\x0b\x32).qwak.workspace.management.WorkspaceImage\"\x18\n\x16\x43ountWorkspacesRequest\"(\n\x17\x43ountWorkspacesResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\"\"\n GetDefaultWorkspaceValuesRequest\"z\n!GetDefaultWorkspaceValuesResponse\x12U\n\x19\x64\x65\x66\x61ult_workspace_details\x18\x01 \x01(\x0b\x32\x32.qwak.workspace.management.DefaultWorkspaceDetails\"B\n\x18MarkBuildAsCopiedRequest\x12\x14\n\x0cworkspace_id\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\"\x1b\n\x19MarkBuildAsCopiedResponse\":\n\x10\x43opyBuildRequest\x12\x14\n\x0cworkspace_id\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\"\x13\n\x11\x43opyBuildResponse2\xaa\x0e\n\x1aWorkspaceManagementService\x12x\n\x0f\x43reateWorkspace\x12\x31.qwak.workspace.management.CreateWorkspaceRequest\x1a\x32.qwak.workspace.management.CreateWorkspaceResponse\x12x\n\x0fUpdateWorkspace\x12\x31.qwak.workspace.management.UpdateWorkspaceRequest\x1a\x32.qwak.workspace.management.UpdateWorkspaceResponse\x12x\n\x0f\x44\x65ployWorkspace\x12\x31.qwak.workspace.management.DeployWorkspaceRequest\x1a\x32.qwak.workspace.management.DeployWorkspaceResponse\x12~\n\x11UndeployWorkspace\x12\x33.qwak.workspace.management.UndeployWorkspaceRequest\x1a\x34.qwak.workspace.management.UndeployWorkspaceResponse\x12u\n\x0eListWorkspaces\x12\x30.qwak.workspace.management.ListWorkspacesRequest\x1a\x31.qwak.workspace.management.ListWorkspacesResponse\x12{\n\x10GetWorkspaceById\x12\x32.qwak.workspace.management.GetWorkspaceByIdRequest\x1a\x33.qwak.workspace.management.GetWorkspaceByIdResponse\x12x\n\x0f\x44\x65leteWorkspace\x12\x31.qwak.workspace.management.DeleteWorkspaceRequest\x1a\x32.qwak.workspace.management.DeleteWorkspaceResponse\x12\xa2\x01\n\x1dUpdateWorkspaceStatusFromEdge\x12?.qwak.workspace.management.UpdateWorkspaceStatusFromEdgeRequest\x1a@.qwak.workspace.management.UpdateWorkspaceStatusFromEdgeResponse\x12\x84\x01\n\x13ListWorkspaceImages\x12\x35.qwak.workspace.management.ListWorkspaceImagesRequest\x1a\x36.qwak.workspace.management.ListWorkspaceImagesResponse\x12\x88\x01\n\x15RegisterWorkspaceTags\x12\x36.qwak.workspace.management.RegisterWorkspaceTagRequest\x1a\x37.qwak.workspace.management.RegisterWorkspaceTagResponse\x12x\n\x0f\x43ountWorkspaces\x12\x31.qwak.workspace.management.CountWorkspacesRequest\x1a\x32.qwak.workspace.management.CountWorkspacesResponse\x12\x96\x01\n\x19GetDefaultWorkspaceValues\x12;.qwak.workspace.management.GetDefaultWorkspaceValuesRequest\x1a<.qwak.workspace.management.GetDefaultWorkspaceValuesResponse\x12~\n\x11MarkBuildAsCopied\x12\x33.qwak.workspace.management.MarkBuildAsCopiedRequest\x1a\x34.qwak.workspace.management.MarkBuildAsCopiedResponse\x12\x66\n\tCopyBuild\x12+.qwak.workspace.management.CopyBuildRequest\x1a,.qwak.workspace.management.CopyBuildResponseBB\n$com.qwak.ai.management.workspace.apiP\x01Z\x18qwak/workspace;workspaceb\x06proto3')
18
-
19
- _globals = globals()
20
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'qwak.workspace.workspace_service_pb2', _globals)
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
-
24
- DESCRIPTOR._options = None
25
- DESCRIPTOR._serialized_options = b'\n$com.qwak.ai.management.workspace.apiP\001Z\030qwak/workspace;workspace'
26
- _globals['_CREATEWORKSPACEREQUEST']._serialized_start=101
27
- _globals['_CREATEWORKSPACEREQUEST']._serialized_end=191
28
- _globals['_CREATEWORKSPACERESPONSE']._serialized_start=193
29
- _globals['_CREATEWORKSPACERESPONSE']._serialized_end=240
30
- _globals['_UPDATEWORKSPACEREQUEST']._serialized_start=242
31
- _globals['_UPDATEWORKSPACEREQUEST']._serialized_end=354
32
- _globals['_DEPLOYWORKSPACEREQUEST']._serialized_start=356
33
- _globals['_DEPLOYWORKSPACEREQUEST']._serialized_end=402
34
- _globals['_DEPLOYWORKSPACERESPONSE']._serialized_start=404
35
- _globals['_DEPLOYWORKSPACERESPONSE']._serialized_end=429
36
- _globals['_UNDEPLOYWORKSPACEREQUEST']._serialized_start=431
37
- _globals['_UNDEPLOYWORKSPACEREQUEST']._serialized_end=479
38
- _globals['_UNDEPLOYWORKSPACERESPONSE']._serialized_start=481
39
- _globals['_UNDEPLOYWORKSPACERESPONSE']._serialized_end=508
40
- _globals['_UPDATEWORKSPACERESPONSE']._serialized_start=510
41
- _globals['_UPDATEWORKSPACERESPONSE']._serialized_end=535
42
- _globals['_LISTWORKSPACESREQUEST']._serialized_start=537
43
- _globals['_LISTWORKSPACESREQUEST']._serialized_end=560
44
- _globals['_LISTWORKSPACESRESPONSE']._serialized_start=562
45
- _globals['_LISTWORKSPACESRESPONSE']._serialized_end=644
46
- _globals['_GETWORKSPACEBYIDREQUEST']._serialized_start=646
47
- _globals['_GETWORKSPACEBYIDREQUEST']._serialized_end=693
48
- _globals['_GETWORKSPACEBYIDRESPONSE']._serialized_start=695
49
- _globals['_GETWORKSPACEBYIDRESPONSE']._serialized_end=778
50
- _globals['_DELETEWORKSPACEREQUEST']._serialized_start=780
51
- _globals['_DELETEWORKSPACEREQUEST']._serialized_end=826
52
- _globals['_DELETEWORKSPACERESPONSE']._serialized_start=828
53
- _globals['_DELETEWORKSPACERESPONSE']._serialized_end=853
54
- _globals['_UPDATEWORKSPACESTATUSFROMEDGEREQUEST']._serialized_start=856
55
- _globals['_UPDATEWORKSPACESTATUSFROMEDGEREQUEST']._serialized_end=1010
56
- _globals['_UPDATEWORKSPACESTATUSFROMEDGERESPONSE']._serialized_start=1012
57
- _globals['_UPDATEWORKSPACESTATUSFROMEDGERESPONSE']._serialized_end=1051
58
- _globals['_REGISTERWORKSPACETAGREQUEST']._serialized_start=1053
59
- _globals['_REGISTERWORKSPACETAGREQUEST']._serialized_end=1118
60
- _globals['_REGISTERWORKSPACETAGRESPONSE']._serialized_start=1120
61
- _globals['_REGISTERWORKSPACETAGRESPONSE']._serialized_end=1150
62
- _globals['_LISTWORKSPACEIMAGESREQUEST']._serialized_start=1152
63
- _globals['_LISTWORKSPACEIMAGESREQUEST']._serialized_end=1180
64
- _globals['_LISTWORKSPACEIMAGESRESPONSE']._serialized_start=1182
65
- _globals['_LISTWORKSPACEIMAGESRESPONSE']._serialized_end=1280
66
- _globals['_COUNTWORKSPACESREQUEST']._serialized_start=1282
67
- _globals['_COUNTWORKSPACESREQUEST']._serialized_end=1306
68
- _globals['_COUNTWORKSPACESRESPONSE']._serialized_start=1308
69
- _globals['_COUNTWORKSPACESRESPONSE']._serialized_end=1348
70
- _globals['_GETDEFAULTWORKSPACEVALUESREQUEST']._serialized_start=1350
71
- _globals['_GETDEFAULTWORKSPACEVALUESREQUEST']._serialized_end=1384
72
- _globals['_GETDEFAULTWORKSPACEVALUESRESPONSE']._serialized_start=1386
73
- _globals['_GETDEFAULTWORKSPACEVALUESRESPONSE']._serialized_end=1508
74
- _globals['_MARKBUILDASCOPIEDREQUEST']._serialized_start=1510
75
- _globals['_MARKBUILDASCOPIEDREQUEST']._serialized_end=1576
76
- _globals['_MARKBUILDASCOPIEDRESPONSE']._serialized_start=1578
77
- _globals['_MARKBUILDASCOPIEDRESPONSE']._serialized_end=1605
78
- _globals['_COPYBUILDREQUEST']._serialized_start=1607
79
- _globals['_COPYBUILDREQUEST']._serialized_end=1665
80
- _globals['_COPYBUILDRESPONSE']._serialized_start=1667
81
- _globals['_COPYBUILDRESPONSE']._serialized_end=1686
82
- _globals['_WORKSPACEMANAGEMENTSERVICE']._serialized_start=1689
83
- _globals['_WORKSPACEMANAGEMENTSERVICE']._serialized_end=3523
84
- # @@protoc_insertion_point(module_scope)