qwak-core 0.4.270__py3-none-any.whl → 0.4.271__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.
- _qwak_proto/qwak/model_group/model_group_pb2.py +50 -0
- _qwak_proto/qwak/model_group/model_group_pb2.pyi +68 -0
- _qwak_proto/qwak/model_group/model_group_pb2_grpc.py +66 -0
- qwak/__init__.py +1 -1
- {qwak_core-0.4.270.dist-info → qwak_core-0.4.271.dist-info}/METADATA +1 -1
- {qwak_core-0.4.270.dist-info → qwak_core-0.4.271.dist-info}/RECORD +7 -4
- {qwak_core-0.4.270.dist-info → qwak_core-0.4.271.dist-info}/WHEEL +0 -0
@@ -0,0 +1,50 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: qwak/model_group/model_group.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 message as _message
|
8
|
+
from google.protobuf import reflection as _reflection
|
9
|
+
from google.protobuf import symbol_database as _symbol_database
|
10
|
+
# @@protoc_insertion_point(imports)
|
11
|
+
|
12
|
+
_sym_db = _symbol_database.Default()
|
13
|
+
|
14
|
+
|
15
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
16
|
+
from _qwak_proto.qwak.model_group import model_group_repository_details_pb2 as qwak_dot_model__group_dot_model__group__repository__details__pb2
|
17
|
+
|
18
|
+
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"qwak/model_group/model_group.proto\x12\x1cqwak.model_groups.management\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x35qwak/model_group/model_group_repository_details.proto\"Y\n\"CreateIfNotExistsModelGroupRequest\x12\x18\n\x10model_group_name\x18\x01 \x01(\t\x12\x19\n\x11jfrog_project_key\x18\x02 \x01(\t\"\xdf\x01\n\x1bModelGroupBriefInfoResponse\x12\x16\n\x0emodel_group_id\x18\x01 \x01(\t\x12\x1f\n\x17model_group_description\x18\x02 \x01(\t\x12:\n\x16model_group_created_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\x12repository_details\x18\x04 \x03(\x0b\x32/.qwak.model_groups.management.RepositoryDetails2\xba\x01\n\x1bModelGroupManagementService\x12\x9a\x01\n\x1b\x43reateIfNotExistsModelGroup\x12@.qwak.model_groups.management.CreateIfNotExistsModelGroupRequest\x1a\x39.qwak.model_groups.management.ModelGroupBriefInfoResponseBL\n&com.qwak.ai.management.model.group.apiB ModelGroupManagementServiceProtoP\x01\x62\x06proto3')
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
_CREATEIFNOTEXISTSMODELGROUPREQUEST = DESCRIPTOR.message_types_by_name['CreateIfNotExistsModelGroupRequest']
|
24
|
+
_MODELGROUPBRIEFINFORESPONSE = DESCRIPTOR.message_types_by_name['ModelGroupBriefInfoResponse']
|
25
|
+
CreateIfNotExistsModelGroupRequest = _reflection.GeneratedProtocolMessageType('CreateIfNotExistsModelGroupRequest', (_message.Message,), {
|
26
|
+
'DESCRIPTOR' : _CREATEIFNOTEXISTSMODELGROUPREQUEST,
|
27
|
+
'__module__' : 'qwak.model_group.model_group_pb2'
|
28
|
+
# @@protoc_insertion_point(class_scope:qwak.model_groups.management.CreateIfNotExistsModelGroupRequest)
|
29
|
+
})
|
30
|
+
_sym_db.RegisterMessage(CreateIfNotExistsModelGroupRequest)
|
31
|
+
|
32
|
+
ModelGroupBriefInfoResponse = _reflection.GeneratedProtocolMessageType('ModelGroupBriefInfoResponse', (_message.Message,), {
|
33
|
+
'DESCRIPTOR' : _MODELGROUPBRIEFINFORESPONSE,
|
34
|
+
'__module__' : 'qwak.model_group.model_group_pb2'
|
35
|
+
# @@protoc_insertion_point(class_scope:qwak.model_groups.management.ModelGroupBriefInfoResponse)
|
36
|
+
})
|
37
|
+
_sym_db.RegisterMessage(ModelGroupBriefInfoResponse)
|
38
|
+
|
39
|
+
_MODELGROUPMANAGEMENTSERVICE = DESCRIPTOR.services_by_name['ModelGroupManagementService']
|
40
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
41
|
+
|
42
|
+
DESCRIPTOR._options = None
|
43
|
+
DESCRIPTOR._serialized_options = b'\n&com.qwak.ai.management.model.group.apiB ModelGroupManagementServiceProtoP\001'
|
44
|
+
_CREATEIFNOTEXISTSMODELGROUPREQUEST._serialized_start=156
|
45
|
+
_CREATEIFNOTEXISTSMODELGROUPREQUEST._serialized_end=245
|
46
|
+
_MODELGROUPBRIEFINFORESPONSE._serialized_start=248
|
47
|
+
_MODELGROUPBRIEFINFORESPONSE._serialized_end=471
|
48
|
+
_MODELGROUPMANAGEMENTSERVICE._serialized_start=474
|
49
|
+
_MODELGROUPMANAGEMENTSERVICE._serialized_end=660
|
50
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,68 @@
|
|
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.message
|
10
|
+
import google.protobuf.timestamp_pb2
|
11
|
+
import qwak.model_group.model_group_repository_details_pb2
|
12
|
+
import sys
|
13
|
+
|
14
|
+
if sys.version_info >= (3, 8):
|
15
|
+
import typing as typing_extensions
|
16
|
+
else:
|
17
|
+
import typing_extensions
|
18
|
+
|
19
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
20
|
+
|
21
|
+
class CreateIfNotExistsModelGroupRequest(google.protobuf.message.Message):
|
22
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
23
|
+
|
24
|
+
MODEL_GROUP_NAME_FIELD_NUMBER: builtins.int
|
25
|
+
JFROG_PROJECT_KEY_FIELD_NUMBER: builtins.int
|
26
|
+
model_group_name: builtins.str
|
27
|
+
"""Model group name"""
|
28
|
+
jfrog_project_key: builtins.str
|
29
|
+
"""Artifactory project key used for repository organization"""
|
30
|
+
def __init__(
|
31
|
+
self,
|
32
|
+
*,
|
33
|
+
model_group_name: builtins.str = ...,
|
34
|
+
jfrog_project_key: builtins.str = ...,
|
35
|
+
) -> None: ...
|
36
|
+
def ClearField(self, field_name: typing_extensions.Literal["jfrog_project_key", b"jfrog_project_key", "model_group_name", b"model_group_name"]) -> None: ...
|
37
|
+
|
38
|
+
global___CreateIfNotExistsModelGroupRequest = CreateIfNotExistsModelGroupRequest
|
39
|
+
|
40
|
+
class ModelGroupBriefInfoResponse(google.protobuf.message.Message):
|
41
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
42
|
+
|
43
|
+
MODEL_GROUP_ID_FIELD_NUMBER: builtins.int
|
44
|
+
MODEL_GROUP_DESCRIPTION_FIELD_NUMBER: builtins.int
|
45
|
+
MODEL_GROUP_CREATED_AT_FIELD_NUMBER: builtins.int
|
46
|
+
REPOSITORY_DETAILS_FIELD_NUMBER: builtins.int
|
47
|
+
model_group_id: builtins.str
|
48
|
+
"""Unique identifier for the model group"""
|
49
|
+
model_group_description: builtins.str
|
50
|
+
"""Description of the model group"""
|
51
|
+
@property
|
52
|
+
def model_group_created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
53
|
+
"""The model group creation timestamp"""
|
54
|
+
@property
|
55
|
+
def repository_details(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[qwak.model_group.model_group_repository_details_pb2.RepositoryDetails]:
|
56
|
+
"""List of repository details associated with this model group"""
|
57
|
+
def __init__(
|
58
|
+
self,
|
59
|
+
*,
|
60
|
+
model_group_id: builtins.str = ...,
|
61
|
+
model_group_description: builtins.str = ...,
|
62
|
+
model_group_created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
63
|
+
repository_details: collections.abc.Iterable[qwak.model_group.model_group_repository_details_pb2.RepositoryDetails] | None = ...,
|
64
|
+
) -> None: ...
|
65
|
+
def HasField(self, field_name: typing_extensions.Literal["model_group_created_at", b"model_group_created_at"]) -> builtins.bool: ...
|
66
|
+
def ClearField(self, field_name: typing_extensions.Literal["model_group_created_at", b"model_group_created_at", "model_group_description", b"model_group_description", "model_group_id", b"model_group_id", "repository_details", b"repository_details"]) -> None: ...
|
67
|
+
|
68
|
+
global___ModelGroupBriefInfoResponse = ModelGroupBriefInfoResponse
|
@@ -0,0 +1,66 @@
|
|
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
|
+
|
5
|
+
from _qwak_proto.qwak.model_group import model_group_pb2 as qwak_dot_model__group_dot_model__group__pb2
|
6
|
+
|
7
|
+
|
8
|
+
class ModelGroupManagementServiceStub(object):
|
9
|
+
"""Missing associated documentation comment in .proto file."""
|
10
|
+
|
11
|
+
def __init__(self, channel):
|
12
|
+
"""Constructor.
|
13
|
+
|
14
|
+
Args:
|
15
|
+
channel: A grpc.Channel.
|
16
|
+
"""
|
17
|
+
self.CreateIfNotExistsModelGroup = channel.unary_unary(
|
18
|
+
'/qwak.model_groups.management.ModelGroupManagementService/CreateIfNotExistsModelGroup',
|
19
|
+
request_serializer=qwak_dot_model__group_dot_model__group__pb2.CreateIfNotExistsModelGroupRequest.SerializeToString,
|
20
|
+
response_deserializer=qwak_dot_model__group_dot_model__group__pb2.ModelGroupBriefInfoResponse.FromString,
|
21
|
+
)
|
22
|
+
|
23
|
+
|
24
|
+
class ModelGroupManagementServiceServicer(object):
|
25
|
+
"""Missing associated documentation comment in .proto file."""
|
26
|
+
|
27
|
+
def CreateIfNotExistsModelGroup(self, request, context):
|
28
|
+
"""Missing associated documentation comment in .proto file."""
|
29
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
30
|
+
context.set_details('Method not implemented!')
|
31
|
+
raise NotImplementedError('Method not implemented!')
|
32
|
+
|
33
|
+
|
34
|
+
def add_ModelGroupManagementServiceServicer_to_server(servicer, server):
|
35
|
+
rpc_method_handlers = {
|
36
|
+
'CreateIfNotExistsModelGroup': grpc.unary_unary_rpc_method_handler(
|
37
|
+
servicer.CreateIfNotExistsModelGroup,
|
38
|
+
request_deserializer=qwak_dot_model__group_dot_model__group__pb2.CreateIfNotExistsModelGroupRequest.FromString,
|
39
|
+
response_serializer=qwak_dot_model__group_dot_model__group__pb2.ModelGroupBriefInfoResponse.SerializeToString,
|
40
|
+
),
|
41
|
+
}
|
42
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
43
|
+
'qwak.model_groups.management.ModelGroupManagementService', rpc_method_handlers)
|
44
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
45
|
+
|
46
|
+
|
47
|
+
# This class is part of an EXPERIMENTAL API.
|
48
|
+
class ModelGroupManagementService(object):
|
49
|
+
"""Missing associated documentation comment in .proto file."""
|
50
|
+
|
51
|
+
@staticmethod
|
52
|
+
def CreateIfNotExistsModelGroup(request,
|
53
|
+
target,
|
54
|
+
options=(),
|
55
|
+
channel_credentials=None,
|
56
|
+
call_credentials=None,
|
57
|
+
insecure=False,
|
58
|
+
compression=None,
|
59
|
+
wait_for_ready=None,
|
60
|
+
timeout=None,
|
61
|
+
metadata=None):
|
62
|
+
return grpc.experimental.unary_unary(request, target, '/qwak.model_groups.management.ModelGroupManagementService/CreateIfNotExistsModelGroup',
|
63
|
+
qwak_dot_model__group_dot_model__group__pb2.CreateIfNotExistsModelGroupRequest.SerializeToString,
|
64
|
+
qwak_dot_model__group_dot_model__group__pb2.ModelGroupBriefInfoResponse.FromString,
|
65
|
+
options, channel_credentials,
|
66
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
qwak/__init__.py
CHANGED
@@ -489,6 +489,9 @@ _qwak_proto/qwak/logging/log_source_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHD
|
|
489
489
|
_qwak_proto/qwak/model_descriptor/open_ai_descriptor_pb2.py,sha256=HCM2-Ah66CkK5Io1jCouxgDHT5HmSgAYcHKvsfTZw48,6751
|
490
490
|
_qwak_proto/qwak/model_descriptor/open_ai_descriptor_pb2.pyi,sha256=G5CaQGczrZ9kGsMbmJXMFWAwnqMZ4jPSl9KQpSq0yMo,12345
|
491
491
|
_qwak_proto/qwak/model_descriptor/open_ai_descriptor_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
492
|
+
_qwak_proto/qwak/model_group/model_group_pb2.py,sha256=fP198ECc5Ca3WccDvRlcaNavZgWeXKrzKyFKZXL52So,3427
|
493
|
+
_qwak_proto/qwak/model_group/model_group_pb2.pyi,sha256=6xP_BE9OccBWV784jfKS5BcBabUcDL22XtrtWq2_hlU,3038
|
494
|
+
_qwak_proto/qwak/model_group/model_group_pb2_grpc.py,sha256=UyRBABlYr-W3uUKUnStENcfnc0mXOtShh8_mjpzpro0,3073
|
492
495
|
_qwak_proto/qwak/models/models_pb2.py,sha256=GfzTIawDHmJS0wUwHkgB_6tQiwObZFz7FQw1mwjkUtg,30090
|
493
496
|
_qwak_proto/qwak/models/models_pb2.pyi,sha256=ALci3H03JCyHhZM3QYr43xwshfLZvAnujwhL-Tr8XQQ,35787
|
494
497
|
_qwak_proto/qwak/models/models_pb2_grpc.py,sha256=Iv1z-S7Ju2artlN-LOT6_plKq2aCjB2F7KqPW9LMSRw,19830
|
@@ -594,7 +597,7 @@ _qwak_proto/qwak/workspace/workspace_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXH
|
|
594
597
|
_qwak_proto/qwak/workspace/workspace_service_pb2.py,sha256=AB3C9S_AbOD7Nx1Ni4j1rW6PNtYTV1zjiqFQk-goQ74,21429
|
595
598
|
_qwak_proto/qwak/workspace/workspace_service_pb2.pyi,sha256=nKKCHwnovZhsy8TSVmdz-Vtl0nviOOoX56HD-41Xo08,13726
|
596
599
|
_qwak_proto/qwak/workspace/workspace_service_pb2_grpc.py,sha256=yKGuexxTBza99Ihe0DSTniV2ZSd_AG47inHenqfi890,27193
|
597
|
-
qwak/__init__.py,sha256=
|
600
|
+
qwak/__init__.py,sha256=wxAAnibibQd9a_ou8R3oQLaW971nla69UEwpsWsoEc4,587
|
598
601
|
qwak/automations/__init__.py,sha256=qFZRvCxUUn8gcxkJR0v19ulHW2oJ0x6-Rif7HiheDP4,1522
|
599
602
|
qwak/automations/automation_executions.py,sha256=5MeH_epYYWb8NKXgAozwT_jPyyUDednBHG7izloi7RY,3228
|
600
603
|
qwak/automations/automations.py,sha256=3yx8e2v0uSKDnXbqyknasyEoQ5vxGni6K40Hbi1_zkk,12599
|
@@ -1068,6 +1071,6 @@ qwak_services_mock/mocks/workspace_manager_service_mock.py,sha256=O9ZSwln4T4kHVk
|
|
1068
1071
|
qwak_services_mock/services_mock.py,sha256=zXtHcX8a_acz7ynxuCBxxVpHpde7aAGjIn6Uw52LY1s,19593
|
1069
1072
|
qwak_services_mock/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1070
1073
|
qwak_services_mock/utils/service_utils.py,sha256=ZlB0CnB1J6oBn6_m7fQO2U8tKoboHdUa6ljjkRMYNXU,265
|
1071
|
-
qwak_core-0.4.
|
1072
|
-
qwak_core-0.4.
|
1073
|
-
qwak_core-0.4.
|
1074
|
+
qwak_core-0.4.271.dist-info/METADATA,sha256=C7H0qvdne7wdmwwtEoZaKXRHDJozbsvnTNkxBnfKGk0,2549
|
1075
|
+
qwak_core-0.4.271.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
1076
|
+
qwak_core-0.4.271.dist-info/RECORD,,
|
File without changes
|