weave-python 0.28.2__py3-none-any.whl → 0.30.3__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.
- weave/weaveapi/auth/v1/service_pb2.py +194 -98
- weave/weaveapi/auth/v1/service_pb2.pyi +1288 -1134
- weave/weaveapi/auth/v1/service_pb2_grpc.pyi +248 -335
- weave/weaveapi/auth/v1/session_pb2.py +14 -6
- weave/weaveapi/auth/v1/session_pb2.pyi +109 -89
- weave/weaveapi/auth/v1/session_pb2_grpc.pyi +11 -10
- weave/weaveapi/auth/v1/usage_pb2.py +18 -14
- weave/weaveapi/auth/v1/usage_pb2.pyi +251 -197
- weave/weaveapi/auth/v1/usage_pb2_grpc.pyi +11 -10
- weave/weaveapi/auth/v1/user_pb2.py +60 -18
- weave/weaveapi/auth/v1/user_pb2.pyi +588 -505
- weave/weaveapi/auth/v1/user_pb2_grpc.pyi +11 -10
- weave/weaveapi/generate/v1/configuration_pb2.py +31 -19
- weave/weaveapi/generate/v1/configuration_pb2.pyi +277 -241
- weave/weaveapi/generate/v1/configuration_pb2_grpc.pyi +11 -10
- weave/weaveapi/generate/v1/generate_pb2.py +32 -6
- weave/weaveapi/generate/v1/generate_pb2.pyi +138 -40
- weave/weaveapi/generate/v1/generate_pb2_grpc.pyi +11 -10
- weave/weaveapi/generate/v1/service_pb2.py +52 -22
- weave/weaveapi/generate/v1/service_pb2.pyi +264 -135
- weave/weaveapi/generate/v1/service_pb2_grpc.py +47 -0
- weave/weaveapi/generate/v1/service_pb2_grpc.pyi +89 -78
- weave/weaveapi/llmx/v1/architecture_pb2.py +42 -42
- weave/weaveapi/llmx/v1/architecture_pb2.pyi +664 -555
- weave/weaveapi/llmx/v1/architecture_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/capabilities_pb2.py +88 -56
- weave/weaveapi/llmx/v1/capabilities_pb2.pyi +967 -852
- weave/weaveapi/llmx/v1/capabilities_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/model_pb2.py +56 -20
- weave/weaveapi/llmx/v1/model_pb2.pyi +533 -455
- weave/weaveapi/llmx/v1/model_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/pricing_pb2.py +24 -20
- weave/weaveapi/llmx/v1/pricing_pb2.pyi +194 -172
- weave/weaveapi/llmx/v1/pricing_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/provider_pb2.py +6 -6
- weave/weaveapi/llmx/v1/provider_pb2.pyi +84 -59
- weave/weaveapi/llmx/v1/provider_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/service_pb2.py +228 -90
- weave/weaveapi/llmx/v1/service_pb2.pyi +1651 -1403
- weave/weaveapi/llmx/v1/service_pb2_grpc.pyi +160 -203
- weave/weaveapi/mcpregistry/v1/server_pb2.py +16 -10
- weave/weaveapi/mcpregistry/v1/server_pb2.pyi +143 -121
- weave/weaveapi/mcpregistry/v1/server_pb2_grpc.pyi +11 -10
- weave/weaveapi/mcpregistry/v1/service_pb2.py +51 -31
- weave/weaveapi/mcpregistry/v1/service_pb2.pyi +132 -122
- weave/weaveapi/mcpregistry/v1/service_pb2_grpc.pyi +87 -112
- weave/weaveapi/payment/v1/invoice_pb2.py +38 -12
- weave/weaveapi/payment/v1/invoice_pb2.pyi +352 -291
- weave/weaveapi/payment/v1/invoice_pb2_grpc.pyi +11 -10
- weave/weaveapi/payment/v1/service_pb2.py +264 -98
- weave/weaveapi/payment/v1/service_pb2.pyi +1381 -1242
- weave/weaveapi/payment/v1/service_pb2_grpc.pyi +229 -319
- weave/weaveapi/payment/v1/subscription_pb2.py +99 -23
- weave/weaveapi/payment/v1/subscription_pb2.pyi +727 -611
- weave/weaveapi/payment/v1/subscription_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/auth_pb2.py +6 -6
- weave/weaveapi/storage/v1/auth_pb2.pyi +42 -29
- weave/weaveapi/storage/v1/auth_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/nosql_database_pb2.py +47 -23
- weave/weaveapi/storage/v1/nosql_database_pb2.pyi +438 -372
- weave/weaveapi/storage/v1/nosql_database_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/object_store_pb2.py +27 -13
- weave/weaveapi/storage/v1/object_store_pb2.pyi +203 -187
- weave/weaveapi/storage/v1/object_store_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/service_pb2.py +96 -36
- weave/weaveapi/storage/v1/service_pb2.pyi +414 -357
- weave/weaveapi/storage/v1/service_pb2_grpc.pyi +88 -107
- weave/weaveapi/storage/v1/sql_database_pb2.py +39 -23
- weave/weaveapi/storage/v1/sql_database_pb2.pyi +481 -400
- weave/weaveapi/storage/v1/sql_database_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/storage_pb2.py +20 -6
- weave/weaveapi/storage/v1/storage_pb2.pyi +79 -70
- weave/weaveapi/storage/v1/storage_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/dataset_pb2.py +14 -12
- weave/weaveapi/synthesize/v1/dataset_pb2.pyi +158 -128
- weave/weaveapi/synthesize/v1/dataset_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/inline_data_pb2.py +9 -9
- weave/weaveapi/synthesize/v1/inline_data_pb2.pyi +31 -27
- weave/weaveapi/synthesize/v1/inline_data_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/relationship_pb2.py +19 -11
- weave/weaveapi/synthesize/v1/relationship_pb2.pyi +67 -64
- weave/weaveapi/synthesize/v1/relationship_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/service_pb2.py +42 -24
- weave/weaveapi/synthesize/v1/service_pb2.pyi +202 -168
- weave/weaveapi/synthesize/v1/service_pb2_grpc.pyi +67 -79
- weave/weaveapi/synthesize/v1/training_pb2.py +19 -13
- weave/weaveapi/synthesize/v1/training_pb2.pyi +119 -106
- weave/weaveapi/synthesize/v1/training_pb2_grpc.pyi +11 -10
- weave/weavesql/llmxdb/capabilities.py +487 -0
- weave/weavesql/llmxdb/changes.py +297 -0
- weave/weavesql/llmxdb/models.py +594 -0
- weave/weavesql/llmxdb/providers.py +348 -0
- weave/weavesql/llmxdb/scraper_runs.py +287 -0
- weave/weavesql/llmxdb/search.py +721 -0
- weave/weavesql/weavedb/dataset.py +75 -0
- weave/weavesql/weavedb/models.py +135 -0
- weave/weavesql/weavedb/relationships.py +72 -0
- weave/weavesql/weavedb/storage.py +113 -0
- weave/weavesql/weavedb/synthesizer.py +107 -0
- {weave_python-0.28.2.dist-info → weave_python-0.30.3.dist-info}/METADATA +3 -3
- weave_python-0.30.3.dist-info/RECORD +131 -0
- {weave_python-0.28.2.dist-info → weave_python-0.30.3.dist-info}/WHEEL +1 -1
- weave_python-0.28.2.dist-info/RECORD +0 -120
- {weave_python-0.28.2.dist-info → weave_python-0.30.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -3,18 +3,19 @@
|
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
import abc
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import grpc
|
|
10
|
-
import typing
|
|
6
|
+
from collections import abc as _abc
|
|
7
|
+
from grpc import aio as _aio
|
|
8
|
+
import abc as _abc_1
|
|
9
|
+
import grpc as _grpc
|
|
10
|
+
import typing as _typing
|
|
11
11
|
|
|
12
|
-
_T =
|
|
12
|
+
_T = _typing.TypeVar("_T")
|
|
13
13
|
|
|
14
14
|
class _MaybeAsyncIterator(
|
|
15
|
-
|
|
16
|
-
collections.abc.Iterator[_T],
|
|
17
|
-
metaclass=abc.ABCMeta,
|
|
15
|
+
_abc.AsyncIterator[_T], _abc.Iterator[_T], metaclass=_abc_1.ABCMeta
|
|
18
16
|
): ...
|
|
19
|
-
class _ServicerContext(
|
|
17
|
+
class _ServicerContext(_grpc.ServicerContext, _aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
20
18
|
...
|
|
19
|
+
|
|
20
|
+
GRPC_GENERATED_VERSION: str
|
|
21
|
+
GRPC_VERSION: str
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: weaveapi/storage/v1/object_store.proto
|
|
5
|
-
# Protobuf Python Version: 6.
|
|
5
|
+
# Protobuf Python Version: 6.33.5
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
|
|
8
8
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -14,8 +14,8 @@ from google.protobuf.internal import builder as _builder
|
|
|
14
14
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
15
15
|
_runtime_version.Domain.PUBLIC,
|
|
16
16
|
6,
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
33,
|
|
18
|
+
5,
|
|
19
19
|
"",
|
|
20
20
|
"weaveapi/storage/v1/object_store.proto",
|
|
21
21
|
)
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
28
|
-
b'\n&weaveapi/storage/v1/object_store.proto\x12\x13weaveapi.storage.v1\x1a\x1eweaveapi/storage/v1/auth.proto"\
|
|
28
|
+
b'\n&weaveapi/storage/v1/object_store.proto\x12\x13weaveapi.storage.v1\x1a!google/protobuf/go_features.proto\x1a\x1eweaveapi/storage/v1/auth.proto"\x92\x02\n\x0bObjectStore\x12\x37\n\x06\x61ws_s3\x18\x01 \x01(\x0b\x32\x1a.weaveapi.storage.v1.AwsS3B\x02(\x01H\x00R\x05\x61wsS3\x12Y\n\x12\x61zure_blob_storage\x18\x02 \x01(\x0b\x32%.weaveapi.storage.v1.AzureBlobStorageB\x02(\x01H\x00R\x10\x61zureBlobStorage\x12_\n\x14google_cloud_storage\x18\x03 \x01(\x0b\x32\'.weaveapi.storage.v1.GoogleCloudStorageB\x02(\x01H\x00R\x12googleCloudStorageB\x0e\n\x0cobject_store"\xc0\x01\n\x05\x41wsS3\x12\x16\n\x06\x62ucket\x18\x01 \x01(\tR\x06\x62ucket\x12\x16\n\x06region\x18\x02 \x01(\tR\x06region\x12K\n\x0b\x63redentials\x18\n \x01(\x0b\x32#.weaveapi.storage.v1.AwsCredentialsB\x02(\x01H\x00R\x0b\x63redentials\x12\x32\n\x14use_instance_profile\x18\x0b \x01(\x08H\x00R\x12useInstanceProfileB\x06\n\x04\x61uth"\xd1\x01\n\x10\x41zureBlobStorage\x12\x1c\n\tcontainer\x18\x01 \x01(\tR\tcontainer\x12!\n\x0c\x61\x63\x63ount_name\x18\x02 \x01(\tR\x0b\x61\x63\x63ountName\x12\x1d\n\tsas_token\x18\n \x01(\tH\x00R\x08sasToken\x12!\n\x0b\x61\x63\x63ount_key\x18\x0b \x01(\tH\x00R\naccountKey\x12\x32\n\x14use_managed_identity\x18\x0c \x01(\x08H\x00R\x12useManagedIdentityB\x06\n\x04\x61uth"\xa2\x01\n\x12GoogleCloudStorage\x12\x16\n\x06\x62ucket\x18\x01 \x01(\tR\x06\x62ucket\x12\x32\n\x14service_account_json\x18\n \x01(\tH\x00R\x12serviceAccountJson\x12\x38\n\x17use_application_default\x18\x0b \x01(\x08H\x00R\x15useApplicationDefaultB\x06\n\x04\x61uthB\xdd\x01\n\x17\x63om.weaveapi.storage.v1B\x10ObjectStoreProtoP\x01Z:github.com/weave-labs/weave-go/weaveapi/storage/v1;storage\xa2\x02\x03WSX\xaa\x02\x13Weaveapi.Storage.V1\xca\x02\x13Weaveapi\\Storage\\V1\xe2\x02\x1fWeaveapi\\Storage\\V1\\GPBMetadata\xea\x02\x15Weaveapi::Storage::V1\x92\x03\x05\xd2>\x02\x10\x03\x62\x08\x65\x64itionsp\xe8\x07'
|
|
29
29
|
)
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
@@ -37,13 +37,27 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals["DESCRIPTOR"]._loaded_options = None
|
|
38
38
|
_globals[
|
|
39
39
|
"DESCRIPTOR"
|
|
40
|
-
]._serialized_options = b"\n\027com.weaveapi.storage.v1B\020ObjectStoreProtoP\001Z:github.com/weave-labs/weave-go/weaveapi/storage/v1;storage\242\002\003WSX\252\002\023Weaveapi.Storage.V1\312\002\023Weaveapi\\Storage\\V1\342\002\037Weaveapi\\Storage\\V1\\GPBMetadata\352\002\025Weaveapi::Storage::V1"
|
|
41
|
-
_globals["_OBJECTSTORE"].
|
|
42
|
-
_globals["_OBJECTSTORE"].
|
|
43
|
-
_globals["
|
|
44
|
-
_globals["
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
_globals["
|
|
48
|
-
|
|
40
|
+
]._serialized_options = b"\n\027com.weaveapi.storage.v1B\020ObjectStoreProtoP\001Z:github.com/weave-labs/weave-go/weaveapi/storage/v1;storage\242\002\003WSX\252\002\023Weaveapi.Storage.V1\312\002\023Weaveapi\\Storage\\V1\342\002\037Weaveapi\\Storage\\V1\\GPBMetadata\352\002\025Weaveapi::Storage::V1\222\003\005\322>\002\020\003"
|
|
41
|
+
_globals["_OBJECTSTORE"].fields_by_name["aws_s3"]._loaded_options = None
|
|
42
|
+
_globals["_OBJECTSTORE"].fields_by_name["aws_s3"]._serialized_options = b"(\001"
|
|
43
|
+
_globals["_OBJECTSTORE"].fields_by_name["azure_blob_storage"]._loaded_options = None
|
|
44
|
+
_globals["_OBJECTSTORE"].fields_by_name[
|
|
45
|
+
"azure_blob_storage"
|
|
46
|
+
]._serialized_options = b"(\001"
|
|
47
|
+
_globals["_OBJECTSTORE"].fields_by_name[
|
|
48
|
+
"google_cloud_storage"
|
|
49
|
+
]._loaded_options = None
|
|
50
|
+
_globals["_OBJECTSTORE"].fields_by_name[
|
|
51
|
+
"google_cloud_storage"
|
|
52
|
+
]._serialized_options = b"(\001"
|
|
53
|
+
_globals["_AWSS3"].fields_by_name["credentials"]._loaded_options = None
|
|
54
|
+
_globals["_AWSS3"].fields_by_name["credentials"]._serialized_options = b"(\001"
|
|
55
|
+
_globals["_OBJECTSTORE"]._serialized_start = 131
|
|
56
|
+
_globals["_OBJECTSTORE"]._serialized_end = 405
|
|
57
|
+
_globals["_AWSS3"]._serialized_start = 408
|
|
58
|
+
_globals["_AWSS3"]._serialized_end = 600
|
|
59
|
+
_globals["_AZUREBLOBSTORAGE"]._serialized_start = 603
|
|
60
|
+
_globals["_AZUREBLOBSTORAGE"]._serialized_end = 812
|
|
61
|
+
_globals["_GOOGLECLOUDSTORAGE"]._serialized_start = 815
|
|
62
|
+
_globals["_GOOGLECLOUDSTORAGE"]._serialized_end = 977
|
|
49
63
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -3,223 +3,239 @@
|
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import
|
|
10
|
-
import
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import message as _message
|
|
8
|
+
from weaveapi.storage.v1 import auth_pb2 as _auth_pb2
|
|
9
|
+
import builtins as _builtins
|
|
10
|
+
import sys
|
|
11
|
+
import typing as _typing
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
if sys.version_info >= (3, 10):
|
|
14
|
+
from typing import TypeAlias as _TypeAlias
|
|
15
|
+
else:
|
|
16
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
13
17
|
|
|
14
|
-
|
|
15
|
-
class ObjectStore(google.protobuf.message.Message):
|
|
16
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
18
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
@property
|
|
26
|
-
def
|
|
20
|
+
@_typing.final
|
|
21
|
+
class ObjectStore(_message.Message):
|
|
22
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
23
|
+
|
|
24
|
+
AWS_S3_FIELD_NUMBER: _builtins.int
|
|
25
|
+
AZURE_BLOB_STORAGE_FIELD_NUMBER: _builtins.int
|
|
26
|
+
GOOGLE_CLOUD_STORAGE_FIELD_NUMBER: _builtins.int
|
|
27
|
+
@_builtins.property
|
|
28
|
+
def aws_s3(self) -> Global___AwsS3: ...
|
|
29
|
+
@_builtins.property
|
|
30
|
+
def azure_blob_storage(self) -> Global___AzureBlobStorage: ...
|
|
31
|
+
@_builtins.property
|
|
32
|
+
def google_cloud_storage(self) -> Global___GoogleCloudStorage: ...
|
|
27
33
|
def __init__(
|
|
28
34
|
self,
|
|
29
35
|
*,
|
|
30
|
-
aws_s3:
|
|
31
|
-
azure_blob_storage:
|
|
32
|
-
google_cloud_storage:
|
|
33
|
-
) -> None: ...
|
|
34
|
-
def HasField(
|
|
35
|
-
self,
|
|
36
|
-
field_name: typing.Literal[
|
|
37
|
-
"aws_s3",
|
|
38
|
-
b"aws_s3",
|
|
39
|
-
"azure_blob_storage",
|
|
40
|
-
b"azure_blob_storage",
|
|
41
|
-
"google_cloud_storage",
|
|
42
|
-
b"google_cloud_storage",
|
|
43
|
-
"object_store",
|
|
44
|
-
b"object_store",
|
|
45
|
-
],
|
|
46
|
-
) -> builtins.bool: ...
|
|
47
|
-
def ClearField(
|
|
48
|
-
self,
|
|
49
|
-
field_name: typing.Literal[
|
|
50
|
-
"aws_s3",
|
|
51
|
-
b"aws_s3",
|
|
52
|
-
"azure_blob_storage",
|
|
53
|
-
b"azure_blob_storage",
|
|
54
|
-
"google_cloud_storage",
|
|
55
|
-
b"google_cloud_storage",
|
|
56
|
-
"object_store",
|
|
57
|
-
b"object_store",
|
|
58
|
-
],
|
|
36
|
+
aws_s3: Global___AwsS3 | None = ...,
|
|
37
|
+
azure_blob_storage: Global___AzureBlobStorage | None = ...,
|
|
38
|
+
google_cloud_storage: Global___GoogleCloudStorage | None = ...,
|
|
59
39
|
) -> None: ...
|
|
40
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
41
|
+
"aws_s3",
|
|
42
|
+
b"aws_s3",
|
|
43
|
+
"azure_blob_storage",
|
|
44
|
+
b"azure_blob_storage",
|
|
45
|
+
"google_cloud_storage",
|
|
46
|
+
b"google_cloud_storage",
|
|
47
|
+
"object_store",
|
|
48
|
+
b"object_store",
|
|
49
|
+
] # noqa: Y015
|
|
50
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
51
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
52
|
+
"aws_s3",
|
|
53
|
+
b"aws_s3",
|
|
54
|
+
"azure_blob_storage",
|
|
55
|
+
b"azure_blob_storage",
|
|
56
|
+
"google_cloud_storage",
|
|
57
|
+
b"google_cloud_storage",
|
|
58
|
+
"object_store",
|
|
59
|
+
b"object_store",
|
|
60
|
+
] # noqa: Y015
|
|
61
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
62
|
+
_WhichOneofReturnType_object_store: _TypeAlias = _typing.Literal[
|
|
63
|
+
"aws_s3", "azure_blob_storage", "google_cloud_storage"
|
|
64
|
+
] # noqa: Y015
|
|
65
|
+
_WhichOneofArgType_object_store: _TypeAlias = _typing.Literal[
|
|
66
|
+
"object_store", b"object_store"
|
|
67
|
+
] # noqa: Y015
|
|
60
68
|
def WhichOneof(
|
|
61
|
-
self, oneof_group:
|
|
62
|
-
) ->
|
|
63
|
-
typing.Literal["aws_s3", "azure_blob_storage", "google_cloud_storage"] | None
|
|
64
|
-
): ...
|
|
69
|
+
self, oneof_group: _WhichOneofArgType_object_store
|
|
70
|
+
) -> _WhichOneofReturnType_object_store | None: ...
|
|
65
71
|
|
|
66
|
-
|
|
72
|
+
Global___ObjectStore: _TypeAlias = ObjectStore # noqa: Y015
|
|
67
73
|
|
|
68
|
-
@
|
|
69
|
-
class AwsS3(
|
|
70
|
-
DESCRIPTOR:
|
|
74
|
+
@_typing.final
|
|
75
|
+
class AwsS3(_message.Message):
|
|
76
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
71
77
|
|
|
72
|
-
BUCKET_FIELD_NUMBER:
|
|
73
|
-
REGION_FIELD_NUMBER:
|
|
74
|
-
CREDENTIALS_FIELD_NUMBER:
|
|
75
|
-
USE_INSTANCE_PROFILE_FIELD_NUMBER:
|
|
76
|
-
bucket:
|
|
77
|
-
region:
|
|
78
|
-
use_instance_profile:
|
|
79
|
-
@property
|
|
80
|
-
def credentials(self) ->
|
|
78
|
+
BUCKET_FIELD_NUMBER: _builtins.int
|
|
79
|
+
REGION_FIELD_NUMBER: _builtins.int
|
|
80
|
+
CREDENTIALS_FIELD_NUMBER: _builtins.int
|
|
81
|
+
USE_INSTANCE_PROFILE_FIELD_NUMBER: _builtins.int
|
|
82
|
+
bucket: _builtins.str
|
|
83
|
+
region: _builtins.str
|
|
84
|
+
use_instance_profile: _builtins.bool
|
|
85
|
+
@_builtins.property
|
|
86
|
+
def credentials(self) -> _auth_pb2.AwsCredentials: ...
|
|
81
87
|
def __init__(
|
|
82
88
|
self,
|
|
83
89
|
*,
|
|
84
|
-
bucket:
|
|
85
|
-
region:
|
|
86
|
-
credentials:
|
|
87
|
-
use_instance_profile:
|
|
88
|
-
) -> None: ...
|
|
89
|
-
def HasField(
|
|
90
|
-
self,
|
|
91
|
-
field_name: typing.Literal[
|
|
92
|
-
"auth",
|
|
93
|
-
b"auth",
|
|
94
|
-
"credentials",
|
|
95
|
-
b"credentials",
|
|
96
|
-
"use_instance_profile",
|
|
97
|
-
b"use_instance_profile",
|
|
98
|
-
],
|
|
99
|
-
) -> builtins.bool: ...
|
|
100
|
-
def ClearField(
|
|
101
|
-
self,
|
|
102
|
-
field_name: typing.Literal[
|
|
103
|
-
"auth",
|
|
104
|
-
b"auth",
|
|
105
|
-
"bucket",
|
|
106
|
-
b"bucket",
|
|
107
|
-
"credentials",
|
|
108
|
-
b"credentials",
|
|
109
|
-
"region",
|
|
110
|
-
b"region",
|
|
111
|
-
"use_instance_profile",
|
|
112
|
-
b"use_instance_profile",
|
|
113
|
-
],
|
|
90
|
+
bucket: _builtins.str | None = ...,
|
|
91
|
+
region: _builtins.str | None = ...,
|
|
92
|
+
credentials: _auth_pb2.AwsCredentials | None = ...,
|
|
93
|
+
use_instance_profile: _builtins.bool | None = ...,
|
|
114
94
|
) -> None: ...
|
|
95
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
96
|
+
"auth",
|
|
97
|
+
b"auth",
|
|
98
|
+
"bucket",
|
|
99
|
+
b"bucket",
|
|
100
|
+
"credentials",
|
|
101
|
+
b"credentials",
|
|
102
|
+
"region",
|
|
103
|
+
b"region",
|
|
104
|
+
"use_instance_profile",
|
|
105
|
+
b"use_instance_profile",
|
|
106
|
+
] # noqa: Y015
|
|
107
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
108
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
109
|
+
"auth",
|
|
110
|
+
b"auth",
|
|
111
|
+
"bucket",
|
|
112
|
+
b"bucket",
|
|
113
|
+
"credentials",
|
|
114
|
+
b"credentials",
|
|
115
|
+
"region",
|
|
116
|
+
b"region",
|
|
117
|
+
"use_instance_profile",
|
|
118
|
+
b"use_instance_profile",
|
|
119
|
+
] # noqa: Y015
|
|
120
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
121
|
+
_WhichOneofReturnType_auth: _TypeAlias = _typing.Literal[
|
|
122
|
+
"credentials", "use_instance_profile"
|
|
123
|
+
] # noqa: Y015
|
|
124
|
+
_WhichOneofArgType_auth: _TypeAlias = _typing.Literal["auth", b"auth"] # noqa: Y015
|
|
115
125
|
def WhichOneof(
|
|
116
|
-
self, oneof_group:
|
|
117
|
-
) ->
|
|
126
|
+
self, oneof_group: _WhichOneofArgType_auth
|
|
127
|
+
) -> _WhichOneofReturnType_auth | None: ...
|
|
118
128
|
|
|
119
|
-
|
|
129
|
+
Global___AwsS3: _TypeAlias = AwsS3 # noqa: Y015
|
|
120
130
|
|
|
121
|
-
@
|
|
122
|
-
class AzureBlobStorage(
|
|
123
|
-
DESCRIPTOR:
|
|
131
|
+
@_typing.final
|
|
132
|
+
class AzureBlobStorage(_message.Message):
|
|
133
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
124
134
|
|
|
125
|
-
CONTAINER_FIELD_NUMBER:
|
|
126
|
-
ACCOUNT_NAME_FIELD_NUMBER:
|
|
127
|
-
SAS_TOKEN_FIELD_NUMBER:
|
|
128
|
-
ACCOUNT_KEY_FIELD_NUMBER:
|
|
129
|
-
USE_MANAGED_IDENTITY_FIELD_NUMBER:
|
|
130
|
-
container:
|
|
131
|
-
account_name:
|
|
132
|
-
sas_token:
|
|
133
|
-
account_key:
|
|
134
|
-
use_managed_identity:
|
|
135
|
+
CONTAINER_FIELD_NUMBER: _builtins.int
|
|
136
|
+
ACCOUNT_NAME_FIELD_NUMBER: _builtins.int
|
|
137
|
+
SAS_TOKEN_FIELD_NUMBER: _builtins.int
|
|
138
|
+
ACCOUNT_KEY_FIELD_NUMBER: _builtins.int
|
|
139
|
+
USE_MANAGED_IDENTITY_FIELD_NUMBER: _builtins.int
|
|
140
|
+
container: _builtins.str
|
|
141
|
+
account_name: _builtins.str
|
|
142
|
+
sas_token: _builtins.str
|
|
143
|
+
account_key: _builtins.str
|
|
144
|
+
use_managed_identity: _builtins.bool
|
|
135
145
|
def __init__(
|
|
136
146
|
self,
|
|
137
147
|
*,
|
|
138
|
-
container:
|
|
139
|
-
account_name:
|
|
140
|
-
sas_token:
|
|
141
|
-
account_key:
|
|
142
|
-
use_managed_identity:
|
|
143
|
-
) -> None: ...
|
|
144
|
-
def HasField(
|
|
145
|
-
self,
|
|
146
|
-
field_name: typing.Literal[
|
|
147
|
-
"account_key",
|
|
148
|
-
b"account_key",
|
|
149
|
-
"auth",
|
|
150
|
-
b"auth",
|
|
151
|
-
"sas_token",
|
|
152
|
-
b"sas_token",
|
|
153
|
-
"use_managed_identity",
|
|
154
|
-
b"use_managed_identity",
|
|
155
|
-
],
|
|
156
|
-
) -> builtins.bool: ...
|
|
157
|
-
def ClearField(
|
|
158
|
-
self,
|
|
159
|
-
field_name: typing.Literal[
|
|
160
|
-
"account_key",
|
|
161
|
-
b"account_key",
|
|
162
|
-
"account_name",
|
|
163
|
-
b"account_name",
|
|
164
|
-
"auth",
|
|
165
|
-
b"auth",
|
|
166
|
-
"container",
|
|
167
|
-
b"container",
|
|
168
|
-
"sas_token",
|
|
169
|
-
b"sas_token",
|
|
170
|
-
"use_managed_identity",
|
|
171
|
-
b"use_managed_identity",
|
|
172
|
-
],
|
|
148
|
+
container: _builtins.str | None = ...,
|
|
149
|
+
account_name: _builtins.str | None = ...,
|
|
150
|
+
sas_token: _builtins.str | None = ...,
|
|
151
|
+
account_key: _builtins.str | None = ...,
|
|
152
|
+
use_managed_identity: _builtins.bool | None = ...,
|
|
173
153
|
) -> None: ...
|
|
154
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
155
|
+
"account_key",
|
|
156
|
+
b"account_key",
|
|
157
|
+
"account_name",
|
|
158
|
+
b"account_name",
|
|
159
|
+
"auth",
|
|
160
|
+
b"auth",
|
|
161
|
+
"container",
|
|
162
|
+
b"container",
|
|
163
|
+
"sas_token",
|
|
164
|
+
b"sas_token",
|
|
165
|
+
"use_managed_identity",
|
|
166
|
+
b"use_managed_identity",
|
|
167
|
+
] # noqa: Y015
|
|
168
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
169
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
170
|
+
"account_key",
|
|
171
|
+
b"account_key",
|
|
172
|
+
"account_name",
|
|
173
|
+
b"account_name",
|
|
174
|
+
"auth",
|
|
175
|
+
b"auth",
|
|
176
|
+
"container",
|
|
177
|
+
b"container",
|
|
178
|
+
"sas_token",
|
|
179
|
+
b"sas_token",
|
|
180
|
+
"use_managed_identity",
|
|
181
|
+
b"use_managed_identity",
|
|
182
|
+
] # noqa: Y015
|
|
183
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
184
|
+
_WhichOneofReturnType_auth: _TypeAlias = _typing.Literal[
|
|
185
|
+
"sas_token", "account_key", "use_managed_identity"
|
|
186
|
+
] # noqa: Y015
|
|
187
|
+
_WhichOneofArgType_auth: _TypeAlias = _typing.Literal["auth", b"auth"] # noqa: Y015
|
|
174
188
|
def WhichOneof(
|
|
175
|
-
self, oneof_group:
|
|
176
|
-
) ->
|
|
189
|
+
self, oneof_group: _WhichOneofArgType_auth
|
|
190
|
+
) -> _WhichOneofReturnType_auth | None: ...
|
|
177
191
|
|
|
178
|
-
|
|
192
|
+
Global___AzureBlobStorage: _TypeAlias = AzureBlobStorage # noqa: Y015
|
|
179
193
|
|
|
180
|
-
@
|
|
181
|
-
class GoogleCloudStorage(
|
|
182
|
-
DESCRIPTOR:
|
|
194
|
+
@_typing.final
|
|
195
|
+
class GoogleCloudStorage(_message.Message):
|
|
196
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
183
197
|
|
|
184
|
-
BUCKET_FIELD_NUMBER:
|
|
185
|
-
SERVICE_ACCOUNT_JSON_FIELD_NUMBER:
|
|
186
|
-
USE_APPLICATION_DEFAULT_FIELD_NUMBER:
|
|
187
|
-
bucket:
|
|
188
|
-
service_account_json:
|
|
189
|
-
use_application_default:
|
|
198
|
+
BUCKET_FIELD_NUMBER: _builtins.int
|
|
199
|
+
SERVICE_ACCOUNT_JSON_FIELD_NUMBER: _builtins.int
|
|
200
|
+
USE_APPLICATION_DEFAULT_FIELD_NUMBER: _builtins.int
|
|
201
|
+
bucket: _builtins.str
|
|
202
|
+
service_account_json: _builtins.str
|
|
203
|
+
use_application_default: _builtins.bool
|
|
190
204
|
def __init__(
|
|
191
205
|
self,
|
|
192
206
|
*,
|
|
193
|
-
bucket:
|
|
194
|
-
service_account_json:
|
|
195
|
-
use_application_default:
|
|
196
|
-
) -> None: ...
|
|
197
|
-
def HasField(
|
|
198
|
-
self,
|
|
199
|
-
field_name: typing.Literal[
|
|
200
|
-
"auth",
|
|
201
|
-
b"auth",
|
|
202
|
-
"service_account_json",
|
|
203
|
-
b"service_account_json",
|
|
204
|
-
"use_application_default",
|
|
205
|
-
b"use_application_default",
|
|
206
|
-
],
|
|
207
|
-
) -> builtins.bool: ...
|
|
208
|
-
def ClearField(
|
|
209
|
-
self,
|
|
210
|
-
field_name: typing.Literal[
|
|
211
|
-
"auth",
|
|
212
|
-
b"auth",
|
|
213
|
-
"bucket",
|
|
214
|
-
b"bucket",
|
|
215
|
-
"service_account_json",
|
|
216
|
-
b"service_account_json",
|
|
217
|
-
"use_application_default",
|
|
218
|
-
b"use_application_default",
|
|
219
|
-
],
|
|
207
|
+
bucket: _builtins.str | None = ...,
|
|
208
|
+
service_account_json: _builtins.str | None = ...,
|
|
209
|
+
use_application_default: _builtins.bool | None = ...,
|
|
220
210
|
) -> None: ...
|
|
211
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
212
|
+
"auth",
|
|
213
|
+
b"auth",
|
|
214
|
+
"bucket",
|
|
215
|
+
b"bucket",
|
|
216
|
+
"service_account_json",
|
|
217
|
+
b"service_account_json",
|
|
218
|
+
"use_application_default",
|
|
219
|
+
b"use_application_default",
|
|
220
|
+
] # noqa: Y015
|
|
221
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
222
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
223
|
+
"auth",
|
|
224
|
+
b"auth",
|
|
225
|
+
"bucket",
|
|
226
|
+
b"bucket",
|
|
227
|
+
"service_account_json",
|
|
228
|
+
b"service_account_json",
|
|
229
|
+
"use_application_default",
|
|
230
|
+
b"use_application_default",
|
|
231
|
+
] # noqa: Y015
|
|
232
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
233
|
+
_WhichOneofReturnType_auth: _TypeAlias = _typing.Literal[
|
|
234
|
+
"service_account_json", "use_application_default"
|
|
235
|
+
] # noqa: Y015
|
|
236
|
+
_WhichOneofArgType_auth: _TypeAlias = _typing.Literal["auth", b"auth"] # noqa: Y015
|
|
221
237
|
def WhichOneof(
|
|
222
|
-
self, oneof_group:
|
|
223
|
-
) ->
|
|
238
|
+
self, oneof_group: _WhichOneofArgType_auth
|
|
239
|
+
) -> _WhichOneofReturnType_auth | None: ...
|
|
224
240
|
|
|
225
|
-
|
|
241
|
+
Global___GoogleCloudStorage: _TypeAlias = GoogleCloudStorage # noqa: Y015
|
|
@@ -3,18 +3,19 @@
|
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
import abc
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import grpc
|
|
10
|
-
import typing
|
|
6
|
+
from collections import abc as _abc
|
|
7
|
+
from grpc import aio as _aio
|
|
8
|
+
import abc as _abc_1
|
|
9
|
+
import grpc as _grpc
|
|
10
|
+
import typing as _typing
|
|
11
11
|
|
|
12
|
-
_T =
|
|
12
|
+
_T = _typing.TypeVar("_T")
|
|
13
13
|
|
|
14
14
|
class _MaybeAsyncIterator(
|
|
15
|
-
|
|
16
|
-
collections.abc.Iterator[_T],
|
|
17
|
-
metaclass=abc.ABCMeta,
|
|
15
|
+
_abc.AsyncIterator[_T], _abc.Iterator[_T], metaclass=_abc_1.ABCMeta
|
|
18
16
|
): ...
|
|
19
|
-
class _ServicerContext(
|
|
17
|
+
class _ServicerContext(_grpc.ServicerContext, _aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
20
18
|
...
|
|
19
|
+
|
|
20
|
+
GRPC_GENERATED_VERSION: str
|
|
21
|
+
GRPC_VERSION: str
|