mlflow_artifacts_pb2.pyi
1 import databricks_pb2 as _databricks_pb2 2 from scalapb import scalapb_pb2 as _scalapb_pb2 3 from google.protobuf.internal import containers as _containers 4 from google.protobuf import descriptor as _descriptor 5 from google.protobuf import message as _message 6 from google.protobuf import service as _service 7 from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union 8 9 DESCRIPTOR: _descriptor.FileDescriptor 10 11 class DownloadArtifact(_message.Message): 12 __slots__ = () 13 class Response(_message.Message): 14 __slots__ = () 15 def __init__(self) -> None: ... 16 def __init__(self) -> None: ... 17 18 class UploadArtifact(_message.Message): 19 __slots__ = () 20 class Response(_message.Message): 21 __slots__ = () 22 def __init__(self) -> None: ... 23 def __init__(self) -> None: ... 24 25 class ListArtifacts(_message.Message): 26 __slots__ = ("path",) 27 class Response(_message.Message): 28 __slots__ = ("files",) 29 FILES_FIELD_NUMBER: _ClassVar[int] 30 files: _containers.RepeatedCompositeFieldContainer[FileInfo] 31 def __init__(self, files: _Optional[_Iterable[_Union[FileInfo, _Mapping]]] = ...) -> None: ... 32 PATH_FIELD_NUMBER: _ClassVar[int] 33 path: str 34 def __init__(self, path: _Optional[str] = ...) -> None: ... 35 36 class DeleteArtifact(_message.Message): 37 __slots__ = () 38 class Response(_message.Message): 39 __slots__ = () 40 def __init__(self) -> None: ... 41 def __init__(self) -> None: ... 42 43 class FileInfo(_message.Message): 44 __slots__ = ("path", "is_dir", "file_size") 45 PATH_FIELD_NUMBER: _ClassVar[int] 46 IS_DIR_FIELD_NUMBER: _ClassVar[int] 47 FILE_SIZE_FIELD_NUMBER: _ClassVar[int] 48 path: str 49 is_dir: bool 50 file_size: int 51 def __init__(self, path: _Optional[str] = ..., is_dir: bool = ..., file_size: _Optional[int] = ...) -> None: ... 52 53 class CreateMultipartUpload(_message.Message): 54 __slots__ = ("path", "num_parts") 55 class Response(_message.Message): 56 __slots__ = ("upload_id", "credentials") 57 UPLOAD_ID_FIELD_NUMBER: _ClassVar[int] 58 CREDENTIALS_FIELD_NUMBER: _ClassVar[int] 59 upload_id: str 60 credentials: _containers.RepeatedCompositeFieldContainer[MultipartUploadCredential] 61 def __init__(self, upload_id: _Optional[str] = ..., credentials: _Optional[_Iterable[_Union[MultipartUploadCredential, _Mapping]]] = ...) -> None: ... 62 PATH_FIELD_NUMBER: _ClassVar[int] 63 NUM_PARTS_FIELD_NUMBER: _ClassVar[int] 64 path: str 65 num_parts: int 66 def __init__(self, path: _Optional[str] = ..., num_parts: _Optional[int] = ...) -> None: ... 67 68 class CompleteMultipartUpload(_message.Message): 69 __slots__ = ("path", "upload_id", "parts") 70 class Response(_message.Message): 71 __slots__ = () 72 def __init__(self) -> None: ... 73 PATH_FIELD_NUMBER: _ClassVar[int] 74 UPLOAD_ID_FIELD_NUMBER: _ClassVar[int] 75 PARTS_FIELD_NUMBER: _ClassVar[int] 76 path: str 77 upload_id: str 78 parts: _containers.RepeatedCompositeFieldContainer[MultipartUploadPart] 79 def __init__(self, path: _Optional[str] = ..., upload_id: _Optional[str] = ..., parts: _Optional[_Iterable[_Union[MultipartUploadPart, _Mapping]]] = ...) -> None: ... 80 81 class AbortMultipartUpload(_message.Message): 82 __slots__ = ("path", "upload_id") 83 class Response(_message.Message): 84 __slots__ = () 85 def __init__(self) -> None: ... 86 PATH_FIELD_NUMBER: _ClassVar[int] 87 UPLOAD_ID_FIELD_NUMBER: _ClassVar[int] 88 path: str 89 upload_id: str 90 def __init__(self, path: _Optional[str] = ..., upload_id: _Optional[str] = ...) -> None: ... 91 92 class MultipartUploadCredential(_message.Message): 93 __slots__ = ("url", "part_number", "headers") 94 class HeadersEntry(_message.Message): 95 __slots__ = ("key", "value") 96 KEY_FIELD_NUMBER: _ClassVar[int] 97 VALUE_FIELD_NUMBER: _ClassVar[int] 98 key: str 99 value: str 100 def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... 101 URL_FIELD_NUMBER: _ClassVar[int] 102 PART_NUMBER_FIELD_NUMBER: _ClassVar[int] 103 HEADERS_FIELD_NUMBER: _ClassVar[int] 104 url: str 105 part_number: int 106 headers: _containers.ScalarMap[str, str] 107 def __init__(self, url: _Optional[str] = ..., part_number: _Optional[int] = ..., headers: _Optional[_Mapping[str, str]] = ...) -> None: ... 108 109 class MultipartUploadPart(_message.Message): 110 __slots__ = ("part_number", "etag", "url") 111 PART_NUMBER_FIELD_NUMBER: _ClassVar[int] 112 ETAG_FIELD_NUMBER: _ClassVar[int] 113 URL_FIELD_NUMBER: _ClassVar[int] 114 part_number: int 115 etag: str 116 url: str 117 def __init__(self, part_number: _Optional[int] = ..., etag: _Optional[str] = ..., url: _Optional[str] = ...) -> None: ... 118 119 class GetPresignedDownloadUrl(_message.Message): 120 __slots__ = () 121 class Response(_message.Message): 122 __slots__ = ("url", "headers", "file_size") 123 class HeadersEntry(_message.Message): 124 __slots__ = ("key", "value") 125 KEY_FIELD_NUMBER: _ClassVar[int] 126 VALUE_FIELD_NUMBER: _ClassVar[int] 127 key: str 128 value: str 129 def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... 130 URL_FIELD_NUMBER: _ClassVar[int] 131 HEADERS_FIELD_NUMBER: _ClassVar[int] 132 FILE_SIZE_FIELD_NUMBER: _ClassVar[int] 133 url: str 134 headers: _containers.ScalarMap[str, str] 135 file_size: int 136 def __init__(self, url: _Optional[str] = ..., headers: _Optional[_Mapping[str, str]] = ..., file_size: _Optional[int] = ...) -> None: ... 137 def __init__(self) -> None: ... 138 139 class MlflowArtifactsService(_service.service): ... 140 141 class MlflowArtifactsService_Stub(MlflowArtifactsService): ...