frogml-core 0.0.43__py3-none-any.whl → 0.0.45__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.
- frogml_core/__init__.py +1 -1
- {frogml_core-0.0.43.dist-info → frogml_core-0.0.45.dist-info}/METADATA +1 -1
- {frogml_core-0.0.43.dist-info → frogml_core-0.0.45.dist-info}/RECORD +13 -7
- frogml_proto/jfml/hosting_gateway/v1/build_upload_url_pb2.py +44 -0
- frogml_proto/jfml/hosting_gateway/v1/build_upload_url_pb2.pyi +70 -0
- frogml_proto/jfml/hosting_gateway/v1/build_upload_url_pb2_grpc.py +4 -0
- frogml_proto/jfml/hosting_gateway/v1/hosting_gateway_service_pb2.py +49 -0
- frogml_proto/jfml/hosting_gateway/v1/hosting_gateway_service_pb2.pyi +48 -0
- frogml_proto/jfml/hosting_gateway/v1/hosting_gateway_service_pb2_grpc.py +67 -0
- frogml_proto/qwak/administration/account/v1/account_pb2.py +10 -10
- frogml_proto/qwak/administration/account/v1/account_pb2.pyi +10 -1
- frogml_proto/qwak/administration/account/v1/account_service_pb2.pyi +1 -0
- {frogml_core-0.0.43.dist-info → frogml_core-0.0.45.dist-info}/WHEEL +0 -0
frogml_core/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
frogml_core/__init__.py,sha256=
|
1
|
+
frogml_core/__init__.py,sha256=NFTbp4SukxhgBfk9pKdbPLR0vWut6moFqQ40rzYTQjY,777
|
2
2
|
frogml_core/automations/__init__.py,sha256=j2gD15MN-xVWhI5rAFsDwhL0CIyICLNT0scXsKvNBkU,1547
|
3
3
|
frogml_core/automations/automation_executions.py,sha256=xpOb9Dq8gPPGNQDJTvBBZbNz4woZDRZY0HqnLSu7pwU,3230
|
4
4
|
frogml_core/automations/automations.py,sha256=GKEQyQMi8sxX5oZn62PaxPi0zD8IaJRjBkhczRJxHNs,13070
|
@@ -431,6 +431,12 @@ frogml_core/vector_store/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
431
431
|
frogml_core/vector_store/utils/filter_utils.py,sha256=n80IlmS7lGelCNEpZ8o3rAHzrZpHc-3EykEd8tZoeAE,854
|
432
432
|
frogml_core/vector_store/utils/upsert_utils.py,sha256=vqnyAJOl46WqpZMUiOa4I8Zf2CDIXQxR7wM4Z8rgooc,7517
|
433
433
|
frogml_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
434
|
+
frogml_proto/jfml/hosting_gateway/v1/build_upload_url_pb2.py,sha256=dbxw7rgdWh38JDI7F1X6PFei4xvjAgsqKWihemdFyCs,2449
|
435
|
+
frogml_proto/jfml/hosting_gateway/v1/build_upload_url_pb2.pyi,sha256=HFrUIrEJFdKls7PhmadzZ-daVPV1i062w-71wPMMPa4,3116
|
436
|
+
frogml_proto/jfml/hosting_gateway/v1/build_upload_url_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
437
|
+
frogml_proto/jfml/hosting_gateway/v1/hosting_gateway_service_pb2.py,sha256=yOxiJNcuXeCaeTBLm5KlIpvp18S0RglzdJRFcHpTawc,3075
|
438
|
+
frogml_proto/jfml/hosting_gateway/v1/hosting_gateway_service_pb2.pyi,sha256=XV6h6X3zJnqXocbRvXqG_hr9AYAJJJVjExCgC5l7QBs,1729
|
439
|
+
frogml_proto/jfml/hosting_gateway/v1/hosting_gateway_service_pb2_grpc.py,sha256=tAHU1JMZ-5BODK4it2-yNAG6XzMGAmhoWcWoyeDjNAs,3277
|
434
440
|
frogml_proto/jfml/model_version/v1/artifact_pb2.py,sha256=HjSD0Tp2XGxwMBnDzFAYhCBftaJwiJRoYSkTcr1pJyA,1973
|
435
441
|
frogml_proto/jfml/model_version/v1/artifact_pb2.pyi,sha256=5CGU58qXOSbe0KSu0ovjIbXWrpS9r-PIvdq4qhqPQIc,1673
|
436
442
|
frogml_proto/jfml/model_version/v1/artifact_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
@@ -449,11 +455,11 @@ frogml_proto/jfml/model_version/v1/model_version_manager_service_pb2_grpc.py,sha
|
|
449
455
|
frogml_proto/jfml/model_version/v1/model_version_pb2.py,sha256=zkCh-RMWDRj9F-oHEbO7MdjIzIP06HXSnTZ2K3HXImw,11256
|
450
456
|
frogml_proto/jfml/model_version/v1/model_version_pb2.pyi,sha256=ZrCORULWRYimwMQf62Mcf6LcJ2tF1wTttY_f9X-y9Ow,12055
|
451
457
|
frogml_proto/jfml/model_version/v1/model_version_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
452
|
-
frogml_proto/qwak/administration/account/v1/account_pb2.py,sha256
|
453
|
-
frogml_proto/qwak/administration/account/v1/account_pb2.pyi,sha256
|
458
|
+
frogml_proto/qwak/administration/account/v1/account_pb2.py,sha256=-XEP6caSlJB7Ku7YDi52GjL7BTRp4nEyhA_xtFUA_O4,8252
|
459
|
+
frogml_proto/qwak/administration/account/v1/account_pb2.pyi,sha256=Ul2SwGifFEfcM7YCfNu-XWH-sbpyiTORxO-Ey3luhDg,12055
|
454
460
|
frogml_proto/qwak/administration/account/v1/account_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
455
461
|
frogml_proto/qwak/administration/account/v1/account_service_pb2.py,sha256=d4iRyH2hJ0BqQglE_XVioS2XLx6pOY_epJJZOB94iy4,16745
|
456
|
-
frogml_proto/qwak/administration/account/v1/account_service_pb2.pyi,sha256=
|
462
|
+
frogml_proto/qwak/administration/account/v1/account_service_pb2.pyi,sha256=fen6z2AGluIHzkbet9ilLz7arngEj4eEM9AY4XS53Uc,15731
|
457
463
|
frogml_proto/qwak/administration/account/v1/account_service_pb2_grpc.py,sha256=YNK_XNZQW078YXqqKP7nbvjRZHn6W6WgW9v1ZB6D6RU,18748
|
458
464
|
frogml_proto/qwak/administration/account/v1/jfrog_tenant_details_pb2.py,sha256=uN7Xpb6PmiMXofUdZ_bS0y1M1g-Z7GRiocwa3NOUwoM,8851
|
459
465
|
frogml_proto/qwak/administration/account/v1/jfrog_tenant_details_pb2.pyi,sha256=rEJjBYYEgM75xJAYg7TxIvQoh3mKNd05hNuTo2CK6Ag,8134
|
@@ -1019,6 +1025,6 @@ frogml_services_mock/mocks/workspace_manager_service_mock.py,sha256=WbOiWgOyr-xT
|
|
1019
1025
|
frogml_services_mock/services_mock.py,sha256=_34z6rFCHFwcSni-9eyJlrH264xsL_QDNmG-EBv0zMc,20281
|
1020
1026
|
frogml_services_mock/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1021
1027
|
frogml_services_mock/utils/service_utils.py,sha256=ZlB0CnB1J6oBn6_m7fQO2U8tKoboHdUa6ljjkRMYNXU,265
|
1022
|
-
frogml_core-0.0.
|
1023
|
-
frogml_core-0.0.
|
1024
|
-
frogml_core-0.0.
|
1028
|
+
frogml_core-0.0.45.dist-info/METADATA,sha256=7f_RthpNihqrnZIOZLAwSlLOJkyLwWfNqTNlqIJZR7Y,2004
|
1029
|
+
frogml_core-0.0.45.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
1030
|
+
frogml_core-0.0.45.dist-info/RECORD,,
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: frogml_proto.jfml.hosting_gateway/v1/build_upload_url.proto
|
4
|
+
"""Generated protocol buffer code."""
|
5
|
+
from google.protobuf.internal import enum_type_wrapper
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import message as _message
|
9
|
+
from google.protobuf import reflection as _reflection
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
# @@protoc_insertion_point(imports)
|
12
|
+
|
13
|
+
_sym_db = _symbol_database.Default()
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.jfml/hosting_gateway/v1/build_upload_url.proto\x12\x17jfml.hosting_gateway.v1\"\xd3\x01\n\x18\x42uildUploadUrlParameters\x12\x10\n\x08model_id\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\x12\x11\n\ttag_value\x18\x03 \x01(\t\x12\x41\n\rartifact_type\x18\x04 \x01(\x0e\x32*.jfml.hosting_gateway.v1.BuildArtifactType\x12$\n\x1ause_cloud_provider_storage\x18\x05 \x01(\x08H\x00\x42\x17\n\x15\x63loud_provider_option*v\n\x11\x42uildArtifactType\x12\x19\n\x15INVALID_ARTIFACT_TYPE\x10\x00\x12\x16\n\x12\x44\x41TA_ARTIFACT_TYPE\x10\x01\x12\x16\n\x12\x46ILE_ARTIFACT_TYPE\x10\x02\x12\x16\n\x12\x43ODE_ARTIFACT_TYPE\x10\x03\x42\'\n#com.jfrog.ml.hosting_gateway.api.v1P\x01\x62\x06proto3')
|
19
|
+
|
20
|
+
_BUILDARTIFACTTYPE = DESCRIPTOR.enum_types_by_name['BuildArtifactType']
|
21
|
+
BuildArtifactType = enum_type_wrapper.EnumTypeWrapper(_BUILDARTIFACTTYPE)
|
22
|
+
INVALID_ARTIFACT_TYPE = 0
|
23
|
+
DATA_ARTIFACT_TYPE = 1
|
24
|
+
FILE_ARTIFACT_TYPE = 2
|
25
|
+
CODE_ARTIFACT_TYPE = 3
|
26
|
+
|
27
|
+
|
28
|
+
_BUILDUPLOADURLPARAMETERS = DESCRIPTOR.message_types_by_name['BuildUploadUrlParameters']
|
29
|
+
BuildUploadUrlParameters = _reflection.GeneratedProtocolMessageType('BuildUploadUrlParameters', (_message.Message,), {
|
30
|
+
'DESCRIPTOR' : _BUILDUPLOADURLPARAMETERS,
|
31
|
+
'__module__' : 'jfml.hosting_gateway.v1.build_upload_url_pb2'
|
32
|
+
# @@protoc_insertion_point(class_scope:jfml.hosting_gateway.v1.BuildUploadUrlParameters)
|
33
|
+
})
|
34
|
+
_sym_db.RegisterMessage(BuildUploadUrlParameters)
|
35
|
+
|
36
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
37
|
+
|
38
|
+
DESCRIPTOR._options = None
|
39
|
+
DESCRIPTOR._serialized_options = b'\n#com.jfrog.ml.hosting_gateway.api.v1P\001'
|
40
|
+
_BUILDARTIFACTTYPE._serialized_start=289
|
41
|
+
_BUILDARTIFACTTYPE._serialized_end=407
|
42
|
+
_BUILDUPLOADURLPARAMETERS._serialized_start=76
|
43
|
+
_BUILDUPLOADURLPARAMETERS._serialized_end=287
|
44
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,70 @@
|
|
1
|
+
"""
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
3
|
+
isort:skip_file
|
4
|
+
"""
|
5
|
+
import builtins
|
6
|
+
import google.protobuf.descriptor
|
7
|
+
import google.protobuf.internal.enum_type_wrapper
|
8
|
+
import google.protobuf.message
|
9
|
+
import sys
|
10
|
+
import typing
|
11
|
+
|
12
|
+
if sys.version_info >= (3, 10):
|
13
|
+
import typing as typing_extensions
|
14
|
+
else:
|
15
|
+
import typing_extensions
|
16
|
+
|
17
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
18
|
+
|
19
|
+
class _BuildArtifactType:
|
20
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
21
|
+
V: typing_extensions.TypeAlias = ValueType
|
22
|
+
|
23
|
+
class _BuildArtifactTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_BuildArtifactType.ValueType], builtins.type): # noqa: F821
|
24
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
25
|
+
INVALID_ARTIFACT_TYPE: _BuildArtifactType.ValueType # 0
|
26
|
+
DATA_ARTIFACT_TYPE: _BuildArtifactType.ValueType # 1
|
27
|
+
FILE_ARTIFACT_TYPE: _BuildArtifactType.ValueType # 2
|
28
|
+
CODE_ARTIFACT_TYPE: _BuildArtifactType.ValueType # 3
|
29
|
+
|
30
|
+
class BuildArtifactType(_BuildArtifactType, metaclass=_BuildArtifactTypeEnumTypeWrapper):
|
31
|
+
"""build artifact Types"""
|
32
|
+
|
33
|
+
INVALID_ARTIFACT_TYPE: BuildArtifactType.ValueType # 0
|
34
|
+
DATA_ARTIFACT_TYPE: BuildArtifactType.ValueType # 1
|
35
|
+
FILE_ARTIFACT_TYPE: BuildArtifactType.ValueType # 2
|
36
|
+
CODE_ARTIFACT_TYPE: BuildArtifactType.ValueType # 3
|
37
|
+
global___BuildArtifactType = BuildArtifactType
|
38
|
+
|
39
|
+
class BuildUploadUrlParameters(google.protobuf.message.Message):
|
40
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
41
|
+
|
42
|
+
MODEL_ID_FIELD_NUMBER: builtins.int
|
43
|
+
BUILD_ID_FIELD_NUMBER: builtins.int
|
44
|
+
TAG_VALUE_FIELD_NUMBER: builtins.int
|
45
|
+
ARTIFACT_TYPE_FIELD_NUMBER: builtins.int
|
46
|
+
USE_CLOUD_PROVIDER_STORAGE_FIELD_NUMBER: builtins.int
|
47
|
+
model_id: builtins.str
|
48
|
+
"""Model ID"""
|
49
|
+
build_id: builtins.str
|
50
|
+
"""Build Id"""
|
51
|
+
tag_value: builtins.str
|
52
|
+
"""Tag to save the artifact by"""
|
53
|
+
artifact_type: global___BuildArtifactType.ValueType
|
54
|
+
"""The type of the artifact to upload"""
|
55
|
+
use_cloud_provider_storage: builtins.bool
|
56
|
+
"""When true, will use the cloud provider URL"""
|
57
|
+
def __init__(
|
58
|
+
self,
|
59
|
+
*,
|
60
|
+
model_id: builtins.str = ...,
|
61
|
+
build_id: builtins.str = ...,
|
62
|
+
tag_value: builtins.str = ...,
|
63
|
+
artifact_type: global___BuildArtifactType.ValueType = ...,
|
64
|
+
use_cloud_provider_storage: builtins.bool = ...,
|
65
|
+
) -> None: ...
|
66
|
+
def HasField(self, field_name: typing_extensions.Literal["cloud_provider_option", b"cloud_provider_option", "use_cloud_provider_storage", b"use_cloud_provider_storage"]) -> builtins.bool: ...
|
67
|
+
def ClearField(self, field_name: typing_extensions.Literal["artifact_type", b"artifact_type", "build_id", b"build_id", "cloud_provider_option", b"cloud_provider_option", "model_id", b"model_id", "tag_value", b"tag_value", "use_cloud_provider_storage", b"use_cloud_provider_storage"]) -> None: ...
|
68
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["cloud_provider_option", b"cloud_provider_option"]) -> typing_extensions.Literal["use_cloud_provider_storage"] | None: ...
|
69
|
+
|
70
|
+
global___BuildUploadUrlParameters = BuildUploadUrlParameters
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: frogml_proto.jfml.hosting_gateway/v1/hosting_gateway_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 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 frogml_proto.jfml.hosting_gateway.v1 import build_upload_url_pb2 as jfml_dot_hosting__gateway_dot_v1_dot_build__upload__url__pb2
|
16
|
+
|
17
|
+
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5jfml/hosting_gateway/v1/hosting_gateway_service.proto\x12\x17jfml.hosting_gateway.v1\x1a.jfml/hosting_gateway/v1/build_upload_url.proto\"g\n\"GetBuildVersioningUploadURLRequest\x12\x41\n\x06params\x18\x01 \x01(\x0b\x32\x31.jfml.hosting_gateway.v1.BuildUploadUrlParameters\"9\n#GetBuildVersioningUploadURLResponse\x12\x12\n\nupload_url\x18\x01 \x01(\t2\xb2\x01\n\x15HostingGatewayService\x12\x98\x01\n\x1bGetBuildVersioningUploadURL\x12;.jfml.hosting_gateway.v1.GetBuildVersioningUploadURLRequest\x1a<.jfml.hosting_gateway.v1.GetBuildVersioningUploadURLResponseB\'\n#com.jfrog.ml.hosting_gateway.api.v1P\x01\x62\x06proto3')
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
_GETBUILDVERSIONINGUPLOADURLREQUEST = DESCRIPTOR.message_types_by_name['GetBuildVersioningUploadURLRequest']
|
23
|
+
_GETBUILDVERSIONINGUPLOADURLRESPONSE = DESCRIPTOR.message_types_by_name['GetBuildVersioningUploadURLResponse']
|
24
|
+
GetBuildVersioningUploadURLRequest = _reflection.GeneratedProtocolMessageType('GetBuildVersioningUploadURLRequest', (_message.Message,), {
|
25
|
+
'DESCRIPTOR' : _GETBUILDVERSIONINGUPLOADURLREQUEST,
|
26
|
+
'__module__' : 'jfml.hosting_gateway.v1.hosting_gateway_service_pb2'
|
27
|
+
# @@protoc_insertion_point(class_scope:jfml.hosting_gateway.v1.GetBuildVersioningUploadURLRequest)
|
28
|
+
})
|
29
|
+
_sym_db.RegisterMessage(GetBuildVersioningUploadURLRequest)
|
30
|
+
|
31
|
+
GetBuildVersioningUploadURLResponse = _reflection.GeneratedProtocolMessageType('GetBuildVersioningUploadURLResponse', (_message.Message,), {
|
32
|
+
'DESCRIPTOR' : _GETBUILDVERSIONINGUPLOADURLRESPONSE,
|
33
|
+
'__module__' : 'jfml.hosting_gateway.v1.hosting_gateway_service_pb2'
|
34
|
+
# @@protoc_insertion_point(class_scope:jfml.hosting_gateway.v1.GetBuildVersioningUploadURLResponse)
|
35
|
+
})
|
36
|
+
_sym_db.RegisterMessage(GetBuildVersioningUploadURLResponse)
|
37
|
+
|
38
|
+
_HOSTINGGATEWAYSERVICE = DESCRIPTOR.services_by_name['HostingGatewayService']
|
39
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
40
|
+
|
41
|
+
DESCRIPTOR._options = None
|
42
|
+
DESCRIPTOR._serialized_options = b'\n#com.jfrog.ml.hosting_gateway.api.v1P\001'
|
43
|
+
_GETBUILDVERSIONINGUPLOADURLREQUEST._serialized_start=130
|
44
|
+
_GETBUILDVERSIONINGUPLOADURLREQUEST._serialized_end=233
|
45
|
+
_GETBUILDVERSIONINGUPLOADURLRESPONSE._serialized_start=235
|
46
|
+
_GETBUILDVERSIONINGUPLOADURLRESPONSE._serialized_end=292
|
47
|
+
_HOSTINGGATEWAYSERVICE._serialized_start=295
|
48
|
+
_HOSTINGGATEWAYSERVICE._serialized_end=473
|
49
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,48 @@
|
|
1
|
+
"""
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
3
|
+
isort:skip_file
|
4
|
+
"""
|
5
|
+
import builtins
|
6
|
+
import google.protobuf.descriptor
|
7
|
+
import google.protobuf.message
|
8
|
+
import frogml_proto.jfml.hosting_gateway.v1.build_upload_url_pb2
|
9
|
+
import sys
|
10
|
+
|
11
|
+
if sys.version_info >= (3, 8):
|
12
|
+
import typing as typing_extensions
|
13
|
+
else:
|
14
|
+
import typing_extensions
|
15
|
+
|
16
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
17
|
+
|
18
|
+
class GetBuildVersioningUploadURLRequest(google.protobuf.message.Message):
|
19
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
20
|
+
|
21
|
+
PARAMS_FIELD_NUMBER: builtins.int
|
22
|
+
@property
|
23
|
+
def params(self) -> frogml_proto.jfml.hosting_gateway.v1.build_upload_url_pb2.BuildUploadUrlParameters:
|
24
|
+
"""The params to define the url."""
|
25
|
+
def __init__(
|
26
|
+
self,
|
27
|
+
*,
|
28
|
+
params: frogml_proto.jfml.hosting_gateway.v1.build_upload_url_pb2.BuildUploadUrlParameters | None = ...,
|
29
|
+
) -> None: ...
|
30
|
+
def HasField(self, field_name: typing_extensions.Literal["params", b"params"]) -> builtins.bool: ...
|
31
|
+
def ClearField(self, field_name: typing_extensions.Literal["params", b"params"]) -> None: ...
|
32
|
+
|
33
|
+
global___GetBuildVersioningUploadURLRequest = GetBuildVersioningUploadURLRequest
|
34
|
+
|
35
|
+
class GetBuildVersioningUploadURLResponse(google.protobuf.message.Message):
|
36
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
37
|
+
|
38
|
+
UPLOAD_URL_FIELD_NUMBER: builtins.int
|
39
|
+
upload_url: builtins.str
|
40
|
+
"""Upload url intended for the upload"""
|
41
|
+
def __init__(
|
42
|
+
self,
|
43
|
+
*,
|
44
|
+
upload_url: builtins.str = ...,
|
45
|
+
) -> None: ...
|
46
|
+
def ClearField(self, field_name: typing_extensions.Literal["upload_url", b"upload_url"]) -> None: ...
|
47
|
+
|
48
|
+
global___GetBuildVersioningUploadURLResponse = GetBuildVersioningUploadURLResponse
|
@@ -0,0 +1,67 @@
|
|
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 frogml_proto.jfml.hosting_gateway.v1 import hosting_gateway_service_pb2 as jfml_dot_hosting__gateway_dot_v1_dot_hosting__gateway__service__pb2
|
6
|
+
|
7
|
+
|
8
|
+
class HostingGatewayServiceStub(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.GetBuildVersioningUploadURL = channel.unary_unary(
|
18
|
+
'/jfml.hosting_gateway.v1.HostingGatewayService/GetBuildVersioningUploadURL',
|
19
|
+
request_serializer=jfml_dot_hosting__gateway_dot_v1_dot_hosting__gateway__service__pb2.GetBuildVersioningUploadURLRequest.SerializeToString,
|
20
|
+
response_deserializer=jfml_dot_hosting__gateway_dot_v1_dot_hosting__gateway__service__pb2.GetBuildVersioningUploadURLResponse.FromString,
|
21
|
+
)
|
22
|
+
|
23
|
+
|
24
|
+
class HostingGatewayServiceServicer(object):
|
25
|
+
"""Missing associated documentation comment in .proto file."""
|
26
|
+
|
27
|
+
def GetBuildVersioningUploadURL(self, request, context):
|
28
|
+
"""Request the service for a path ready for upload in purpose of uploading local model code or data
|
29
|
+
"""
|
30
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
31
|
+
context.set_details('Method not implemented!')
|
32
|
+
raise NotImplementedError('Method not implemented!')
|
33
|
+
|
34
|
+
|
35
|
+
def add_HostingGatewayServiceServicer_to_server(servicer, server):
|
36
|
+
rpc_method_handlers = {
|
37
|
+
'GetBuildVersioningUploadURL': grpc.unary_unary_rpc_method_handler(
|
38
|
+
servicer.GetBuildVersioningUploadURL,
|
39
|
+
request_deserializer=jfml_dot_hosting__gateway_dot_v1_dot_hosting__gateway__service__pb2.GetBuildVersioningUploadURLRequest.FromString,
|
40
|
+
response_serializer=jfml_dot_hosting__gateway_dot_v1_dot_hosting__gateway__service__pb2.GetBuildVersioningUploadURLResponse.SerializeToString,
|
41
|
+
),
|
42
|
+
}
|
43
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
44
|
+
'jfml.hosting_gateway.v1.HostingGatewayService', rpc_method_handlers)
|
45
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
46
|
+
|
47
|
+
|
48
|
+
# This class is part of an EXPERIMENTAL API.
|
49
|
+
class HostingGatewayService(object):
|
50
|
+
"""Missing associated documentation comment in .proto file."""
|
51
|
+
|
52
|
+
@staticmethod
|
53
|
+
def GetBuildVersioningUploadURL(request,
|
54
|
+
target,
|
55
|
+
options=(),
|
56
|
+
channel_credentials=None,
|
57
|
+
call_credentials=None,
|
58
|
+
insecure=False,
|
59
|
+
compression=None,
|
60
|
+
wait_for_ready=None,
|
61
|
+
timeout=None,
|
62
|
+
metadata=None):
|
63
|
+
return grpc.experimental.unary_unary(request, target, '/jfml.hosting_gateway.v1.HostingGatewayService/GetBuildVersioningUploadURL',
|
64
|
+
jfml_dot_hosting__gateway_dot_v1_dot_hosting__gateway__service__pb2.GetBuildVersioningUploadURLRequest.SerializeToString,
|
65
|
+
jfml_dot_hosting__gateway_dot_v1_dot_hosting__gateway__service__pb2.GetBuildVersioningUploadURLResponse.FromString,
|
66
|
+
options, channel_credentials,
|
67
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
@@ -19,7 +19,7 @@ from frogml_proto.qwak.administration.account.v1 import terms_pb2 as qwak_dot_ad
|
|
19
19
|
from frogml_proto.qwak.administration.account.v1 import jfrog_tenant_details_pb2 as qwak_dot_administration_dot_account_dot_v1_dot_jfrog__tenant__details__pb2
|
20
20
|
|
21
21
|
|
22
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,qwak/administration/account/v1/account.proto\x12\x1eqwak.administration.account.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x30qwak/administration/account/v1/preferences.proto\x1a*qwak/administration/account/v1/terms.proto\x1a\x39qwak/administration/account/v1/jfrog_tenant_details.proto\"\xc9\x04\n\x07\x41\x63\x63ount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x45\n\x06status\x18\x04 \x01(\x0e\x32\x35.qwak.administration.account.v1.AccountActivityStatus\x12\x44\n\x0bpreferences\x18\x07 \x01(\x0b\x32/.qwak.administration.account.AccountPreferences\x12\x1e\n\x16\x64\x65\x66\x61ult_environment_id\x18\x08 \x01(\t\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10last_modified_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x04type\x18\t \x01(\x0e\x32+.qwak.administration.account.v1.AccountType\x12\x39\n\x04tier\x18\n \x01(\x0e\x32+.qwak.administration.account.v1.AccountTier\x12I\n\x0e\x61\x63\x63\x65pted_terms\x18\x0b \x01(\x0b\x32\x31.qwak.administration.account.AccountAcceptedTerms\x12P\n\x14jfrog_tenant_details\x18\x0c \x01(\x0b\x32\x32.qwak.administration.account.v1.JfrogTenantDetails\"c\n\x11ListAccountFilter\x12N\n\x0f\x61\x63tivity_status\x18\x01 \x01(\x0e\x32\x35.qwak.administration.account.v1.AccountActivityStatus\"_\n\x12\x41utoBindingAccount\x12\n\n\x02id\x18\x01 \x01(\t\x12=\n\x04rule\x18\x02 \x01(\x0b\x32/.qwak.administration.account.v1.AutoBindingRule\")\n\x0f\x41utoBindingRule\x12\x16\n\x0e\x65mail_hostname\x18\x01 \x01(\t\"\
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,qwak/administration/account/v1/account.proto\x12\x1eqwak.administration.account.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x30qwak/administration/account/v1/preferences.proto\x1a*qwak/administration/account/v1/terms.proto\x1a\x39qwak/administration/account/v1/jfrog_tenant_details.proto\"\xc9\x04\n\x07\x41\x63\x63ount\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x45\n\x06status\x18\x04 \x01(\x0e\x32\x35.qwak.administration.account.v1.AccountActivityStatus\x12\x44\n\x0bpreferences\x18\x07 \x01(\x0b\x32/.qwak.administration.account.AccountPreferences\x12\x1e\n\x16\x64\x65\x66\x61ult_environment_id\x18\x08 \x01(\t\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10last_modified_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x04type\x18\t \x01(\x0e\x32+.qwak.administration.account.v1.AccountType\x12\x39\n\x04tier\x18\n \x01(\x0e\x32+.qwak.administration.account.v1.AccountTier\x12I\n\x0e\x61\x63\x63\x65pted_terms\x18\x0b \x01(\x0b\x32\x31.qwak.administration.account.AccountAcceptedTerms\x12P\n\x14jfrog_tenant_details\x18\x0c \x01(\x0b\x32\x32.qwak.administration.account.v1.JfrogTenantDetails\"c\n\x11ListAccountFilter\x12N\n\x0f\x61\x63tivity_status\x18\x01 \x01(\x0e\x32\x35.qwak.administration.account.v1.AccountActivityStatus\"_\n\x12\x41utoBindingAccount\x12\n\n\x02id\x18\x01 \x01(\t\x12=\n\x04rule\x18\x02 \x01(\x0b\x32/.qwak.administration.account.v1.AutoBindingRule\")\n\x0f\x41utoBindingRule\x12\x16\n\x0e\x65mail_hostname\x18\x01 \x01(\t\"\xbb\x02\n\x0c\x41\x63\x63ountBrief\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x19\n\x0fjfrog_tenant_id\x18\x02 \x01(\tH\x00\x12\x1b\n\x0f\x65nvironment_ids\x18\x03 \x03(\tB\x02\x18\x01\x12\x16\n\x0e\x64\x65\x66\x61ult_env_id\x18\x04 \x01(\t\x12L\n\x12\x65nvironment_briefs\x18\x05 \x03(\x0b\x32\x30.qwak.administration.account.v1.EnvironmentBrief\x12K\n\x15jfrog_project_details\x18\x06 \x01(\x0b\x32*.qwak.administration.account.v1.JPDDetailsH\x01\x42\x14\n\x12optional_tenant_idB\x16\n\x14optional_jpd_details\"B\n\x10\x45nvironmentBrief\x12\x16\n\x0e\x65nvironment_id\x18\x01 \x01(\t\x12\x16\n\x0estorage_bucket\x18\x02 \x01(\t*k\n\x15\x41\x63\x63ountActivityStatus\x12\x1a\n\x16\x41\x43\x43OUNT_STATUS_INVALID\x10\x00\x12\x19\n\x15\x41\x43\x43OUNT_STATUS_ACTIVE\x10\x01\x12\x1b\n\x17\x41\x43\x43OUNT_STATUS_DISABLED\x10\x02*=\n\x0b\x41\x63\x63ountType\x12\x18\n\x14\x41\x43\x43OUNT_TYPE_INVALID\x10\x00\x12\n\n\x06HYBRID\x10\x01\x12\x08\n\x04SAAS\x10\x02*L\n\x0b\x41\x63\x63ountTier\x12\x18\n\x14\x41\x43\x43OUNT_TIER_INVALID\x10\x00\x12\x08\n\x04\x46REE\x10\x01\x12\r\n\tVALIDATED\x10\x02\x12\n\n\x06PAYING\x10\x03\x42\xb4\x01\n)com.qwak.ai.administration.api.account.v1P\x01Z\x84\x01github.com/qwak-ai/qwak-platform/services/core/java/user-management/user-management-api/pb/qwak/administration/account/v1;account_v0b\x06proto3')
|
23
23
|
|
24
24
|
_ACCOUNTACTIVITYSTATUS = DESCRIPTOR.enum_types_by_name['AccountActivityStatus']
|
25
25
|
AccountActivityStatus = enum_type_wrapper.EnumTypeWrapper(_ACCOUNTACTIVITYSTATUS)
|
@@ -93,12 +93,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
93
93
|
DESCRIPTOR._serialized_options = b'\n)com.qwak.ai.administration.api.account.v1P\001Z\204\001github.com/qwak-ai/qwak-platform/services/core/java/user-management/user-management-api/pb/qwak/administration/account/v1;account_v0'
|
94
94
|
_ACCOUNTBRIEF.fields_by_name['environment_ids']._options = None
|
95
95
|
_ACCOUNTBRIEF.fields_by_name['environment_ids']._serialized_options = b'\030\001'
|
96
|
-
_ACCOUNTACTIVITYSTATUS._serialized_start=
|
97
|
-
_ACCOUNTACTIVITYSTATUS._serialized_end=
|
98
|
-
_ACCOUNTTYPE._serialized_start=
|
99
|
-
_ACCOUNTTYPE._serialized_end=
|
100
|
-
_ACCOUNTTIER._serialized_start=
|
101
|
-
_ACCOUNTTIER._serialized_end=
|
96
|
+
_ACCOUNTACTIVITYSTATUS._serialized_start=1481
|
97
|
+
_ACCOUNTACTIVITYSTATUS._serialized_end=1588
|
98
|
+
_ACCOUNTTYPE._serialized_start=1590
|
99
|
+
_ACCOUNTTYPE._serialized_end=1651
|
100
|
+
_ACCOUNTTIER._serialized_start=1653
|
101
|
+
_ACCOUNTTIER._serialized_end=1729
|
102
102
|
_ACCOUNT._serialized_start=267
|
103
103
|
_ACCOUNT._serialized_end=852
|
104
104
|
_LISTACCOUNTFILTER._serialized_start=854
|
@@ -108,7 +108,7 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
108
108
|
_AUTOBINDINGRULE._serialized_start=1052
|
109
109
|
_AUTOBINDINGRULE._serialized_end=1093
|
110
110
|
_ACCOUNTBRIEF._serialized_start=1096
|
111
|
-
_ACCOUNTBRIEF._serialized_end=
|
112
|
-
_ENVIRONMENTBRIEF._serialized_start=
|
113
|
-
_ENVIRONMENTBRIEF._serialized_end=
|
111
|
+
_ACCOUNTBRIEF._serialized_end=1411
|
112
|
+
_ENVIRONMENTBRIEF._serialized_start=1413
|
113
|
+
_ENVIRONMENTBRIEF._serialized_end=1479
|
114
114
|
# @@protoc_insertion_point(module_scope)
|
@@ -219,6 +219,7 @@ class AccountBrief(google.protobuf.message.Message):
|
|
219
219
|
ENVIRONMENT_IDS_FIELD_NUMBER: builtins.int
|
220
220
|
DEFAULT_ENV_ID_FIELD_NUMBER: builtins.int
|
221
221
|
ENVIRONMENT_BRIEFS_FIELD_NUMBER: builtins.int
|
222
|
+
JFROG_PROJECT_DETAILS_FIELD_NUMBER: builtins.int
|
222
223
|
account_id: builtins.str
|
223
224
|
jfrog_tenant_id: builtins.str
|
224
225
|
@property
|
@@ -226,6 +227,8 @@ class AccountBrief(google.protobuf.message.Message):
|
|
226
227
|
default_env_id: builtins.str
|
227
228
|
@property
|
228
229
|
def environment_briefs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___EnvironmentBrief]: ...
|
230
|
+
@property
|
231
|
+
def jfrog_project_details(self) -> frogml_proto.qwak.administration.account.v1.jfrog_tenant_details_pb2.JPDDetails: ...
|
229
232
|
def __init__(
|
230
233
|
self,
|
231
234
|
*,
|
@@ -234,8 +237,14 @@ class AccountBrief(google.protobuf.message.Message):
|
|
234
237
|
environment_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
235
238
|
default_env_id: builtins.str = ...,
|
236
239
|
environment_briefs: collections.abc.Iterable[global___EnvironmentBrief] | None = ...,
|
240
|
+
jfrog_project_details: frogml_proto.qwak.administration.account.v1.jfrog_tenant_details_pb2.JPDDetails | None = ...,
|
237
241
|
) -> None: ...
|
238
|
-
def
|
242
|
+
def HasField(self, field_name: typing_extensions.Literal["jfrog_project_details", b"jfrog_project_details", "jfrog_tenant_id", b"jfrog_tenant_id", "optional_jpd_details", b"optional_jpd_details", "optional_tenant_id", b"optional_tenant_id"]) -> builtins.bool: ...
|
243
|
+
def ClearField(self, field_name: typing_extensions.Literal["account_id", b"account_id", "default_env_id", b"default_env_id", "environment_briefs", b"environment_briefs", "environment_ids", b"environment_ids", "jfrog_project_details", b"jfrog_project_details", "jfrog_tenant_id", b"jfrog_tenant_id", "optional_jpd_details", b"optional_jpd_details", "optional_tenant_id", b"optional_tenant_id"]) -> None: ...
|
244
|
+
@typing.overload
|
245
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["optional_jpd_details", b"optional_jpd_details"]) -> typing_extensions.Literal["jfrog_project_details"] | None: ...
|
246
|
+
@typing.overload
|
247
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["optional_tenant_id", b"optional_tenant_id"]) -> typing_extensions.Literal["jfrog_tenant_id"] | None: ...
|
239
248
|
|
240
249
|
global___AccountBrief = AccountBrief
|
241
250
|
|
@@ -315,6 +315,7 @@ class GetAccountBriefRequest(google.protobuf.message.Message):
|
|
315
315
|
JFROG_TENANT_ID_FIELD_NUMBER: builtins.int
|
316
316
|
account_id: builtins.str
|
317
317
|
jfrog_tenant_id: builtins.str
|
318
|
+
"""The JFrog tenant id could be jpd_id for self-hosted"""
|
318
319
|
def __init__(
|
319
320
|
self,
|
320
321
|
*,
|
File without changes
|