From d72e2af857bfac2bdfa64ef1bef689f55c067c97 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Mon, 15 Jun 2020 23:38:29 +0000 Subject: [PATCH 01/12] feat: let create_channel accept credentials files --- google/api_core/grpc_helpers.py | 31 +++++++++++++++++++++++-------- noxfile.py | 3 +++ 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/google/api_core/grpc_helpers.py b/google/api_core/grpc_helpers.py index fde6c337..54718104 100644 --- a/google/api_core/grpc_helpers.py +++ b/google/api_core/grpc_helpers.py @@ -170,13 +170,16 @@ def wrap_errors(callable_): return _wrap_unary_errors(callable_) -def _create_composite_credentials(credentials=None, scopes=None, ssl_credentials=None): +def _create_composite_credentials(credentials=None, credentials_file=None, scopes=None, ssl_credentials=None): """Create the composite credentials for secure channels. Args: credentials (google.auth.credentials.Credentials): The credentials. If not specified, then this function will attempt to ascertain the credentials from the environment using :func:`google.auth.default`. + credentials_file (str): A file with credentials that can be loaded with + :func:`google.auth.load_credentials_from_file`. This argument is + mutually exclusive with credentials. scopes (Sequence[str]): A optional list of scopes needed for this service. These are only used when credentials are not specified and are passed to :func:`google.auth.default`. @@ -185,13 +188,19 @@ def _create_composite_credentials(credentials=None, scopes=None, ssl_credentials Returns: grpc.ChannelCredentials: The composed channel credentials object. + + Raises: + ValueError: If both a credentials object and credentials_file are passed. """ - if credentials is None: - credentials, _ = google.auth.default(scopes=scopes) + if credentials and credentials_file: + raise ValueError("'credentials' and 'credentials_file' are mutually exclusive.") + + if credentials_file: + credentials, _ = google.auth.load_credentials_from_file(credentials_file, scopes=scopes) + elif credentials: + credentials = google.auth.credentials.with_scopes_if_required(credentials, scopes) else: - credentials = google.auth.credentials.with_scopes_if_required( - credentials, scopes - ) + credentials, _ = google.auth.default(scopes=scopes) request = google.auth.transport.requests.Request() @@ -212,7 +221,7 @@ def _create_composite_credentials(credentials=None, scopes=None, ssl_credentials ) -def create_channel(target, credentials=None, scopes=None, ssl_credentials=None, **kwargs): +def create_channel(target, credentials=None, scopes=None, ssl_credentials=None, credentials_file=None, **kwargs): """Create a secure channel with credentials. Args: @@ -231,8 +240,14 @@ def create_channel(target, credentials=None, scopes=None, ssl_credentials=None, Returns: grpc.Channel: The created channel. """ + if credentials and credentials_file: + raise ValueError("'credentials' and 'credentials_file' are mutually exclusive.") + composite_credentials = _create_composite_credentials( - credentials, scopes, ssl_credentials + credentials=credentials, + credentials_file=credentials_file, + scopes=scopes, + ssl_credentials=ssl_credentials ) if HAS_GRPC_GCP: diff --git a/noxfile.py b/noxfile.py index 989bb9be..247990cf 100644 --- a/noxfile.py +++ b/noxfile.py @@ -60,6 +60,9 @@ def default(session): ] pytest_args.extend(session.posargs) + # TODO(busunkim): Remove once 'load_default_credentials_from_file' is available in google-auth + session.install("--force-reinstall", "git+https://github.com/googleapis/google-auth-library-python.git@support-scopes") + # Inject AsyncIO content, if version >= 3.6. if _greater_or_equal_than_36(session.python): session.install("asyncmock", "pytest-asyncio") From 21f6fac89031c4745400f195c947f2f38f0c30e5 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Tue, 16 Jun 2020 04:50:43 +0000 Subject: [PATCH 02/12] test: add unit tests --- google/api_core/grpc_helpers.py | 3 ++ google/api_core/grpc_helpers_async.py | 13 ++++- tests/asyncio/test_grpc_helpers_async.py | 56 +++++++++++++++++++++ tests/unit/test_grpc_helpers.py | 63 ++++++++++++++++++++++++ 4 files changed, 133 insertions(+), 2 deletions(-) diff --git a/google/api_core/grpc_helpers.py b/google/api_core/grpc_helpers.py index 54718104..bbf3b92e 100644 --- a/google/api_core/grpc_helpers.py +++ b/google/api_core/grpc_helpers.py @@ -234,6 +234,9 @@ def create_channel(target, credentials=None, scopes=None, ssl_credentials=None, are passed to :func:`google.auth.default`. ssl_credentials (grpc.ChannelCredentials): Optional SSL channel credentials. This can be used to specify different certificates. + credentials_file (str): A file with credentials that can be loaded with + :func:`google.auth.load_credentials_from_file`. This argument is + mutually exclusive with credentials. kwargs: Additional key-word args passed to :func:`grpc_gcp.secure_channel` or :func:`grpc.secure_channel`. diff --git a/google/api_core/grpc_helpers_async.py b/google/api_core/grpc_helpers_async.py index 9ded803c..d58cbc5a 100644 --- a/google/api_core/grpc_helpers_async.py +++ b/google/api_core/grpc_helpers_async.py @@ -206,7 +206,7 @@ def wrap_errors(callable_): return _wrap_stream_errors(callable_) -def create_channel(target, credentials=None, scopes=None, ssl_credentials=None, **kwargs): +def create_channel(target, credentials=None, scopes=None, ssl_credentials=None, credentials_file=None, **kwargs): """Create an AsyncIO secure channel with credentials. Args: @@ -219,13 +219,22 @@ def create_channel(target, credentials=None, scopes=None, ssl_credentials=None, are passed to :func:`google.auth.default`. ssl_credentials (grpc.ChannelCredentials): Optional SSL channel credentials. This can be used to specify different certificates. + credentials_file (str): A file with credentials that can be loaded with + :func:`google.auth.load_credentials_from_file`. This argument is + mutually exclusive with credentials. kwargs: Additional key-word args passed to :func:`aio.secure_channel`. Returns: aio.Channel: The created channel. """ + if credentials and credentials_file: + raise ValueError("'credentials' and 'credentials_file' are mutually exclusive.") + composite_credentials = grpc_helpers._create_composite_credentials( - credentials, scopes, ssl_credentials + credentials=credentials, + credentials_file=credentials_file, + scopes=scopes, + ssl_credentials=ssl_credentials ) return aio.secure_channel(target, composite_credentials, **kwargs) diff --git a/tests/asyncio/test_grpc_helpers_async.py b/tests/asyncio/test_grpc_helpers_async.py index 00539521..167b3684 100644 --- a/tests/asyncio/test_grpc_helpers_async.py +++ b/tests/asyncio/test_grpc_helpers_async.py @@ -317,6 +317,19 @@ def test_create_channel_implicit_with_scopes( grpc_secure_channel.assert_called_once_with(target, composite_creds) +def test_create_channel_explicit_with_duplicate_credentials(): + target = "example:443" + + with pytest.raises(ValueError) as excinfo: + grpc_helpers_async.create_channel( + target, + credentials_file="credentials.json", + credentials=mock.sentinel.credentials + ) + + assert "mutually exclusive" in str(excinfo.value) + + @mock.patch("grpc.composite_channel_credentials") @mock.patch("google.auth.credentials.with_scopes_if_required") @mock.patch("grpc.experimental.aio.secure_channel") @@ -350,6 +363,49 @@ def test_create_channel_explicit_scoped(grpc_secure_channel, composite_creds_cal grpc_secure_channel.assert_called_once_with(target, composite_creds) +@mock.patch("grpc.composite_channel_credentials") +@mock.patch("grpc.experimental.aio.secure_channel") +@mock.patch( + "google.auth.load_credentials_from_file", + return_value=(mock.sentinel.credentials, mock.sentinel.project) +) +def test_create_channnel_with_credentials_file(load_credentials_from_file, grpc_secure_channel, composite_creds_call): + target = "example.com:443" + + credentials_file = "/path/to/credentials/file.json" + composite_creds = composite_creds_call.return_value + + channel = grpc_helpers_async.create_channel( + target, credentials_file=credentials_file + ) + + google.auth.load_credentials_from_file.assert_called_once_with(credentials_file, scopes=None) + assert channel is grpc_secure_channel.return_value + grpc_secure_channel.assert_called_once_with(target, composite_creds) + + +@mock.patch("grpc.composite_channel_credentials") +@mock.patch("grpc.experimental.aio.secure_channel") +@mock.patch( + "google.auth.load_credentials_from_file", + return_value=(mock.sentinel.credentials, mock.sentinel.project) +) +def test_create_channel_with_credentials_file_and_scopes(load_credentials_from_file, grpc_secure_channel, composite_creds_call): + target = "example.com:443" + scopes = ["1", "2"] + + credentials_file = "/path/to/credentials/file.json" + composite_creds = composite_creds_call.return_value + + channel = grpc_helpers_async.create_channel( + target, credentials_file=credentials_file, scopes=scopes + ) + + google.auth.load_credentials_from_file.assert_called_once_with(credentials_file, scopes=scopes) + assert channel is grpc_secure_channel.return_value + grpc_secure_channel.assert_called_once_with(target, composite_creds) + + @pytest.mark.skipif(grpc_helpers_async.HAS_GRPC_GCP, reason="grpc_gcp module not available") @mock.patch("grpc.experimental.aio.secure_channel") def test_create_channel_without_grpc_gcp(grpc_secure_channel): diff --git a/tests/unit/test_grpc_helpers.py b/tests/unit/test_grpc_helpers.py index 1fec64f7..d1031b9d 100644 --- a/tests/unit/test_grpc_helpers.py +++ b/tests/unit/test_grpc_helpers.py @@ -272,6 +272,19 @@ def test_create_channel_implicit_with_scopes( grpc_secure_channel.assert_called_once_with(target, composite_creds) +def test_create_channel_explicit_with_duplicate_credentials(): + target = "example.com:443" + + with pytest.raises(ValueError) as excinfo: + grpc_helpers.create_channel( + target, + credentials_file="credentials.json", + credentials=mock.sentinel.credentials + ) + + assert "mutually exclusive" in str(excinfo.value) + + @mock.patch("grpc.composite_channel_credentials") @mock.patch("google.auth.credentials.with_scopes_if_required") @mock.patch("grpc.secure_channel") @@ -311,6 +324,56 @@ def test_create_channel_explicit_scoped(grpc_secure_channel, composite_creds_cal grpc_secure_channel.assert_called_once_with(target, composite_creds) +@mock.patch("grpc.composite_channel_credentials") +@mock.patch("grpc.secure_channel") +@mock.patch( + "google.auth.load_credentials_from_file", + return_value=(mock.sentinel.credentials, mock.sentinel.project) +) +def test_create_channel_with_credentials_file(load_credentials_from_file, grpc_secure_channel, composite_creds_call): + target = "example.com:443" + + credentials_file = "/path/to/credentials/file.json" + composite_creds = composite_creds_call.return_value + + channel = grpc_helpers.create_channel( + target, credentials_file=credentials_file + ) + + google.auth.load_credentials_from_file.assert_called_once_with(credentials_file, scopes=None) + + assert channel is grpc_secure_channel.return_value + if grpc_helpers.HAS_GRPC_GCP: + grpc_secure_channel.assert_called_once_with(target, composite_creds, None) + else: + grpc_secure_channel.assert_called_once_with(target, composite_creds) + + +@mock.patch("grpc.composite_channel_credentials") +@mock.patch("grpc.secure_channel") +@mock.patch( + "google.auth.load_credentials_from_file", + return_value=(mock.sentinel.credentials, mock.sentinel.project) +) +def test_create_channel_with_credentials_file_and_scopes(load_credentials_from_file, grpc_secure_channel, composite_creds_call): + target = "example.com:443" + scopes = ["1", "2"] + + credentials_file = "/path/to/credentials/file.json" + composite_creds = composite_creds_call.return_value + + channel = grpc_helpers.create_channel( + target, credentials_file=credentials_file, scopes=scopes + ) + + google.auth.load_credentials_from_file.assert_called_once_with(credentials_file, scopes=scopes) + assert channel is grpc_secure_channel.return_value + if grpc_helpers.HAS_GRPC_GCP: + grpc_secure_channel.assert_called_once_with(target, composite_creds, None) + else: + grpc_secure_channel.assert_called_once_with(target, composite_creds) + + @pytest.mark.skipif( not grpc_helpers.HAS_GRPC_GCP, reason="grpc_gcp module not available" ) From 2d55a3a3932f7703cb845d4225d17908941fbb47 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Tue, 16 Jun 2020 04:52:39 +0000 Subject: [PATCH 03/12] docs: update docstrings --- google/api_core/grpc_helpers.py | 3 + google/api_core/grpc_helpers_async.py | 3 + pytype_output/.ninja_deps | Bin 0 -> 16 bytes pytype_output/.ninja_log | 37 +++ pytype_output/build.ninja | 114 +++++++ pytype_output/imports/default.pyi | 3 + pytype_output/imports/google.__init__.imports | 0 .../imports/google.api_core.__init__.imports | 0 .../imports/google.api_core.bidi.imports | 2 + .../google.api_core.client_info.imports | 0 .../google.api_core.client_options.imports | 0 .../google.api_core.datetime_helpers.imports | 0 .../google.api_core.exceptions.imports | 1 + .../google.api_core.future.__init__.imports | 1 + .../google.api_core.future._helpers.imports | 0 ...oogle.api_core.future.async_future.imports | 7 + .../google.api_core.future.base.imports | 0 .../google.api_core.future.polling.imports | 7 + .../google.api_core.gapic_v1.__init__.imports | 22 ++ ...ogle.api_core.gapic_v1.client_info.imports | 1 + .../google.api_core.gapic_v1.config.imports | 6 + ...gle.api_core.gapic_v1.config_async.imports | 8 + .../google.api_core.gapic_v1.method.imports | 13 + ...gle.api_core.gapic_v1.method_async.imports | 16 + ...e.api_core.gapic_v1.routing_header.imports | 0 .../google.api_core.general_helpers.imports | 0 .../google.api_core.grpc_helpers.imports | 8 + ...google.api_core.grpc_helpers_async.imports | 10 + .../imports/google.api_core.iam.imports | 0 .../imports/google.api_core.operation.imports | 11 + .../google.api_core.operation_async.imports | 11 + ...le.api_core.operations_v1.__init__.imports | 29 ++ ...rations_v1.operations_async_client.imports | 27 ++ ...re.operations_v1.operations_client.imports | 26 ++ ...ations_v1.operations_client_config.imports | 0 .../google.api_core.page_iterator.imports | 0 ...oogle.api_core.page_iterator_async.imports | 1 + .../google.api_core.path_template.imports | 0 .../google.api_core.protobuf_helpers.imports | 0 .../imports/google.api_core.retry.imports | 4 + .../google.api_core.retry_async.imports | 5 + .../imports/google.api_core.timeout.imports | 2 + pytype_output/pyi/google/__init__.pyi | 7 + .../pyi/google/api_core/__init__.pyi | 8 + pytype_output/pyi/google/api_core/bidi.pyi | 102 +++++++ .../pyi/google/api_core/client_info.pyi | 20 ++ .../pyi/google/api_core/client_options.pyi | 16 + .../pyi/google/api_core/datetime_helpers.pyi | 39 +++ .../pyi/google/api_core/exceptions.pyi | 287 ++++++++++++++++++ .../pyi/google/api_core/future/__init__.pyi | 7 + .../pyi/google/api_core/future/_helpers.pyi | 10 + .../google/api_core/future/async_future.pyi | 34 +++ .../pyi/google/api_core/future/base.pyi | 27 ++ .../pyi/google/api_core/future/polling.pyi | 39 +++ .../pyi/google/api_core/gapic_v1/__init__.pyi | 12 + .../google/api_core/gapic_v1/client_info.pyi | 12 + .../pyi/google/api_core/gapic_v1/config.pyi | 36 +++ .../google/api_core/gapic_v1/config_async.pyi | 10 + .../pyi/google/api_core/gapic_v1/method.pyi | 24 ++ .../google/api_core/gapic_v1/method_async.pyi | 13 + .../api_core/gapic_v1/routing_header.pyi | 12 + .../pyi/google/api_core/general_helpers.pyi | 9 + .../pyi/google/api_core/grpc_helpers.pyi | 102 +++++++ .../google/api_core/grpc_helpers_async.pyi | 83 +++++ pytype_output/pyi/google/api_core/iam.pyi | 53 ++++ .../pyi/google/api_core/operation.pyi | 40 +++ .../pyi/google/api_core/operation_async.pyi | 33 ++ .../api_core/operations_v1/__init__.pyi | 10 + .../operations_v1/operations_async_client.pyi | 23 ++ .../operations_v1/operations_client.pyi | 23 ++ .../operations_client_config.pyi | 5 + .../pyi/google/api_core/page_iterator.pyi | 106 +++++++ .../google/api_core/page_iterator_async.pyi | 48 +++ .../pyi/google/api_core/path_template.pyi | 18 ++ .../pyi/google/api_core/protobuf_helpers.pyi | 31 ++ pytype_output/pyi/google/api_core/retry.pyi | 43 +++ .../pyi/google/api_core/retry_async.pyi | 38 +++ pytype_output/pyi/google/api_core/timeout.pyi | 36 +++ 78 files changed, 1794 insertions(+) create mode 100644 pytype_output/.ninja_deps create mode 100644 pytype_output/.ninja_log create mode 100644 pytype_output/build.ninja create mode 100644 pytype_output/imports/default.pyi create mode 100644 pytype_output/imports/google.__init__.imports create mode 100644 pytype_output/imports/google.api_core.__init__.imports create mode 100644 pytype_output/imports/google.api_core.bidi.imports create mode 100644 pytype_output/imports/google.api_core.client_info.imports create mode 100644 pytype_output/imports/google.api_core.client_options.imports create mode 100644 pytype_output/imports/google.api_core.datetime_helpers.imports create mode 100644 pytype_output/imports/google.api_core.exceptions.imports create mode 100644 pytype_output/imports/google.api_core.future.__init__.imports create mode 100644 pytype_output/imports/google.api_core.future._helpers.imports create mode 100644 pytype_output/imports/google.api_core.future.async_future.imports create mode 100644 pytype_output/imports/google.api_core.future.base.imports create mode 100644 pytype_output/imports/google.api_core.future.polling.imports create mode 100644 pytype_output/imports/google.api_core.gapic_v1.__init__.imports create mode 100644 pytype_output/imports/google.api_core.gapic_v1.client_info.imports create mode 100644 pytype_output/imports/google.api_core.gapic_v1.config.imports create mode 100644 pytype_output/imports/google.api_core.gapic_v1.config_async.imports create mode 100644 pytype_output/imports/google.api_core.gapic_v1.method.imports create mode 100644 pytype_output/imports/google.api_core.gapic_v1.method_async.imports create mode 100644 pytype_output/imports/google.api_core.gapic_v1.routing_header.imports create mode 100644 pytype_output/imports/google.api_core.general_helpers.imports create mode 100644 pytype_output/imports/google.api_core.grpc_helpers.imports create mode 100644 pytype_output/imports/google.api_core.grpc_helpers_async.imports create mode 100644 pytype_output/imports/google.api_core.iam.imports create mode 100644 pytype_output/imports/google.api_core.operation.imports create mode 100644 pytype_output/imports/google.api_core.operation_async.imports create mode 100644 pytype_output/imports/google.api_core.operations_v1.__init__.imports create mode 100644 pytype_output/imports/google.api_core.operations_v1.operations_async_client.imports create mode 100644 pytype_output/imports/google.api_core.operations_v1.operations_client.imports create mode 100644 pytype_output/imports/google.api_core.operations_v1.operations_client_config.imports create mode 100644 pytype_output/imports/google.api_core.page_iterator.imports create mode 100644 pytype_output/imports/google.api_core.page_iterator_async.imports create mode 100644 pytype_output/imports/google.api_core.path_template.imports create mode 100644 pytype_output/imports/google.api_core.protobuf_helpers.imports create mode 100644 pytype_output/imports/google.api_core.retry.imports create mode 100644 pytype_output/imports/google.api_core.retry_async.imports create mode 100644 pytype_output/imports/google.api_core.timeout.imports create mode 100644 pytype_output/pyi/google/__init__.pyi create mode 100644 pytype_output/pyi/google/api_core/__init__.pyi create mode 100644 pytype_output/pyi/google/api_core/bidi.pyi create mode 100644 pytype_output/pyi/google/api_core/client_info.pyi create mode 100644 pytype_output/pyi/google/api_core/client_options.pyi create mode 100644 pytype_output/pyi/google/api_core/datetime_helpers.pyi create mode 100644 pytype_output/pyi/google/api_core/exceptions.pyi create mode 100644 pytype_output/pyi/google/api_core/future/__init__.pyi create mode 100644 pytype_output/pyi/google/api_core/future/_helpers.pyi create mode 100644 pytype_output/pyi/google/api_core/future/async_future.pyi create mode 100644 pytype_output/pyi/google/api_core/future/base.pyi create mode 100644 pytype_output/pyi/google/api_core/future/polling.pyi create mode 100644 pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi create mode 100644 pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi create mode 100644 pytype_output/pyi/google/api_core/gapic_v1/config.pyi create mode 100644 pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi create mode 100644 pytype_output/pyi/google/api_core/gapic_v1/method.pyi create mode 100644 pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi create mode 100644 pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi create mode 100644 pytype_output/pyi/google/api_core/general_helpers.pyi create mode 100644 pytype_output/pyi/google/api_core/grpc_helpers.pyi create mode 100644 pytype_output/pyi/google/api_core/grpc_helpers_async.pyi create mode 100644 pytype_output/pyi/google/api_core/iam.pyi create mode 100644 pytype_output/pyi/google/api_core/operation.pyi create mode 100644 pytype_output/pyi/google/api_core/operation_async.pyi create mode 100644 pytype_output/pyi/google/api_core/operations_v1/__init__.pyi create mode 100644 pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi create mode 100644 pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi create mode 100644 pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi create mode 100644 pytype_output/pyi/google/api_core/page_iterator.pyi create mode 100644 pytype_output/pyi/google/api_core/page_iterator_async.pyi create mode 100644 pytype_output/pyi/google/api_core/path_template.pyi create mode 100644 pytype_output/pyi/google/api_core/protobuf_helpers.pyi create mode 100644 pytype_output/pyi/google/api_core/retry.pyi create mode 100644 pytype_output/pyi/google/api_core/retry_async.pyi create mode 100644 pytype_output/pyi/google/api_core/timeout.pyi diff --git a/google/api_core/grpc_helpers.py b/google/api_core/grpc_helpers.py index bbf3b92e..47d14ca9 100644 --- a/google/api_core/grpc_helpers.py +++ b/google/api_core/grpc_helpers.py @@ -242,6 +242,9 @@ def create_channel(target, credentials=None, scopes=None, ssl_credentials=None, Returns: grpc.Channel: The created channel. + + Raises: + ValueError: If both a credentials object and credentials_file are passed. """ if credentials and credentials_file: raise ValueError("'credentials' and 'credentials_file' are mutually exclusive.") diff --git a/google/api_core/grpc_helpers_async.py b/google/api_core/grpc_helpers_async.py index d58cbc5a..8c869e4a 100644 --- a/google/api_core/grpc_helpers_async.py +++ b/google/api_core/grpc_helpers_async.py @@ -226,6 +226,9 @@ def create_channel(target, credentials=None, scopes=None, ssl_credentials=None, Returns: aio.Channel: The created channel. + + Raises: + ValueError: If both a credentials object and credentials_file are passed. """ if credentials and credentials_file: raise ValueError("'credentials' and 'credentials_file' are mutually exclusive.") diff --git a/pytype_output/.ninja_deps b/pytype_output/.ninja_deps new file mode 100644 index 0000000000000000000000000000000000000000..e5675ec1d586af8d236baf921ad7835de2df96ac GIT binary patch literal 16 XcmY#Z$ji*jN=!*DDCS~eU|;|MDX9bw literal 0 HcmV?d00001 diff --git a/pytype_output/.ninja_log b/pytype_output/.ninja_log new file mode 100644 index 00000000..413e6b70 --- /dev/null +++ b/pytype_output/.ninja_log @@ -0,0 +1,37 @@ +# ninja log v5 +0 2143 1592282921904171668 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi 477e39c3d65c0357 +2143 2999 1592282922796250199 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/__init__.pyi a740beab0718871 +2999 7178 1592282926644588974 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi 7a262c3594ea2792 +7179 9837 1592282929380829850 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/protobuf_helpers.pyi b78b68b21c9b2103 +9837 13427 1592282932893139044 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/bidi.pyi aa01189f89a8529d +13427 15377 1592282935073330969 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi 23f8c209c0f65249 +15377 17344 1592282937117510921 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi 6e318e7f59c10a83 +17344 18960 1592282938737653545 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/_helpers.pyi 5b75188d74d97012 +18960 21587 1592282941313880333 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi b5a9084f29ed60de +21587 23593 1592282943330057820 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/polling.pyi d45fc28bb1bfb11b +23593 25795 1592282945546252915 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/path_template.pyi 1a603a63777be +25795 28467 1592282948126480056 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operation.pyi 2214c5c4bec6c91b +28467 29379 1592282949162571265 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_options.pyi c717701561424c66 +29379 31253 1592282950890723398 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/iam.pyi 18a8cb0aa69ec10 +31253 32318 1592282952106830453 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi 4d5a5912c5bd7027 +32318 33836 1592282953614963216 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi c51c31efd8f48ea0 +33836 36867 1592282956583224517 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi 8a0f6b13ff71b919 +36868 39282 1592282959019438980 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi 3a6ca0ebd50d0329 +39282 41634 1592282961335642879 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi 60540d1cda167341 +41635 43350 1592282963127800645 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi 428e5ca1de417ceb +43350 46208 1592282965852040464 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi ecea9ffc3ae5bfe6 +46208 49478 1592282969104326768 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi 1a211048bcfa7bcb +49478 50368 1592282970160419738 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi fc5dbfb2ec544f3d +50368 51684 1592282971436532075 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi 27b729a224e115d8 +51684 53968 1592282973740734918 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi f43fc0420781ec3b +53969 55075 1592282974864833874 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi 67e418417a65d034 +55075 57666 1592282977325050451 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi f6899e9710fde5ef +57666 58617 1592282978409145885 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi b5862b5f79dc5f73 +58617 59728 1592282979489240968 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator_async.pyi d11a07841a5c3050 +59728 61008 1592282980769353658 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi 8cb745c2918da0e9 +61008 62459 1592282982245483604 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/__init__.pyi 8677b6c6e5b57279 +62459 63756 1592282983521595942 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi 6ed907e84e45d98d +63756 64781 1592282984573688560 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/__init__.pyi 8a03fddf8b2dbaf5 +64781 66260 1592282986041817802 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/__init__.pyi 47b79cbdbbc92d23 +66260 68898 1592282988618044591 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/async_future.pyi bfefaef20179d36 +68898 72059 1592282991754320683 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operation_async.pyi f335566ab79d470b diff --git a/pytype_output/build.ninja b/pytype_output/build.ninja new file mode 100644 index 00000000..5aa09af6 --- /dev/null +++ b/pytype_output/build.ninja @@ -0,0 +1,114 @@ +rule infer + command = /usr/local/google/home/busunkim/github/python-api-core/.nox/pytype/bin/python -m pytype.single --imports_info $imports --module-name $module -V 3.6 -o $out --no-report-errors --nofail --quick $in + description = infer $module +rule check + command = /usr/local/google/home/busunkim/github/python-api-core/.nox/pytype/bin/python -m pytype.single --disable pyi-error --imports_info $imports --module-name $module -V 3.6 -o $out --analyze-annotated --nofail --quick $in + description = check $module +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/future/base.py + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.future.base.imports + module = google.api_core.future.base +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/__init__.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/future/__init__.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.future.__init__.imports + module = google.api_core.future.__init__ +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/exceptions.py + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.exceptions.imports + module = google.api_core.exceptions +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/bidi.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/bidi.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.bidi.imports + module = google.api_core.bidi +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/protobuf_helpers.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/protobuf_helpers.py + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.protobuf_helpers.imports + module = google.api_core.protobuf_helpers +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/datetime_helpers.py + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.datetime_helpers.imports + module = google.api_core.datetime_helpers +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/general_helpers.py + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.general_helpers.imports + module = google.api_core.general_helpers +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/retry.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.retry.imports + module = google.api_core.retry +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/_helpers.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/future/_helpers.py + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.future._helpers.imports + module = google.api_core.future._helpers +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/polling.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/future/polling.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.future.polling.imports + module = google.api_core.future.polling +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operation.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/operation.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/protobuf_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/polling.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.operation.imports + module = google.api_core.operation +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/path_template.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/path_template.py + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.path_template.imports + module = google.api_core.path_template +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/iam.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/iam.py + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.iam.imports + module = google.api_core.iam +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_options.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/client_options.py + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.client_options.imports + module = google.api_core.client_options +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/gapic_v1/routing_header.py + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.gapic_v1.routing_header.imports + module = google.api_core.gapic_v1.routing_header +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/retry_async.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.retry_async.imports + module = google.api_core.retry_async +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/timeout.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.timeout.imports + module = google.api_core.timeout +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/gapic_v1/config.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.gapic_v1.config.imports + module = google.api_core.gapic_v1.config +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/gapic_v1/config_async.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.gapic_v1.config_async.imports + module = google.api_core.gapic_v1.config_async +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/grpc_helpers.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.grpc_helpers.imports + module = google.api_core.grpc_helpers +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/grpc_helpers_async.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.grpc_helpers_async.imports + module = google.api_core.grpc_helpers_async +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/client_info.py + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.client_info.imports + module = google.api_core.client_info +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/gapic_v1/client_info.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.gapic_v1.client_info.imports + module = google.api_core.gapic_v1.client_info +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/gapic_v1/method.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.gapic_v1.method.imports + module = google.api_core.gapic_v1.method +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/gapic_v1/method_async.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.gapic_v1.method_async.imports + module = google.api_core.gapic_v1.method_async +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/gapic_v1/__init__.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.gapic_v1.__init__.imports + module = google.api_core.gapic_v1.__init__ +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/page_iterator.py + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.page_iterator.imports + module = google.api_core.page_iterator +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/operations_v1/operations_client_config.py + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.operations_v1.operations_client_config.imports + module = google.api_core.operations_v1.operations_client_config +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/operations_v1/operations_client.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.operations_v1.operations_client.imports + module = google.api_core.operations_v1.operations_client +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator_async.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/page_iterator_async.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.page_iterator_async.imports + module = google.api_core.page_iterator_async +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/operations_v1/operations_async_client.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator_async.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.operations_v1.operations_async_client.imports + module = google.api_core.operations_v1.operations_async_client +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/__init__.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/operations_v1/__init__.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.operations_v1.__init__.imports + module = google.api_core.operations_v1.__init__ +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/__init__.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/__init__.py + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.__init__.imports + module = google.__init__ +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/__init__.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/__init__.py + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.__init__.imports + module = google.api_core.__init__ +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/async_future.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/future/async_future.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.future.async_future.imports + module = google.api_core.future.async_future +build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operation_async.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/operation_async.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/protobuf_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/async_future.pyi + imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.operation_async.imports + module = google.api_core.operation_async diff --git a/pytype_output/imports/default.pyi b/pytype_output/imports/default.pyi new file mode 100644 index 00000000..7bb11b40 --- /dev/null +++ b/pytype_output/imports/default.pyi @@ -0,0 +1,3 @@ + +from typing import Any +def __getattr__(name) -> Any: ... diff --git a/pytype_output/imports/google.__init__.imports b/pytype_output/imports/google.__init__.imports new file mode 100644 index 00000000..e69de29b diff --git a/pytype_output/imports/google.api_core.__init__.imports b/pytype_output/imports/google.api_core.__init__.imports new file mode 100644 index 00000000..e69de29b diff --git a/pytype_output/imports/google.api_core.bidi.imports b/pytype_output/imports/google.api_core.bidi.imports new file mode 100644 index 00000000..df5770cb --- /dev/null +++ b/pytype_output/imports/google.api_core.bidi.imports @@ -0,0 +1,2 @@ +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi diff --git a/pytype_output/imports/google.api_core.client_info.imports b/pytype_output/imports/google.api_core.client_info.imports new file mode 100644 index 00000000..e69de29b diff --git a/pytype_output/imports/google.api_core.client_options.imports b/pytype_output/imports/google.api_core.client_options.imports new file mode 100644 index 00000000..e69de29b diff --git a/pytype_output/imports/google.api_core.datetime_helpers.imports b/pytype_output/imports/google.api_core.datetime_helpers.imports new file mode 100644 index 00000000..e69de29b diff --git a/pytype_output/imports/google.api_core.exceptions.imports b/pytype_output/imports/google.api_core.exceptions.imports new file mode 100644 index 00000000..8532f58f --- /dev/null +++ b/pytype_output/imports/google.api_core.exceptions.imports @@ -0,0 +1 @@ +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi diff --git a/pytype_output/imports/google.api_core.future.__init__.imports b/pytype_output/imports/google.api_core.future.__init__.imports new file mode 100644 index 00000000..829910ff --- /dev/null +++ b/pytype_output/imports/google.api_core.future.__init__.imports @@ -0,0 +1 @@ +google/api_core/future/base /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi diff --git a/pytype_output/imports/google.api_core.future._helpers.imports b/pytype_output/imports/google.api_core.future._helpers.imports new file mode 100644 index 00000000..e69de29b diff --git a/pytype_output/imports/google.api_core.future.async_future.imports b/pytype_output/imports/google.api_core.future.async_future.imports new file mode 100644 index 00000000..ecd4a8ac --- /dev/null +++ b/pytype_output/imports/google.api_core.future.async_future.imports @@ -0,0 +1,7 @@ +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi +google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi +google/api_core/retry_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi +google/api_core/future/base /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi diff --git a/pytype_output/imports/google.api_core.future.base.imports b/pytype_output/imports/google.api_core.future.base.imports new file mode 100644 index 00000000..e69de29b diff --git a/pytype_output/imports/google.api_core.future.polling.imports b/pytype_output/imports/google.api_core.future.polling.imports new file mode 100644 index 00000000..33cb5895 --- /dev/null +++ b/pytype_output/imports/google.api_core.future.polling.imports @@ -0,0 +1,7 @@ +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi +google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi +google/api_core/future/_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/_helpers.pyi +google/api_core/future/base /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi diff --git a/pytype_output/imports/google.api_core.gapic_v1.__init__.imports b/pytype_output/imports/google.api_core.gapic_v1.__init__.imports new file mode 100644 index 00000000..3eaf30cc --- /dev/null +++ b/pytype_output/imports/google.api_core.gapic_v1.__init__.imports @@ -0,0 +1,22 @@ +google/api_core/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi +google/api_core/gapic_v1/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi +google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi +google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi +google/api_core/gapic_v1/config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi +google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/grpc_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi +google/api_core/gapic_v1/method /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi +google/api_core/gapic_v1/routing_header /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi +google/api_core/retry_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi +google/api_core/gapic_v1/config_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi +grpc/experimental/aio/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/grpc_helpers_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi +google/api_core/gapic_v1/method_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi diff --git a/pytype_output/imports/google.api_core.gapic_v1.client_info.imports b/pytype_output/imports/google.api_core.gapic_v1.client_info.imports new file mode 100644 index 00000000..84ea1554 --- /dev/null +++ b/pytype_output/imports/google.api_core.gapic_v1.client_info.imports @@ -0,0 +1 @@ +google/api_core/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi diff --git a/pytype_output/imports/google.api_core.gapic_v1.config.imports b/pytype_output/imports/google.api_core.gapic_v1.config.imports new file mode 100644 index 00000000..dafa1b35 --- /dev/null +++ b/pytype_output/imports/google.api_core.gapic_v1.config.imports @@ -0,0 +1,6 @@ +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi +google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi +google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi diff --git a/pytype_output/imports/google.api_core.gapic_v1.config_async.imports b/pytype_output/imports/google.api_core.gapic_v1.config_async.imports new file mode 100644 index 00000000..a5ef32d0 --- /dev/null +++ b/pytype_output/imports/google.api_core.gapic_v1.config_async.imports @@ -0,0 +1,8 @@ +google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi +google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi +google/api_core/retry_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi +google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi +google/api_core/gapic_v1/config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi diff --git a/pytype_output/imports/google.api_core.gapic_v1.method.imports b/pytype_output/imports/google.api_core.gapic_v1.method.imports new file mode 100644 index 00000000..c9ce1f13 --- /dev/null +++ b/pytype_output/imports/google.api_core.gapic_v1.method.imports @@ -0,0 +1,13 @@ +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/grpc_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi +google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi +google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi +google/api_core/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi +google/api_core/gapic_v1/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi diff --git a/pytype_output/imports/google.api_core.gapic_v1.method_async.imports b/pytype_output/imports/google.api_core.gapic_v1.method_async.imports new file mode 100644 index 00000000..a65537cc --- /dev/null +++ b/pytype_output/imports/google.api_core.gapic_v1.method_async.imports @@ -0,0 +1,16 @@ +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +grpc/experimental/aio/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/grpc_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi +google/api_core/grpc_helpers_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi +google/api_core/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi +google/api_core/gapic_v1/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi +google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi +google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi +google/api_core/gapic_v1/method /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi diff --git a/pytype_output/imports/google.api_core.gapic_v1.routing_header.imports b/pytype_output/imports/google.api_core.gapic_v1.routing_header.imports new file mode 100644 index 00000000..e69de29b diff --git a/pytype_output/imports/google.api_core.general_helpers.imports b/pytype_output/imports/google.api_core.general_helpers.imports new file mode 100644 index 00000000..e69de29b diff --git a/pytype_output/imports/google.api_core.grpc_helpers.imports b/pytype_output/imports/google.api_core.grpc_helpers.imports new file mode 100644 index 00000000..32e6c1e6 --- /dev/null +++ b/pytype_output/imports/google.api_core.grpc_helpers.imports @@ -0,0 +1,8 @@ +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi +google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi diff --git a/pytype_output/imports/google.api_core.grpc_helpers_async.imports b/pytype_output/imports/google.api_core.grpc_helpers_async.imports new file mode 100644 index 00000000..ed8e9623 --- /dev/null +++ b/pytype_output/imports/google.api_core.grpc_helpers_async.imports @@ -0,0 +1,10 @@ +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +grpc/experimental/aio/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi +google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/grpc_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi diff --git a/pytype_output/imports/google.api_core.iam.imports b/pytype_output/imports/google.api_core.iam.imports new file mode 100644 index 00000000..e69de29b diff --git a/pytype_output/imports/google.api_core.operation.imports b/pytype_output/imports/google.api_core.operation.imports new file mode 100644 index 00000000..e80d4fed --- /dev/null +++ b/pytype_output/imports/google.api_core.operation.imports @@ -0,0 +1,11 @@ +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/api_core/protobuf_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/protobuf_helpers.pyi +google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi +google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi +google/api_core/future/_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/_helpers.pyi +google/api_core/future/base /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi +google/api_core/future/polling /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/polling.pyi +google/longrunning/operations_pb2 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/rpc/code_pb2 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi diff --git a/pytype_output/imports/google.api_core.operation_async.imports b/pytype_output/imports/google.api_core.operation_async.imports new file mode 100644 index 00000000..e9b3e553 --- /dev/null +++ b/pytype_output/imports/google.api_core.operation_async.imports @@ -0,0 +1,11 @@ +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/api_core/protobuf_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/protobuf_helpers.pyi +google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi +google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi +google/api_core/retry_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi +google/api_core/future/base /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi +google/api_core/future/async_future /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/async_future.pyi +google/longrunning/operations_pb2 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/rpc/code_pb2 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi diff --git a/pytype_output/imports/google.api_core.operations_v1.__init__.imports b/pytype_output/imports/google.api_core.operations_v1.__init__.imports new file mode 100644 index 00000000..9276047b --- /dev/null +++ b/pytype_output/imports/google.api_core.operations_v1.__init__.imports @@ -0,0 +1,29 @@ +google/api_core/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi +google/api_core/gapic_v1/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi +google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi +google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi +google/api_core/gapic_v1/config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi +google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/grpc_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi +google/api_core/gapic_v1/method /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi +google/api_core/gapic_v1/routing_header /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi +google/api_core/retry_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi +google/api_core/gapic_v1/config_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi +grpc/experimental/aio/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/grpc_helpers_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi +google/api_core/gapic_v1/method_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi +google/api_core/gapic_v1/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi +google/api_core/page_iterator /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi +google/api_core/operations_v1/operations_client_config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi +google/longrunning/operations_pb2 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/operations_v1/operations_client /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi +google/api_core/page_iterator_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator_async.pyi +google/api_core/operations_v1/operations_async_client /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi diff --git a/pytype_output/imports/google.api_core.operations_v1.operations_async_client.imports b/pytype_output/imports/google.api_core.operations_v1.operations_async_client.imports new file mode 100644 index 00000000..db0ac53b --- /dev/null +++ b/pytype_output/imports/google.api_core.operations_v1.operations_async_client.imports @@ -0,0 +1,27 @@ +google/api_core/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi +google/api_core/gapic_v1/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi +google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi +google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi +google/api_core/gapic_v1/config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi +google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/grpc_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi +google/api_core/gapic_v1/method /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi +google/api_core/gapic_v1/routing_header /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi +google/api_core/retry_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi +google/api_core/gapic_v1/config_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi +grpc/experimental/aio/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/grpc_helpers_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi +google/api_core/gapic_v1/method_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi +google/api_core/gapic_v1/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi +google/api_core/page_iterator /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi +google/api_core/page_iterator_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator_async.pyi +google/api_core/operations_v1/operations_client_config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi +google/longrunning/operations_pb2 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi diff --git a/pytype_output/imports/google.api_core.operations_v1.operations_client.imports b/pytype_output/imports/google.api_core.operations_v1.operations_client.imports new file mode 100644 index 00000000..48f6a376 --- /dev/null +++ b/pytype_output/imports/google.api_core.operations_v1.operations_client.imports @@ -0,0 +1,26 @@ +google/api_core/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi +google/api_core/gapic_v1/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi +google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi +google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi +google/api_core/gapic_v1/config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi +google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/grpc_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi +google/api_core/gapic_v1/method /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi +google/api_core/gapic_v1/routing_header /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi +google/api_core/retry_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi +google/api_core/gapic_v1/config_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi +grpc/experimental/aio/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/grpc_helpers_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi +google/api_core/gapic_v1/method_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi +google/api_core/gapic_v1/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi +google/api_core/page_iterator /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi +google/api_core/operations_v1/operations_client_config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi +google/longrunning/operations_pb2 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi diff --git a/pytype_output/imports/google.api_core.operations_v1.operations_client_config.imports b/pytype_output/imports/google.api_core.operations_v1.operations_client_config.imports new file mode 100644 index 00000000..e69de29b diff --git a/pytype_output/imports/google.api_core.page_iterator.imports b/pytype_output/imports/google.api_core.page_iterator.imports new file mode 100644 index 00000000..e69de29b diff --git a/pytype_output/imports/google.api_core.page_iterator_async.imports b/pytype_output/imports/google.api_core.page_iterator_async.imports new file mode 100644 index 00000000..28078146 --- /dev/null +++ b/pytype_output/imports/google.api_core.page_iterator_async.imports @@ -0,0 +1 @@ +google/api_core/page_iterator /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi diff --git a/pytype_output/imports/google.api_core.path_template.imports b/pytype_output/imports/google.api_core.path_template.imports new file mode 100644 index 00000000..e69de29b diff --git a/pytype_output/imports/google.api_core.protobuf_helpers.imports b/pytype_output/imports/google.api_core.protobuf_helpers.imports new file mode 100644 index 00000000..e69de29b diff --git a/pytype_output/imports/google.api_core.retry.imports b/pytype_output/imports/google.api_core.retry.imports new file mode 100644 index 00000000..679b27da --- /dev/null +++ b/pytype_output/imports/google.api_core.retry.imports @@ -0,0 +1,4 @@ +google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi diff --git a/pytype_output/imports/google.api_core.retry_async.imports b/pytype_output/imports/google.api_core.retry_async.imports new file mode 100644 index 00000000..6a0670bc --- /dev/null +++ b/pytype_output/imports/google.api_core.retry_async.imports @@ -0,0 +1,5 @@ +google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi +grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi +google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi +google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi diff --git a/pytype_output/imports/google.api_core.timeout.imports b/pytype_output/imports/google.api_core.timeout.imports new file mode 100644 index 00000000..2c5541c0 --- /dev/null +++ b/pytype_output/imports/google.api_core.timeout.imports @@ -0,0 +1,2 @@ +google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi +google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi diff --git a/pytype_output/pyi/google/__init__.pyi b/pytype_output/pyi/google/__init__.pyi new file mode 100644 index 00000000..b15193c0 --- /dev/null +++ b/pytype_output/pyi/google/__init__.pyi @@ -0,0 +1,7 @@ +# (generated with --quick) + +from typing import Iterable + +__path__: Iterable[str] +pkg_resources: module +pkgutil: module diff --git a/pytype_output/pyi/google/api_core/__init__.pyi b/pytype_output/pyi/google/api_core/__init__.pyi new file mode 100644 index 00000000..c97692a0 --- /dev/null +++ b/pytype_output/pyi/google/api_core/__init__.pyi @@ -0,0 +1,8 @@ +# (generated with --quick) + +import pkg_resources +from typing import Union + +__version__: str + +def get_distribution(dist: Union[str, pkg_resources.Distribution, pkg_resources.Requirement]) -> pkg_resources.Distribution: ... diff --git a/pytype_output/pyi/google/api_core/bidi.pyi b/pytype_output/pyi/google/api_core/bidi.pyi new file mode 100644 index 00000000..c9896f99 --- /dev/null +++ b/pytype_output/pyi/google/api_core/bidi.pyi @@ -0,0 +1,102 @@ +# (generated with --quick) + +from typing import Any, Generator, Iterator, List, Optional + +_BIDIRECTIONAL_CONSUMER_NAME: str +_LOGGER: logging.Logger +collections: module +datetime: module +exceptions: module +logging: module +queue: module +threading: module +time: module + +class BackgroundConsumer: + __doc__: str + _bidi_rpc: Any + _operational_lock: threading.Lock + _paused: bool + _thread: Optional[threading.Thread] + _wake: threading.Condition + is_active: Any + is_paused: Any + def __init__(self, bidi_rpc, on_response) -> None: ... + def _on_call_done(self, future) -> None: ... + def _on_response(self, _1) -> Any: ... + def _thread_main(self, ready) -> None: ... + def pause(self) -> None: ... + def resume(self) -> None: ... + def start(self) -> None: ... + def stop(self) -> None: ... + +class BidiRpc: + __doc__: str + _callbacks: list + _initial_request: Any + _is_active: bool + _request_generator: Optional[_RequestQueueGenerator] + _request_queue: queue.Queue[nothing] + _rpc_metadata: Any + call: Any + is_active: Any + pending_requests: Any + def __init__(self, start_rpc, initial_request = ..., metadata = ...) -> None: ... + def _on_call_done(self, future) -> None: ... + def _start_rpc(self, _1: Iterator) -> Any: ... + def add_done_callback(self, callback) -> None: ... + def close(self) -> None: ... + def open(self) -> None: ... + def recv(self) -> Any: ... + def send(self, request) -> None: ... + +class ResumableBidiRpc(BidiRpc): + __doc__: str + _callbacks: List[nothing] + _finalize_lock: threading.Lock + _finalized: bool + _initial_request: Any + _is_active: bool + _operational_lock: threading._RLock + _reopen_throttle: Optional[_Throttle] + _request_generator: Optional[_RequestQueueGenerator] + _request_queue: queue.Queue[nothing] + _rpc_metadata: Any + call: Any + is_active: bool + def __init__(self, start_rpc, should_recover, should_terminate = ..., initial_request = ..., metadata = ..., throttle_reopen = ...) -> None: ... + def _finalize(self, result) -> None: ... + def _on_call_done(self, future) -> None: ... + def _recoverable(self, method, *args, **kwargs) -> Any: ... + def _recv(self) -> Any: ... + def _reopen(self) -> None: ... + def _send(self, request) -> None: ... + def _should_recover(self, _1) -> Any: ... + def _should_terminate(self, _1) -> Any: ... + def _start_rpc(self, _1: Iterator) -> Any: ... + def close(self) -> None: ... + def recv(self) -> Any: ... + def send(self, request) -> Any: ... + +class _RequestQueueGenerator: + __doc__: str + _initial_request: Any + _period: Any + _queue: Any + call: Any + def __init__(self, queue, period = ..., initial_request = ...) -> None: ... + def __iter__(self) -> Generator[Any, Any, None]: ... + def _is_active(self) -> bool: ... + +class _Throttle: + __doc__: str + _access_limit: Any + _entry_lock: threading.Lock + _past_entries: collections.deque + _time_window: Any + def __enter__(self) -> Any: ... + def __exit__(self, *_) -> None: ... + def __init__(self, access_limit, time_window) -> None: ... + def __repr__(self) -> str: ... + +def _never_terminate(future_or_error) -> bool: ... diff --git a/pytype_output/pyi/google/api_core/client_info.pyi b/pytype_output/pyi/google/api_core/client_info.pyi new file mode 100644 index 00000000..31a26291 --- /dev/null +++ b/pytype_output/pyi/google/api_core/client_info.pyi @@ -0,0 +1,20 @@ +# (generated with --quick) + +from typing import Any, Optional + +_API_CORE_VERSION: str +_GRPC_VERSION: Optional[str] +_PY_VERSION: str +pkg_resources: module +platform: module + +class ClientInfo: + __doc__: str + api_core_version: Any + client_library_version: Any + gapic_version: Any + grpc_version: Any + python_version: Any + user_agent: Any + def __init__(self, python_version = ..., grpc_version = ..., api_core_version = ..., gapic_version = ..., client_library_version = ..., user_agent = ...) -> None: ... + def to_user_agent(self) -> str: ... diff --git a/pytype_output/pyi/google/api_core/client_options.pyi b/pytype_output/pyi/google/api_core/client_options.pyi new file mode 100644 index 00000000..e96f3088 --- /dev/null +++ b/pytype_output/pyi/google/api_core/client_options.pyi @@ -0,0 +1,16 @@ +# (generated with --quick) + +from typing import Any + +class ClientOptions: + __doc__: str + api_endpoint: Any + client_cert_source: Any + client_encrypted_cert_source: Any + credentials_file: Any + quota_project_id: Any + scopes: Any + def __init__(self, api_endpoint = ..., client_cert_source = ..., client_encrypted_cert_source = ..., quota_project_id = ..., credentials_file = ..., scopes = ...) -> None: ... + def __repr__(self) -> str: ... + +def from_dict(options) -> ClientOptions: ... diff --git a/pytype_output/pyi/google/api_core/datetime_helpers.pyi b/pytype_output/pyi/google/api_core/datetime_helpers.pyi new file mode 100644 index 00000000..fd3e4e97 --- /dev/null +++ b/pytype_output/pyi/google/api_core/datetime_helpers.pyi @@ -0,0 +1,39 @@ +# (generated with --quick) + +import google.protobuf.timestamp_pb2 +from typing import Any, Pattern, Type, TypeVar + +_RFC3339_MICROS: str +_RFC3339_NANOS: Pattern[str] +_RFC3339_NO_FRACTION: str +_UTC_EPOCH: datetime.datetime +calendar: module +datetime: module +pytz: module +re: module +timestamp_pb2: module + +_TDatetimeWithNanoseconds = TypeVar('_TDatetimeWithNanoseconds', bound=DatetimeWithNanoseconds) + +class DatetimeWithNanoseconds(datetime.datetime): + __slots__ = ["_nanosecond"] + __doc__: str + _nanosecond: Any + nanosecond: Any + def __new__(cls: Type[_TDatetimeWithNanoseconds], *args, **kw) -> _TDatetimeWithNanoseconds: ... + @classmethod + def from_rfc3339(cls, stamp) -> Any: ... + @classmethod + def from_timestamp_pb(cls, stamp) -> Any: ... + def rfc3339(self) -> str: ... + def timestamp_pb(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + +def from_iso8601_date(value) -> datetime.date: ... +def from_iso8601_time(value) -> datetime.time: ... +def from_microseconds(value) -> datetime.datetime: ... +def from_rfc3339(value) -> datetime.datetime: ... +def from_rfc3339_nanos(value) -> datetime.datetime: ... +def to_microseconds(value) -> Any: ... +def to_milliseconds(value) -> Any: ... +def to_rfc3339(value, ignore_zone = ...) -> Any: ... +def utcnow() -> datetime.datetime: ... diff --git a/pytype_output/pyi/google/api_core/exceptions.pyi b/pytype_output/pyi/google/api_core/exceptions.pyi new file mode 100644 index 00000000..e2b6269c --- /dev/null +++ b/pytype_output/pyi/google/api_core/exceptions.pyi @@ -0,0 +1,287 @@ +# (generated with --quick) + +import __future__ +from typing import Any, Optional, Type + +_GRPC_CODE_TO_EXCEPTION: dict +_HTTP_CODE_TO_EXCEPTION: dict +absolute_import: __future__._Feature +grpc: Optional[module] +http_client: module +six: module +unicode_literals: __future__._Feature + +class Aborted(Conflict): + __doc__: str + _errors: Any + _response: Any + grpc_status_code: Any + message: Any + +class AlreadyExists(Conflict): + __doc__: str + _errors: Any + _response: Any + grpc_status_code: Any + message: Any + +class BadGateway(ServerError): + __doc__: str + _errors: Any + _response: Any + code: int + message: Any + +class BadRequest(ClientError): + __doc__: str + _errors: Any + _response: Any + code: int + message: Any + +class Cancelled(ClientError): + __doc__: str + _errors: Any + _response: Any + code: int + grpc_status_code: Any + message: Any + +class ClientError(GoogleAPICallError): + __doc__: str + _errors: Any + _response: Any + message: Any + +class Conflict(ClientError): + __doc__: str + _errors: Any + _response: Any + code: int + message: Any + +class DataLoss(ServerError): + __doc__: str + _errors: Any + _response: Any + grpc_status_code: Any + message: Any + +class DeadlineExceeded(GatewayTimeout): + __doc__: str + _errors: Any + _response: Any + grpc_status_code: Any + message: Any + +class FailedPrecondition(BadRequest): + __doc__: str + _errors: Any + _response: Any + grpc_status_code: Any + message: Any + +class Forbidden(ClientError): + __doc__: str + _errors: Any + _response: Any + code: int + message: Any + +class GatewayTimeout(ServerError): + __doc__: str + _errors: Any + _response: Any + code: int + message: Any + +class GoogleAPICallError(GoogleAPIError, metaclass=_GoogleAPICallErrorMeta): + __doc__: str + _errors: Any + _response: Any + code: Any + errors: list + grpc_status_code: Any + message: Any + response: Any + def __init__(self, message, errors = ..., response = ...) -> None: ... + def __str__(self) -> str: ... + +class GoogleAPIError(Exception): + __doc__: str + +class InternalServerError(ServerError): + __doc__: str + _errors: Any + _response: Any + code: int + grpc_status_code: Any + message: Any + +class InvalidArgument(BadRequest): + __doc__: str + _errors: Any + _response: Any + grpc_status_code: Any + message: Any + +class LengthRequired(ClientError): + __doc__: str + _errors: Any + _response: Any + code: int + message: Any + +class MethodNotAllowed(ClientError): + __doc__: str + _errors: Any + _response: Any + code: int + message: Any + +class MethodNotImplemented(ServerError): + __doc__: str + _errors: Any + _response: Any + code: int + grpc_status_code: Any + message: Any + +class MovedPermanently(Redirection): + __doc__: str + _errors: Any + _response: Any + code: int + message: Any + +class NotFound(ClientError): + __doc__: str + _errors: Any + _response: Any + code: int + grpc_status_code: Any + message: Any + +class NotModified(Redirection): + __doc__: str + _errors: Any + _response: Any + code: int + message: Any + +class OutOfRange(BadRequest): + __doc__: str + _errors: Any + _response: Any + grpc_status_code: Any + message: Any + +class PermissionDenied(Forbidden): + __doc__: str + _errors: Any + _response: Any + grpc_status_code: Any + message: Any + +class PreconditionFailed(ClientError): + __doc__: str + _errors: Any + _response: Any + code: int + message: Any + +class Redirection(GoogleAPICallError): + __doc__: str + _errors: Any + _response: Any + message: Any + +class RequestRangeNotSatisfiable(ClientError): + __doc__: str + _errors: Any + _response: Any + code: int + message: Any + +class ResourceExhausted(TooManyRequests): + __doc__: str + _errors: Any + _response: Any + grpc_status_code: Any + message: Any + +class ResumeIncomplete(Redirection): + __doc__: str + _errors: Any + _response: Any + code: int + message: Any + +class RetryError(GoogleAPIError): + __doc__: str + _cause: Any + cause: Any + message: Any + def __init__(self, message, cause) -> None: ... + def __str__(self) -> str: ... + +class ServerError(GoogleAPICallError): + __doc__: str + _errors: Any + _response: Any + message: Any + +class ServiceUnavailable(ServerError): + __doc__: str + _errors: Any + _response: Any + code: int + grpc_status_code: Any + message: Any + +class TemporaryRedirect(Redirection): + __doc__: str + _errors: Any + _response: Any + code: int + message: Any + +class TooManyRequests(ClientError): + __doc__: str + _errors: Any + _response: Any + code: int + message: Any + +class Unauthenticated(Unauthorized): + __doc__: str + _errors: Any + _response: Any + grpc_status_code: Any + message: Any + +class Unauthorized(ClientError): + __doc__: str + _errors: Any + _response: Any + code: int + message: Any + +class Unknown(ServerError): + __doc__: str + _errors: Any + _response: Any + grpc_status_code: Any + message: Any + +class _GoogleAPICallErrorMeta(type): + __doc__: str + def __new__(mcs: Type[_GoogleAPICallErrorMeta], name, bases, class_dict) -> Any: ... + +def _is_informative_grpc_error(rpc_exc) -> bool: ... +def exception_class_for_grpc_status(status_code) -> Any: ... +def exception_class_for_http_status(status_code) -> Any: ... +def from_grpc_error(rpc_exc) -> Any: ... +def from_grpc_status(status_code, message, **kwargs) -> Any: ... +def from_http_response(response) -> Any: ... +def from_http_status(status_code, message, **kwargs) -> Any: ... diff --git a/pytype_output/pyi/google/api_core/future/__init__.pyi b/pytype_output/pyi/google/api_core/future/__init__.pyi new file mode 100644 index 00000000..7f1a7cb5 --- /dev/null +++ b/pytype_output/pyi/google/api_core/future/__init__.pyi @@ -0,0 +1,7 @@ +# (generated with --quick) + +import google.api_core.future.base +from typing import List, Type + +Future: Type[google.api_core.future.base.Future] +__all__: List[str] diff --git a/pytype_output/pyi/google/api_core/future/_helpers.pyi b/pytype_output/pyi/google/api_core/future/_helpers.pyi new file mode 100644 index 00000000..7149e083 --- /dev/null +++ b/pytype_output/pyi/google/api_core/future/_helpers.pyi @@ -0,0 +1,10 @@ +# (generated with --quick) + +from typing import Any + +_LOGGER: logging.Logger +logging: module +threading: module + +def safe_invoke_callback(callback, *args, **kwargs) -> Any: ... +def start_daemon_thread(*args, **kwargs) -> threading.Thread: ... diff --git a/pytype_output/pyi/google/api_core/future/async_future.pyi b/pytype_output/pyi/google/api_core/future/async_future.pyi new file mode 100644 index 00000000..7dccb4d5 --- /dev/null +++ b/pytype_output/pyi/google/api_core/future/async_future.pyi @@ -0,0 +1,34 @@ +# (generated with --quick) + +import asyncio.futures +import asyncio.tasks +import google.api_core.future.base +import google.api_core.retry_async +from typing import Any, Callable, Coroutine, Optional + +DEFAULT_RETRY: google.api_core.retry_async.AsyncRetry +RETRY_PREDICATE: Callable[[Any], Any] +asyncio: module +base: module +exceptions: module +retry: module +retry_async: module + +class AsyncFuture(google.api_core.future.base.Future): + __doc__: str + _background_task: Optional[asyncio.tasks.Task[None]] + _future: asyncio.futures.Future + _retry: Any + def __init__(self, retry = ...) -> None: ... + def _blocking_poll(self, timeout = ...) -> Coroutine[Any, Any, None]: ... + def _done_or_raise(self) -> Coroutine[Any, Any, None]: ... + def add_done_callback(self, fn) -> None: ... + def done(self, retry = ...) -> Coroutine[Any, Any, nothing]: ... + def exception(self, timeout = ...) -> Coroutine[Any, Any, Optional[BaseException]]: ... + def result(self, timeout = ...) -> coroutine: ... + def running(self) -> Coroutine[Any, Any, bool]: ... + def set_exception(self, exception) -> None: ... + def set_result(self, result) -> None: ... + +class _OperationNotComplete(Exception): + __doc__: str diff --git a/pytype_output/pyi/google/api_core/future/base.pyi b/pytype_output/pyi/google/api_core/future/base.pyi new file mode 100644 index 00000000..5d658580 --- /dev/null +++ b/pytype_output/pyi/google/api_core/future/base.pyi @@ -0,0 +1,27 @@ +# (generated with --quick) + +from typing import Any + +abc: module +six: module + +class Future(metaclass=abc.ABCMeta): + __doc__: str + @abstractmethod + def add_done_callback(self, fn) -> Any: ... + @abstractmethod + def cancel(self) -> Any: ... + @abstractmethod + def cancelled(self) -> Any: ... + @abstractmethod + def done(self) -> Any: ... + @abstractmethod + def exception(self, timeout = ...) -> Any: ... + @abstractmethod + def result(self, timeout = ...) -> Any: ... + @abstractmethod + def running(self) -> Any: ... + @abstractmethod + def set_exception(self, exception) -> Any: ... + @abstractmethod + def set_result(self, result) -> Any: ... diff --git a/pytype_output/pyi/google/api_core/future/polling.pyi b/pytype_output/pyi/google/api_core/future/polling.pyi new file mode 100644 index 00000000..10edc35b --- /dev/null +++ b/pytype_output/pyi/google/api_core/future/polling.pyi @@ -0,0 +1,39 @@ +# (generated with --quick) + +import google.api_core.future.base +import google.api_core.retry +import threading +from typing import Any, Callable, Optional + +DEFAULT_RETRY: google.api_core.retry.Retry +RETRY_PREDICATE: Callable[[Any], Any] +_helpers: module +abc: module +base: module +concurrent: module +exceptions: module +retry: module + +class PollingFuture(google.api_core.future.base.Future): + __doc__: str + _done_callbacks: list + _exception: Any + _polling_thread: Optional[threading.Thread] + _result: Any + _result_set: bool + _retry: Any + def __init__(self, retry = ...) -> None: ... + def _blocking_poll(self, timeout = ...) -> None: ... + def _done_or_raise(self) -> None: ... + def _invoke_callbacks(self, *args, **kwargs) -> None: ... + def add_done_callback(self, fn) -> None: ... + @abstractmethod + def done(self, retry = ...) -> Any: ... + def exception(self, timeout = ...) -> Any: ... + def result(self, timeout = ...) -> Any: ... + def running(self) -> bool: ... + def set_exception(self, exception) -> None: ... + def set_result(self, result) -> None: ... + +class _OperationNotComplete(Exception): + __doc__: str diff --git a/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi b/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi new file mode 100644 index 00000000..8ffd768d --- /dev/null +++ b/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi @@ -0,0 +1,12 @@ +# (generated with --quick) + +from typing import List + +__all__: List[str] +client_info: module +config: module +config_async: module +method: module +method_async: module +routing_header: module +sys: module diff --git a/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi b/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi new file mode 100644 index 00000000..12ccf937 --- /dev/null +++ b/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi @@ -0,0 +1,12 @@ +# (generated with --quick) + +import google.api_core.client_info +from typing import Tuple + +DEFAULT_CLIENT_INFO: ClientInfo +METRICS_METADATA_KEY: str +client_info: module + +class ClientInfo(google.api_core.client_info.ClientInfo): + __doc__: str + def to_grpc_metadata(self) -> Tuple[str, str]: ... diff --git a/pytype_output/pyi/google/api_core/gapic_v1/config.pyi b/pytype_output/pyi/google/api_core/gapic_v1/config.pyi new file mode 100644 index 00000000..af27d28e --- /dev/null +++ b/pytype_output/pyi/google/api_core/gapic_v1/config.pyi @@ -0,0 +1,36 @@ +# (generated with --quick) + +import google.api_core.timeout +from typing import Any, Callable, Dict, Iterable, Sized, Tuple, Type, TypeVar + +MethodConfig = `namedtuple-MethodConfig-retry-timeout` + +_MILLIS_PER_SECOND: float +collections: module +exceptions: module +grpc: module +retry: module +six: module +timeout: module + +_Tnamedtuple-MethodConfig-retry-timeout = TypeVar('_Tnamedtuple-MethodConfig-retry-timeout', bound=`namedtuple-MethodConfig-retry-timeout`) + +class `namedtuple-MethodConfig-retry-timeout`(tuple): + __slots__ = ["retry", "timeout"] + __dict__: collections.OrderedDict[str, Any] + _fields: Tuple[str, str] + retry: Any + timeout: Any + def __getnewargs__(self) -> Tuple[Any, Any]: ... + def __getstate__(self) -> None: ... + def __init__(self, *args, **kwargs) -> None: ... + def __new__(cls: Type[`_Tnamedtuple-MethodConfig-retry-timeout`], retry, timeout) -> `_Tnamedtuple-MethodConfig-retry-timeout`: ... + def _asdict(self) -> collections.OrderedDict[str, Any]: ... + @classmethod + def _make(cls: Type[`_Tnamedtuple-MethodConfig-retry-timeout`], iterable: Iterable, new = ..., len: Callable[[Sized], int] = ...) -> `_Tnamedtuple-MethodConfig-retry-timeout`: ... + def _replace(self: `_Tnamedtuple-MethodConfig-retry-timeout`, **kwds) -> `_Tnamedtuple-MethodConfig-retry-timeout`: ... + +def _exception_class_for_grpc_status_name(name) -> Any: ... +def _retry_from_retry_config(retry_params, retry_codes, retry_impl = ...) -> Any: ... +def _timeout_from_retry_config(retry_params) -> google.api_core.timeout.ExponentialTimeout: ... +def parse_method_configs(interface_config, retry_impl = ...) -> Dict[Any, `namedtuple-MethodConfig-retry-timeout`]: ... diff --git a/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi b/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi new file mode 100644 index 00000000..55f3ddbb --- /dev/null +++ b/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi @@ -0,0 +1,10 @@ +# (generated with --quick) + +import google.api_core.gapic_v1.config +from typing import Any, Dict, Type + +MethodConfig: Type[google.api_core.gapic_v1.config.`namedtuple-MethodConfig-retry-timeout`] +config: module +retry_async: module + +def parse_method_configs(interface_config) -> Dict[Any, google.api_core.gapic_v1.config.`namedtuple-MethodConfig-retry-timeout`]: ... diff --git a/pytype_output/pyi/google/api_core/gapic_v1/method.pyi b/pytype_output/pyi/google/api_core/gapic_v1/method.pyi new file mode 100644 index 00000000..59939255 --- /dev/null +++ b/pytype_output/pyi/google/api_core/gapic_v1/method.pyi @@ -0,0 +1,24 @@ +# (generated with --quick) + +from typing import Any, Callable + +DEFAULT: Any +USE_DEFAULT_METADATA: Any +client_info: module +general_helpers: module +grpc_helpers: module +timeout: module + +class _GapicCallable: + __doc__: str + _metadata: Any + _retry: Any + _target: Any + _timeout: Any + def __call__(self, *args, **kwargs) -> Any: ... + def __init__(self, target, retry, timeout, metadata = ...) -> None: ... + +def _apply_decorators(func, decorators) -> Any: ... +def _determine_timeout(default_timeout, specified_timeout, retry) -> Any: ... +def _is_not_none_or_false(value) -> bool: ... +def wrap_method(func, default_retry = ..., default_timeout = ..., client_info = ...) -> Callable: ... diff --git a/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi b/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi new file mode 100644 index 00000000..ca36a317 --- /dev/null +++ b/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi @@ -0,0 +1,13 @@ +# (generated with --quick) + +import google.api_core.gapic_v1.method +from typing import Any, Callable, Type + +DEFAULT: Any +USE_DEFAULT_METADATA: Any +_GapicCallable: Type[google.api_core.gapic_v1.method._GapicCallable] +client_info: module +general_helpers: module +grpc_helpers_async: module + +def wrap_method(func, default_retry = ..., default_timeout = ..., client_info = ...) -> Callable: ... diff --git a/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi b/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi new file mode 100644 index 00000000..a70b43b3 --- /dev/null +++ b/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi @@ -0,0 +1,12 @@ +# (generated with --quick) + +from typing import Any, Callable, Mapping, Sequence, Tuple, TypeVar, Union + +ROUTING_METADATA_KEY: str +sys: module + +AnyStr = TypeVar('AnyStr', str, bytes) + +def to_grpc_metadata(params) -> Tuple[str, str]: ... +def to_routing_header(params) -> str: ... +def urlencode(query: Union[Mapping, Sequence[Tuple[Any, Any]]], doseq: bool = ..., safe: AnyStr = ..., encoding: str = ..., errors: str = ..., quote_via: Callable[[str, AnyStr, str, str], str] = ...) -> str: ... diff --git a/pytype_output/pyi/google/api_core/general_helpers.pyi b/pytype_output/pyi/google/api_core/general_helpers.pyi new file mode 100644 index 00000000..7236608a --- /dev/null +++ b/pytype_output/pyi/google/api_core/general_helpers.pyi @@ -0,0 +1,9 @@ +# (generated with --quick) + +from typing import Callable, Tuple + +_PARTIAL_VALID_ASSIGNMENTS: Tuple[str] +functools: module +six: module + +def wraps(wrapped) -> Callable[[Callable], Callable]: ... diff --git a/pytype_output/pyi/google/api_core/grpc_helpers.pyi b/pytype_output/pyi/google/api_core/grpc_helpers.pyi new file mode 100644 index 00000000..dbe7a7f7 --- /dev/null +++ b/pytype_output/pyi/google/api_core/grpc_helpers.pyi @@ -0,0 +1,102 @@ +# (generated with --quick) + +from typing import Any, Callable, Dict, Iterable, List, Sized, Tuple, Type, TypeVar + +_ChannelRequest = `namedtuple-_ChannelRequest-method-request` +_MethodCall = `namedtuple-_MethodCall-request-timeout-metadata-credentials` + +HAS_GRPC_GCP: bool +_STREAM_WRAP_CLASSES: Tuple[Any, Any] +collections: module +exceptions: module +general_helpers: module +google: module +grpc: module +grpc_gcp: module +six: module + +_T_StreamingResponseIterator = TypeVar('_T_StreamingResponseIterator', bound=_StreamingResponseIterator) +_Tnamedtuple-_ChannelRequest-method-request = TypeVar('_Tnamedtuple-_ChannelRequest-method-request', bound=`namedtuple-_ChannelRequest-method-request`) +_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials = TypeVar('_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials', bound=`namedtuple-_MethodCall-request-timeout-metadata-credentials`) + +class ChannelStub(Any): + __doc__: str + _method_stubs: Dict[Any, _CallableStub] + requests: List[nothing] + def __getattr__(self, key) -> Any: ... + def __init__(self, responses = ...) -> None: ... + def _stub_for_method(self, method) -> _CallableStub: ... + def close(self) -> None: ... + def stream_stream(self, method, request_serializer = ..., response_deserializer = ...) -> _CallableStub: ... + def stream_unary(self, method, request_serializer = ..., response_deserializer = ...) -> _CallableStub: ... + def subscribe(self, callback, try_to_connect = ...) -> None: ... + def unary_stream(self, method, request_serializer = ..., response_deserializer = ...) -> _CallableStub: ... + def unary_unary(self, method, request_serializer = ..., response_deserializer = ...) -> _CallableStub: ... + def unsubscribe(self, callback) -> None: ... + +class _CallableStub: + __doc__: str + _channel: Any + _method: Any + calls: List[`namedtuple-_MethodCall-request-timeout-metadata-credentials`] + requests: list + response: None + responses: None + def __call__(self, request, timeout = ..., metadata = ..., credentials = ...) -> Any: ... + def __init__(self, method, channel) -> None: ... + +class _StreamingResponseIterator(Any): + _stored_first_result: Any + _wrapped: Any + def __init__(self, wrapped) -> None: ... + def __iter__(self: _T_StreamingResponseIterator) -> _T_StreamingResponseIterator: ... + def __next__(self) -> Any: ... + def add_callback(self, callback) -> Any: ... + def cancel(self) -> Any: ... + def code(self) -> Any: ... + def details(self) -> Any: ... + def initial_metadata(self) -> Any: ... + def is_active(self) -> Any: ... + def next(self) -> Any: ... + def time_remaining(self) -> Any: ... + def trailing_metadata(self) -> Any: ... + +class `namedtuple-_ChannelRequest-method-request`(tuple): + __slots__ = ["method", "request"] + __dict__: collections.OrderedDict[str, Any] + _fields: Tuple[str, str] + method: Any + request: Any + def __getnewargs__(self) -> Tuple[Any, Any]: ... + def __getstate__(self) -> None: ... + def __init__(self, *args, **kwargs) -> None: ... + def __new__(cls: Type[`_Tnamedtuple-_ChannelRequest-method-request`], method, request) -> `_Tnamedtuple-_ChannelRequest-method-request`: ... + def _asdict(self) -> collections.OrderedDict[str, Any]: ... + @classmethod + def _make(cls: Type[`_Tnamedtuple-_ChannelRequest-method-request`], iterable: Iterable, new = ..., len: Callable[[Sized], int] = ...) -> `_Tnamedtuple-_ChannelRequest-method-request`: ... + def _replace(self: `_Tnamedtuple-_ChannelRequest-method-request`, **kwds) -> `_Tnamedtuple-_ChannelRequest-method-request`: ... + +class `namedtuple-_MethodCall-request-timeout-metadata-credentials`(tuple): + __slots__ = ["credentials", "metadata", "request", "timeout"] + __dict__: collections.OrderedDict[str, Any] + _fields: Tuple[str, str, str, str] + credentials: Any + metadata: Any + request: Any + timeout: Any + def __getnewargs__(self) -> Tuple[Any, Any, Any, Any]: ... + def __getstate__(self) -> None: ... + def __init__(self, *args, **kwargs) -> None: ... + def __new__(cls: Type[`_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials`], request, timeout, metadata, credentials) -> `_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials`: ... + def _asdict(self) -> collections.OrderedDict[str, Any]: ... + @classmethod + def _make(cls: Type[`_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials`], iterable: Iterable, new = ..., len: Callable[[Sized], int] = ...) -> `_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials`: ... + def _replace(self: `_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials`, **kwds) -> `_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials`: ... + +def _create_composite_credentials(credentials = ..., credentials_file = ..., scopes = ..., ssl_credentials = ...) -> Any: ... +def _patch_callable_name(callable_) -> None: ... +def _simplify_method_name(method) -> Any: ... +def _wrap_stream_errors(callable_) -> Callable: ... +def _wrap_unary_errors(callable_) -> Callable: ... +def create_channel(target, credentials = ..., scopes = ..., ssl_credentials = ..., credentials_file = ..., **kwargs) -> Any: ... +def wrap_errors(callable_) -> Callable: ... diff --git a/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi b/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi new file mode 100644 index 00000000..87262f74 --- /dev/null +++ b/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi @@ -0,0 +1,83 @@ +# (generated with --quick) + +import asyncio.futures +from typing import Any, Callable, Coroutine, Generator, Optional, TypeVar + +HAS_GRPC_GCP: bool +aio: module +asyncio: module +exceptions: module +functools: module +grpc: module +grpc_helpers: module + +_T_WrappedCall = TypeVar('_T_WrappedCall', bound=_WrappedCall) + +class FakeStreamUnaryCall(_WrappedStreamUnaryCall): + __doc__: str + _future: asyncio.futures.Future + response: Any + def __await__(self) -> Generator[nothing, Any, Any]: ... + def __init__(self, response = ...) -> None: ... + def wait_for_connection(self) -> Coroutine[Any, Any, None]: ... + +class FakeUnaryUnaryCall(_WrappedUnaryUnaryCall): + __doc__: str + _future: asyncio.futures.Future + response: Any + def __await__(self) -> Generator[nothing, Any, Any]: ... + def __init__(self, response = ...) -> None: ... + +class _WrappedCall(Any): + _call: Any + def __init__(self) -> None: ... + def add_done_callback(self, callback) -> None: ... + def cancel(self) -> Any: ... + def cancelled(self) -> Any: ... + def code(self) -> coroutine: ... + def details(self) -> coroutine: ... + def done(self) -> Any: ... + def initial_metadata(self) -> coroutine: ... + def time_remaining(self) -> Any: ... + def trailing_metadata(self) -> coroutine: ... + def wait_for_connection(self) -> Coroutine[Any, Any, None]: ... + def with_call(self: _T_WrappedCall, call) -> _T_WrappedCall: ... + +class _WrappedStreamRequestMixin(_WrappedCall): + _call: None + def done_writing(self) -> Coroutine[Any, Any, None]: ... + def write(self, request) -> Coroutine[Any, Any, None]: ... + +class _WrappedStreamResponseMixin(_WrappedCall): + _wrapped_async_generator: Optional[asyncgenerator] + def __aiter__(self) -> Any: ... + def __init__(self) -> None: ... + def _wrapped_aiter(self) -> asyncgenerator: ... + def read(self) -> coroutine: ... + +class _WrappedStreamStreamCall(_WrappedStreamRequestMixin, _WrappedStreamResponseMixin, Any): + __doc__: str + _call: Any + _wrapped_async_generator: None + +class _WrappedStreamUnaryCall(_WrappedUnaryResponseMixin, _WrappedStreamRequestMixin, Any): + __doc__: str + _call: Any + +class _WrappedUnaryResponseMixin(_WrappedCall): + _call: None + def __await__(self) -> Generator[nothing, Any, Any]: ... + +class _WrappedUnaryStreamCall(_WrappedStreamResponseMixin, Any): + __doc__: str + _call: Any + _wrapped_async_generator: None + +class _WrappedUnaryUnaryCall(_WrappedUnaryResponseMixin, Any): + __doc__: str + _call: Any + +def _wrap_stream_errors(callable_) -> Callable: ... +def _wrap_unary_errors(callable_) -> Callable: ... +def create_channel(target, credentials = ..., scopes = ..., ssl_credentials = ..., credentials_file = ..., **kwargs) -> Any: ... +def wrap_errors(callable_) -> Callable: ... diff --git a/pytype_output/pyi/google/api_core/iam.pyi b/pytype_output/pyi/google/api_core/iam.pyi new file mode 100644 index 00000000..de612c69 --- /dev/null +++ b/pytype_output/pyi/google/api_core/iam.pyi @@ -0,0 +1,53 @@ +# (generated with --quick) + +from typing import Any, Dict, Generator, List, MutableMapping, Set, Tuple + +EDITOR_ROLE: str +OWNER_ROLE: str +VIEWER_ROLE: str +_ASSIGNMENT_DEPRECATED_MSG: str +_DICT_ACCESS_MSG: str +_FACTORY_DEPRECATED_MSG: str +collections: module +collections_abc: module +operator: module +warnings: module + +class InvalidOperationException(Exception): + __doc__: str + +class Policy(MutableMapping): + _EDITOR_ROLES: Tuple[str] + _OWNER_ROLES: Tuple[str] + _VIEWER_ROLES: Tuple[str] + __doc__: str + _bindings: List[Dict[str, Any]] + bindings: Any + editors: frozenset + etag: Any + owners: frozenset + version: Any + viewers: frozenset + def __check_version__(self) -> None: ... + def __delitem__(self, key) -> None: ... + def __getitem__(self, key) -> Set[nothing]: ... + def __init__(self, etag = ..., version = ...) -> None: ... + def __iter__(self) -> Generator[nothing, Any, None]: ... + def __len__(self) -> int: ... + def __setitem__(self, key, value) -> None: ... + def _contains_conditions(self) -> bool: ... + @staticmethod + def all_users() -> str: ... + @staticmethod + def authenticated_users() -> str: ... + @staticmethod + def domain(domain) -> str: ... + @classmethod + def from_api_repr(cls, resource) -> Any: ... + @staticmethod + def group(email) -> str: ... + @staticmethod + def service_account(email) -> str: ... + def to_api_repr(self) -> Dict[str, Any]: ... + @staticmethod + def user(email) -> str: ... diff --git a/pytype_output/pyi/google/api_core/operation.pyi b/pytype_output/pyi/google/api_core/operation.pyi new file mode 100644 index 00000000..76b18fe4 --- /dev/null +++ b/pytype_output/pyi/google/api_core/operation.pyi @@ -0,0 +1,40 @@ +# (generated with --quick) + +import google.api_core.future.polling +from typing import Any + +code_pb2: module +exceptions: module +functools: module +json_format: module +operations_pb2: module +polling: module +protobuf_helpers: module +threading: module + +class Operation(google.api_core.future.polling.PollingFuture): + __doc__: str + _cancel: Any + _completion_lock: threading.Lock + _metadata_type: Any + _operation: Any + _refresh: Any + _result_type: Any + metadata: Any + operation: Any + def __init__(self, operation, refresh, cancel, result_type, metadata_type = ..., retry = ...) -> None: ... + def _refresh_and_update(self, retry = ...) -> None: ... + def _set_result_from_operation(self) -> None: ... + def cancel(self) -> bool: ... + def cancelled(self) -> Any: ... + @classmethod + def deserialize(self, payload) -> Any: ... + def done(self, retry = ...) -> Any: ... + +def _cancel_grpc(operations_stub, operation_name) -> None: ... +def _cancel_http(api_request, operation_name) -> None: ... +def _refresh_grpc(operations_stub, operation_name) -> Any: ... +def _refresh_http(api_request, operation_name) -> Any: ... +def from_gapic(operation, operations_client, result_type, **kwargs) -> Operation: ... +def from_grpc(operation, operations_stub, result_type, **kwargs) -> Operation: ... +def from_http_json(operation, api_request, result_type, **kwargs) -> Operation: ... diff --git a/pytype_output/pyi/google/api_core/operation_async.pyi b/pytype_output/pyi/google/api_core/operation_async.pyi new file mode 100644 index 00000000..0303b6f6 --- /dev/null +++ b/pytype_output/pyi/google/api_core/operation_async.pyi @@ -0,0 +1,33 @@ +# (generated with --quick) + +import google.api_core.future.async_future +from typing import Any, Coroutine + +async_future: module +code_pb2: module +exceptions: module +functools: module +operations_pb2: module +protobuf_helpers: module +threading: module + +class AsyncOperation(google.api_core.future.async_future.AsyncFuture): + __doc__: str + _cancel: Any + _completion_lock: threading.Lock + _metadata_type: Any + _operation: Any + _refresh: Any + _result_type: Any + metadata: Any + operation: Any + def __init__(self, operation, refresh, cancel, result_type, metadata_type = ..., retry = ...) -> None: ... + def _refresh_and_update(self, retry = ...) -> Coroutine[Any, Any, None]: ... + def _set_result_from_operation(self) -> None: ... + def cancel(self) -> Coroutine[Any, Any, bool]: ... + def cancelled(self) -> coroutine: ... + @classmethod + def deserialize(cls, payload) -> Any: ... + def done(self, retry = ...) -> coroutine: ... + +def from_gapic(operation, operations_client, result_type, **kwargs) -> AsyncOperation: ... diff --git a/pytype_output/pyi/google/api_core/operations_v1/__init__.pyi b/pytype_output/pyi/google/api_core/operations_v1/__init__.pyi new file mode 100644 index 00000000..b904aa39 --- /dev/null +++ b/pytype_output/pyi/google/api_core/operations_v1/__init__.pyi @@ -0,0 +1,10 @@ +# (generated with --quick) + +import google.api_core.operations_v1.operations_async_client +import google.api_core.operations_v1.operations_client +from typing import List, Type + +OperationsAsyncClient: Type[google.api_core.operations_v1.operations_async_client.OperationsAsyncClient] +OperationsClient: Type[google.api_core.operations_v1.operations_client.OperationsClient] +__all__: List[str] +sys: module diff --git a/pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi b/pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi new file mode 100644 index 00000000..1302e0f8 --- /dev/null +++ b/pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi @@ -0,0 +1,23 @@ +# (generated with --quick) + +import google.api_core.page_iterator_async +from typing import Any, Callable, Coroutine + +functools: module +gapic_v1: module +operations_client_config: module +operations_pb2: module +page_iterator_async: module + +class OperationsAsyncClient: + __doc__: str + _cancel_operation: Callable + _delete_operation: Callable + _get_operation: Callable + _list_operations: Callable + operations_stub: Any + def __init__(self, channel, client_config = ...) -> None: ... + def cancel_operation(self, name, retry = ..., timeout = ...) -> Coroutine[Any, Any, None]: ... + def delete_operation(self, name, retry = ..., timeout = ...) -> Coroutine[Any, Any, None]: ... + def get_operation(self, name, retry = ..., timeout = ...) -> coroutine: ... + def list_operations(self, name, filter_, retry = ..., timeout = ...) -> Coroutine[Any, Any, google.api_core.page_iterator_async.AsyncGRPCIterator]: ... diff --git a/pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi b/pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi new file mode 100644 index 00000000..ed84893f --- /dev/null +++ b/pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi @@ -0,0 +1,23 @@ +# (generated with --quick) + +import google.api_core.page_iterator +from typing import Any, Callable + +functools: module +gapic_v1: module +operations_client_config: module +operations_pb2: module +page_iterator: module + +class OperationsClient: + __doc__: str + _cancel_operation: Callable + _delete_operation: Callable + _get_operation: Callable + _list_operations: Callable + operations_stub: Any + def __init__(self, channel, client_config = ...) -> None: ... + def cancel_operation(self, name, retry = ..., timeout = ...) -> None: ... + def delete_operation(self, name, retry = ..., timeout = ...) -> None: ... + def get_operation(self, name, retry = ..., timeout = ...) -> Any: ... + def list_operations(self, name, filter_, retry = ..., timeout = ...) -> google.api_core.page_iterator.GRPCIterator: ... diff --git a/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi b/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi new file mode 100644 index 00000000..a2f6c536 --- /dev/null +++ b/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi @@ -0,0 +1,5 @@ +# (generated with --quick) + +from typing import Dict, List, Union + +config: Dict[str, Dict[str, Dict[str, Dict[str, Union[Dict[str, Union[float, int, str]], List[str]]]]]] diff --git a/pytype_output/pyi/google/api_core/page_iterator.pyi b/pytype_output/pyi/google/api_core/page_iterator.pyi new file mode 100644 index 00000000..39ef91d2 --- /dev/null +++ b/pytype_output/pyi/google/api_core/page_iterator.pyi @@ -0,0 +1,106 @@ +# (generated with --quick) + +from typing import Any, Dict, FrozenSet, Generator, TypeVar + +abc: module +six: module + +_T1 = TypeVar('_T1') +_TPage = TypeVar('_TPage', bound=Page) + +class GRPCIterator(Iterator): + _DEFAULT_REQUEST_TOKEN_FIELD: str + _DEFAULT_RESPONSE_TOKEN_FIELD: str + __doc__: str + _items_field: Any + _request: Any + _request_token_field: Any + _response_token_field: Any + _started: bool + client: Any + item_to_value: Any + max_results: Any + next_page_token: Any + num_results: int + page_number: int + def __init__(self, client, method, request, items_field, item_to_value = ..., request_token_field = ..., response_token_field = ..., max_results = ...) -> None: ... + def _has_next_page(self) -> bool: ... + def _method(self, _1) -> Any: ... + def _next_page(self) -> Page: ... + +class HTTPIterator(Iterator): + _DEFAULT_ITEMS_KEY: str + _HTTP_METHOD: str + _MAX_RESULTS: str + _NEXT_TOKEN: str + _PAGE_TOKEN: str + _RESERVED_PARAMS: FrozenSet[str] + __doc__: str + _items_key: Any + _next_token: Any + _started: bool + client: Any + extra_params: Any + item_to_value: Any + max_results: Any + next_page_token: Any + num_results: int + page_number: int + path: Any + def __init__(self, client, api_request, path, item_to_value, items_key = ..., page_token = ..., max_results = ..., extra_params = ..., page_start = ..., next_token = ...) -> None: ... + def _get_next_page_response(self) -> Any: ... + def _get_query_params(self) -> Dict[str, Any]: ... + def _has_next_page(self) -> bool: ... + def _next_page(self) -> Page: ... + def _page_start(self, _1: HTTPIterator, _2: Page, _3) -> Any: ... + def _verify_params(self) -> None: ... + def api_request(self) -> Any: ... + +class Iterator(metaclass=abc.ABCMeta): + __doc__: str + _started: bool + client: Any + item_to_value: Any + max_results: Any + next_page_token: Any + num_results: Any + page_number: int + pages: Any + def __init__(self, client, item_to_value = ..., page_token = ..., max_results = ...) -> None: ... + def __iter__(self) -> Generator[Any, Any, None]: ... + def _items_iter(self) -> Generator[Any, Any, None]: ... + @abstractmethod + def _next_page(self) -> Any: ... + def _page_iter(self, increment) -> Generator[Any, Any, None]: ... + +class Page: + __doc__: str + _item_iter: Any + _item_to_value: Any + _num_items: int + _parent: Any + _raw_page: Any + _remaining: int + num_items: Any + raw_page: Any + remaining: Any + def __init__(self, parent, items, item_to_value, raw_page = ...) -> None: ... + def __iter__(self: _TPage) -> _TPage: ... + def __next__(self) -> Any: ... + def next(self) -> Any: ... + +class _GAXIterator(Iterator): + __doc__: str + _gax_page_iter: Any + _started: bool + client: Any + item_to_value: Any + max_results: Any + next_page_token: Any + num_results: int + page_number: int + def __init__(self, client, page_iter, item_to_value, max_results = ...) -> None: ... + def _next_page(self) -> Page: ... + +def _do_nothing_page_start(iterator, page, response) -> None: ... +def _item_to_value_identity(iterator, item: _T1) -> _T1: ... diff --git a/pytype_output/pyi/google/api_core/page_iterator_async.pyi b/pytype_output/pyi/google/api_core/page_iterator_async.pyi new file mode 100644 index 00000000..67f1c967 --- /dev/null +++ b/pytype_output/pyi/google/api_core/page_iterator_async.pyi @@ -0,0 +1,48 @@ +# (generated with --quick) + +import google.api_core.page_iterator +from typing import Any, Coroutine, Type, TypeVar + +Page: Type[google.api_core.page_iterator.Page] +abc: module + +_T1 = TypeVar('_T1') + +class AsyncGRPCIterator(AsyncIterator): + _DEFAULT_REQUEST_TOKEN_FIELD: str + _DEFAULT_RESPONSE_TOKEN_FIELD: str + __doc__: str + _items_field: Any + _request: Any + _request_token_field: Any + _response_token_field: Any + _started: bool + client: Any + item_to_value: Any + max_results: Any + next_page_token: Any + num_results: int + page_number: int + def __init__(self, client, method, request, items_field, item_to_value = ..., request_token_field = ..., response_token_field = ..., max_results = ...) -> None: ... + def _has_next_page(self) -> bool: ... + def _method(self, _1) -> Any: ... + def _next_page(self) -> Coroutine[Any, Any, google.api_core.page_iterator.Page]: ... + +class AsyncIterator(abc.ABC): + __doc__: str + _started: bool + client: Any + item_to_value: Any + max_results: Any + next_page_token: Any + num_results: Any + page_number: int + pages: Any + def __aiter__(self) -> asyncgenerator: ... + def __init__(self, client, item_to_value = ..., page_token = ..., max_results = ...) -> None: ... + def _items_aiter(self) -> asyncgenerator: ... + @abstractmethod + def _next_page(self) -> coroutine: ... + def _page_aiter(self, increment) -> asyncgenerator: ... + +def _item_to_value_identity(iterator, item: _T1) -> _T1: ... diff --git a/pytype_output/pyi/google/api_core/path_template.pyi b/pytype_output/pyi/google/api_core/path_template.pyi new file mode 100644 index 00000000..f3eccffd --- /dev/null +++ b/pytype_output/pyi/google/api_core/path_template.pyi @@ -0,0 +1,18 @@ +# (generated with --quick) + +import __future__ +from typing import Pattern + +_MULTI_SEGMENT_PATTERN: str +_SINGLE_SEGMENT_PATTERN: str +_VARIABLE_RE: Pattern[str] +functools: module +re: module +six: module +unicode_literals: __future__._Feature + +def _expand_variable_match(positional_vars, named_vars, match) -> str: ... +def _generate_pattern_for_template(tmpl) -> str: ... +def _replace_variable_with_pattern(match) -> str: ... +def expand(tmpl, *args, **kwargs) -> str: ... +def validate(tmpl, path) -> bool: ... diff --git a/pytype_output/pyi/google/api_core/protobuf_helpers.pyi b/pytype_output/pyi/google/api_core/protobuf_helpers.pyi new file mode 100644 index 00000000..12f18614 --- /dev/null +++ b/pytype_output/pyi/google/api_core/protobuf_helpers.pyi @@ -0,0 +1,31 @@ +# (generated with --quick) + +import google.protobuf.field_mask_pb2 +import google.protobuf.wrappers_pb2 +from typing import Any, Tuple, Type, TypeVar, Union + +_SENTINEL: Any +_WRAPPER_TYPES: Tuple[Type[google.protobuf.wrappers_pb2.BoolValue], Type[google.protobuf.wrappers_pb2.BytesValue], Type[google.protobuf.wrappers_pb2.DoubleValue], Type[google.protobuf.wrappers_pb2.FloatValue], Type[google.protobuf.wrappers_pb2.Int32Value], Type[google.protobuf.wrappers_pb2.Int64Value], Type[google.protobuf.wrappers_pb2.StringValue], Type[google.protobuf.wrappers_pb2.UInt32Value], Type[google.protobuf.wrappers_pb2.UInt64Value]] +collections: module +collections_abc: module +copy: module +field_mask_pb2: module +inspect: module +message: module +wrappers_pb2: module + +_T1 = TypeVar('_T1') + +def _field_mask_helper(original, modified, current = ...) -> list: ... +def _get_path(current, name: _T1) -> Union[str, _T1]: ... +def _is_message(value) -> bool: ... +def _is_wrapper(value) -> bool: ... +def _resolve_subkeys(key, separator = ...) -> Any: ... +def _set_field_on_message(msg, key, value) -> None: ... +def check_oneof(**kwargs) -> None: ... +def field_mask(original, modified) -> google.protobuf.field_mask_pb2.FieldMask: ... +def from_any_pb(pb_type, any_pb) -> Any: ... +def get(msg_or_dict, key, default = ...) -> Any: ... +def get_messages(module) -> collections.OrderedDict[str, Any]: ... +def set(msg_or_dict, key, value) -> None: ... +def setdefault(msg_or_dict, key, value) -> None: ... diff --git a/pytype_output/pyi/google/api_core/retry.pyi b/pytype_output/pyi/google/api_core/retry.pyi new file mode 100644 index 00000000..8a0bfba2 --- /dev/null +++ b/pytype_output/pyi/google/api_core/retry.pyi @@ -0,0 +1,43 @@ +# (generated with --quick) + +import __future__ +from typing import Any, Callable, Generator, TypeVar + +_DEFAULT_DEADLINE: float +_DEFAULT_DELAY_MULTIPLIER: float +_DEFAULT_INITIAL_DELAY: float +_DEFAULT_MAXIMUM_DELAY: float +_LOGGER: logging.Logger +datetime: module +datetime_helpers: module +exceptions: module +functools: module +general_helpers: module +logging: module +random: module +six: module +time: module +unicode_literals: __future__._Feature + +_TRetry = TypeVar('_TRetry', bound=Retry) + +class Retry: + __doc__: str + _deadline: Any + _initial: Any + _maximum: Any + _multiplier: Any + _on_error: Any + _predicate: Any + deadline: Any + def __call__(self, func, on_error = ...) -> Callable: ... + def __init__(self, predicate = ..., initial = ..., maximum = ..., multiplier = ..., deadline = ..., on_error = ...) -> None: ... + def __str__(self) -> str: ... + def with_deadline(self: _TRetry, deadline) -> _TRetry: ... + def with_delay(self: _TRetry, initial = ..., maximum = ..., multiplier = ...) -> _TRetry: ... + def with_predicate(self: _TRetry, predicate) -> _TRetry: ... + +def exponential_sleep_generator(initial, maximum, multiplier = ...) -> Generator[nothing, Any, Any]: ... +def if_exception_type(*exception_types) -> Callable[[Any], Any]: ... +def if_transient_error(exception) -> bool: ... +def retry_target(target, predicate, sleep_generator, deadline, on_error = ...) -> Any: ... diff --git a/pytype_output/pyi/google/api_core/retry_async.pyi b/pytype_output/pyi/google/api_core/retry_async.pyi new file mode 100644 index 00000000..e1f0626a --- /dev/null +++ b/pytype_output/pyi/google/api_core/retry_async.pyi @@ -0,0 +1,38 @@ +# (generated with --quick) + +from typing import Any, Callable, Generator, TypeVar + +_DEFAULT_DEADLINE: float +_DEFAULT_DELAY_MULTIPLIER: float +_DEFAULT_INITIAL_DELAY: float +_DEFAULT_MAXIMUM_DELAY: float +_LOGGER: logging.Logger +asyncio: module +datetime: module +datetime_helpers: module +exceptions: module +functools: module +logging: module + +_TAsyncRetry = TypeVar('_TAsyncRetry', bound=AsyncRetry) + +class AsyncRetry: + __doc__: str + _deadline: Any + _initial: Any + _maximum: Any + _multiplier: Any + _on_error: Any + _predicate: Any + def __call__(self, func, on_error = ...) -> Callable: ... + def __init__(self, predicate = ..., initial = ..., maximum = ..., multiplier = ..., deadline = ..., on_error = ...) -> None: ... + def __str__(self) -> str: ... + def _replace(self: _TAsyncRetry, predicate = ..., initial = ..., maximum = ..., multiplier = ..., deadline = ..., on_error = ...) -> _TAsyncRetry: ... + def with_deadline(self: _TAsyncRetry, deadline) -> _TAsyncRetry: ... + def with_delay(self: _TAsyncRetry, initial = ..., maximum = ..., multiplier = ...) -> _TAsyncRetry: ... + def with_predicate(self: _TAsyncRetry, predicate) -> _TAsyncRetry: ... + +def exponential_sleep_generator(initial, maximum, multiplier = ...) -> Generator[nothing, Any, Any]: ... +def if_exception_type(*exception_types) -> Callable[[Any], Any]: ... +def if_transient_error(exception) -> bool: ... +def retry_target(target, predicate, sleep_generator, deadline, on_error = ...) -> coroutine: ... diff --git a/pytype_output/pyi/google/api_core/timeout.pyi b/pytype_output/pyi/google/api_core/timeout.pyi new file mode 100644 index 00000000..ddd6e349 --- /dev/null +++ b/pytype_output/pyi/google/api_core/timeout.pyi @@ -0,0 +1,36 @@ +# (generated with --quick) + +import __future__ +from typing import Any, Callable, TypeVar + +_DEFAULT_DEADLINE: None +_DEFAULT_INITIAL_TIMEOUT: float +_DEFAULT_MAXIMUM_TIMEOUT: float +_DEFAULT_TIMEOUT_MULTIPLIER: float +datetime: module +datetime_helpers: module +general_helpers: module +six: module +unicode_literals: __future__._Feature + +_TExponentialTimeout = TypeVar('_TExponentialTimeout', bound=ExponentialTimeout) + +class ConstantTimeout: + __doc__: str + _timeout: Any + def __call__(self, func) -> Callable: ... + def __init__(self, timeout = ...) -> None: ... + def __str__(self) -> str: ... + +class ExponentialTimeout: + __doc__: str + _deadline: Any + _initial: Any + _maximum: Any + _multiplier: Any + def __call__(self, func) -> Callable: ... + def __init__(self, initial = ..., maximum = ..., multiplier = ..., deadline = ...) -> None: ... + def __str__(self) -> str: ... + def with_deadline(self: _TExponentialTimeout, deadline) -> _TExponentialTimeout: ... + +def _exponential_timeout_generator(initial, maximum, multiplier, deadline) -> generator: ... From f332cf371cbcb56ab7af7da11f4375954e75b15c Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Tue, 16 Jun 2020 05:09:28 +0000 Subject: [PATCH 04/12] chore: remove whitespace --- google/api_core/grpc_helpers_async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/api_core/grpc_helpers_async.py b/google/api_core/grpc_helpers_async.py index 8c869e4a..a63efd77 100644 --- a/google/api_core/grpc_helpers_async.py +++ b/google/api_core/grpc_helpers_async.py @@ -226,7 +226,7 @@ def create_channel(target, credentials=None, scopes=None, ssl_credentials=None, Returns: aio.Channel: The created channel. - + Raises: ValueError: If both a credentials object and credentials_file are passed. """ From b64b6e1c77ae9e46362aca9354abcc751c9cea96 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Tue, 16 Jun 2020 05:19:00 +0000 Subject: [PATCH 05/12] test: fix coverage --- google/api_core/grpc_helpers.py | 2 -- google/api_core/grpc_helpers_async.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/google/api_core/grpc_helpers.py b/google/api_core/grpc_helpers.py index 326940b2..146aa729 100644 --- a/google/api_core/grpc_helpers.py +++ b/google/api_core/grpc_helpers.py @@ -252,8 +252,6 @@ def create_channel(target, credentials=None, scopes=None, ssl_credentials=None, Raises: ValueError: If both a credentials object and credentials_file are passed. """ - if credentials and credentials_file: - raise ValueError("'credentials' and 'credentials_file' are mutually exclusive.") composite_credentials = _create_composite_credentials( credentials=credentials, diff --git a/google/api_core/grpc_helpers_async.py b/google/api_core/grpc_helpers_async.py index a63efd77..1fc2261e 100644 --- a/google/api_core/grpc_helpers_async.py +++ b/google/api_core/grpc_helpers_async.py @@ -230,8 +230,6 @@ def create_channel(target, credentials=None, scopes=None, ssl_credentials=None, Raises: ValueError: If both a credentials object and credentials_file are passed. """ - if credentials and credentials_file: - raise ValueError("'credentials' and 'credentials_file' are mutually exclusive.") composite_credentials = grpc_helpers._create_composite_credentials( credentials=credentials, From a34fab8def25fec76de23e714f5ec1b12493961d Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Tue, 16 Jun 2020 05:21:27 +0000 Subject: [PATCH 06/12] chore: delete pytype output --- .gitignore | 5 +- pytype_output/.ninja_deps | Bin 16 -> 0 bytes pytype_output/.ninja_log | 37 --- pytype_output/build.ninja | 114 ------- pytype_output/imports/default.pyi | 3 - pytype_output/imports/google.__init__.imports | 0 .../imports/google.api_core.__init__.imports | 0 .../imports/google.api_core.bidi.imports | 2 - .../google.api_core.client_info.imports | 0 .../google.api_core.client_options.imports | 0 .../google.api_core.datetime_helpers.imports | 0 .../google.api_core.exceptions.imports | 1 - .../google.api_core.future.__init__.imports | 1 - .../google.api_core.future._helpers.imports | 0 ...oogle.api_core.future.async_future.imports | 7 - .../google.api_core.future.base.imports | 0 .../google.api_core.future.polling.imports | 7 - .../google.api_core.gapic_v1.__init__.imports | 22 -- ...ogle.api_core.gapic_v1.client_info.imports | 1 - .../google.api_core.gapic_v1.config.imports | 6 - ...gle.api_core.gapic_v1.config_async.imports | 8 - .../google.api_core.gapic_v1.method.imports | 13 - ...gle.api_core.gapic_v1.method_async.imports | 16 - ...e.api_core.gapic_v1.routing_header.imports | 0 .../google.api_core.general_helpers.imports | 0 .../google.api_core.grpc_helpers.imports | 8 - ...google.api_core.grpc_helpers_async.imports | 10 - .../imports/google.api_core.iam.imports | 0 .../imports/google.api_core.operation.imports | 11 - .../google.api_core.operation_async.imports | 11 - ...le.api_core.operations_v1.__init__.imports | 29 -- ...rations_v1.operations_async_client.imports | 27 -- ...re.operations_v1.operations_client.imports | 26 -- ...ations_v1.operations_client_config.imports | 0 .../google.api_core.page_iterator.imports | 0 ...oogle.api_core.page_iterator_async.imports | 1 - .../google.api_core.path_template.imports | 0 .../google.api_core.protobuf_helpers.imports | 0 .../imports/google.api_core.retry.imports | 4 - .../google.api_core.retry_async.imports | 5 - .../imports/google.api_core.timeout.imports | 2 - pytype_output/pyi/google/__init__.pyi | 7 - .../pyi/google/api_core/__init__.pyi | 8 - pytype_output/pyi/google/api_core/bidi.pyi | 102 ------- .../pyi/google/api_core/client_info.pyi | 20 -- .../pyi/google/api_core/client_options.pyi | 16 - .../pyi/google/api_core/datetime_helpers.pyi | 39 --- .../pyi/google/api_core/exceptions.pyi | 287 ------------------ .../pyi/google/api_core/future/__init__.pyi | 7 - .../pyi/google/api_core/future/_helpers.pyi | 10 - .../google/api_core/future/async_future.pyi | 34 --- .../pyi/google/api_core/future/base.pyi | 27 -- .../pyi/google/api_core/future/polling.pyi | 39 --- .../pyi/google/api_core/gapic_v1/__init__.pyi | 12 - .../google/api_core/gapic_v1/client_info.pyi | 12 - .../pyi/google/api_core/gapic_v1/config.pyi | 36 --- .../google/api_core/gapic_v1/config_async.pyi | 10 - .../pyi/google/api_core/gapic_v1/method.pyi | 24 -- .../google/api_core/gapic_v1/method_async.pyi | 13 - .../api_core/gapic_v1/routing_header.pyi | 12 - .../pyi/google/api_core/general_helpers.pyi | 9 - .../pyi/google/api_core/grpc_helpers.pyi | 102 ------- .../google/api_core/grpc_helpers_async.pyi | 83 ----- pytype_output/pyi/google/api_core/iam.pyi | 53 ---- .../pyi/google/api_core/operation.pyi | 40 --- .../pyi/google/api_core/operation_async.pyi | 33 -- .../api_core/operations_v1/__init__.pyi | 10 - .../operations_v1/operations_async_client.pyi | 23 -- .../operations_v1/operations_client.pyi | 23 -- .../operations_client_config.pyi | 5 - .../pyi/google/api_core/page_iterator.pyi | 106 ------- .../google/api_core/page_iterator_async.pyi | 48 --- .../pyi/google/api_core/path_template.pyi | 18 -- .../pyi/google/api_core/protobuf_helpers.pyi | 31 -- pytype_output/pyi/google/api_core/retry.pyi | 43 --- .../pyi/google/api_core/retry_async.pyi | 38 --- pytype_output/pyi/google/api_core/timeout.pyi | 36 --- 77 files changed, 4 insertions(+), 1789 deletions(-) delete mode 100644 pytype_output/.ninja_deps delete mode 100644 pytype_output/.ninja_log delete mode 100644 pytype_output/build.ninja delete mode 100644 pytype_output/imports/default.pyi delete mode 100644 pytype_output/imports/google.__init__.imports delete mode 100644 pytype_output/imports/google.api_core.__init__.imports delete mode 100644 pytype_output/imports/google.api_core.bidi.imports delete mode 100644 pytype_output/imports/google.api_core.client_info.imports delete mode 100644 pytype_output/imports/google.api_core.client_options.imports delete mode 100644 pytype_output/imports/google.api_core.datetime_helpers.imports delete mode 100644 pytype_output/imports/google.api_core.exceptions.imports delete mode 100644 pytype_output/imports/google.api_core.future.__init__.imports delete mode 100644 pytype_output/imports/google.api_core.future._helpers.imports delete mode 100644 pytype_output/imports/google.api_core.future.async_future.imports delete mode 100644 pytype_output/imports/google.api_core.future.base.imports delete mode 100644 pytype_output/imports/google.api_core.future.polling.imports delete mode 100644 pytype_output/imports/google.api_core.gapic_v1.__init__.imports delete mode 100644 pytype_output/imports/google.api_core.gapic_v1.client_info.imports delete mode 100644 pytype_output/imports/google.api_core.gapic_v1.config.imports delete mode 100644 pytype_output/imports/google.api_core.gapic_v1.config_async.imports delete mode 100644 pytype_output/imports/google.api_core.gapic_v1.method.imports delete mode 100644 pytype_output/imports/google.api_core.gapic_v1.method_async.imports delete mode 100644 pytype_output/imports/google.api_core.gapic_v1.routing_header.imports delete mode 100644 pytype_output/imports/google.api_core.general_helpers.imports delete mode 100644 pytype_output/imports/google.api_core.grpc_helpers.imports delete mode 100644 pytype_output/imports/google.api_core.grpc_helpers_async.imports delete mode 100644 pytype_output/imports/google.api_core.iam.imports delete mode 100644 pytype_output/imports/google.api_core.operation.imports delete mode 100644 pytype_output/imports/google.api_core.operation_async.imports delete mode 100644 pytype_output/imports/google.api_core.operations_v1.__init__.imports delete mode 100644 pytype_output/imports/google.api_core.operations_v1.operations_async_client.imports delete mode 100644 pytype_output/imports/google.api_core.operations_v1.operations_client.imports delete mode 100644 pytype_output/imports/google.api_core.operations_v1.operations_client_config.imports delete mode 100644 pytype_output/imports/google.api_core.page_iterator.imports delete mode 100644 pytype_output/imports/google.api_core.page_iterator_async.imports delete mode 100644 pytype_output/imports/google.api_core.path_template.imports delete mode 100644 pytype_output/imports/google.api_core.protobuf_helpers.imports delete mode 100644 pytype_output/imports/google.api_core.retry.imports delete mode 100644 pytype_output/imports/google.api_core.retry_async.imports delete mode 100644 pytype_output/imports/google.api_core.timeout.imports delete mode 100644 pytype_output/pyi/google/__init__.pyi delete mode 100644 pytype_output/pyi/google/api_core/__init__.pyi delete mode 100644 pytype_output/pyi/google/api_core/bidi.pyi delete mode 100644 pytype_output/pyi/google/api_core/client_info.pyi delete mode 100644 pytype_output/pyi/google/api_core/client_options.pyi delete mode 100644 pytype_output/pyi/google/api_core/datetime_helpers.pyi delete mode 100644 pytype_output/pyi/google/api_core/exceptions.pyi delete mode 100644 pytype_output/pyi/google/api_core/future/__init__.pyi delete mode 100644 pytype_output/pyi/google/api_core/future/_helpers.pyi delete mode 100644 pytype_output/pyi/google/api_core/future/async_future.pyi delete mode 100644 pytype_output/pyi/google/api_core/future/base.pyi delete mode 100644 pytype_output/pyi/google/api_core/future/polling.pyi delete mode 100644 pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi delete mode 100644 pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi delete mode 100644 pytype_output/pyi/google/api_core/gapic_v1/config.pyi delete mode 100644 pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi delete mode 100644 pytype_output/pyi/google/api_core/gapic_v1/method.pyi delete mode 100644 pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi delete mode 100644 pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi delete mode 100644 pytype_output/pyi/google/api_core/general_helpers.pyi delete mode 100644 pytype_output/pyi/google/api_core/grpc_helpers.pyi delete mode 100644 pytype_output/pyi/google/api_core/grpc_helpers_async.pyi delete mode 100644 pytype_output/pyi/google/api_core/iam.pyi delete mode 100644 pytype_output/pyi/google/api_core/operation.pyi delete mode 100644 pytype_output/pyi/google/api_core/operation_async.pyi delete mode 100644 pytype_output/pyi/google/api_core/operations_v1/__init__.pyi delete mode 100644 pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi delete mode 100644 pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi delete mode 100644 pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi delete mode 100644 pytype_output/pyi/google/api_core/page_iterator.pyi delete mode 100644 pytype_output/pyi/google/api_core/page_iterator_async.pyi delete mode 100644 pytype_output/pyi/google/api_core/path_template.pyi delete mode 100644 pytype_output/pyi/google/api_core/protobuf_helpers.pyi delete mode 100644 pytype_output/pyi/google/api_core/retry.pyi delete mode 100644 pytype_output/pyi/google/api_core/retry_async.pyi delete mode 100644 pytype_output/pyi/google/api_core/timeout.pyi diff --git a/.gitignore b/.gitignore index b87e1ed5..495ff829 100644 --- a/.gitignore +++ b/.gitignore @@ -57,4 +57,7 @@ system_tests/local_test_setup # Make sure a generated file isn't accidentally committed. pylintrc -pylintrc.test \ No newline at end of file +pylintrc.test + +# Pytyp3 +pytype_output \ No newline at end of file diff --git a/pytype_output/.ninja_deps b/pytype_output/.ninja_deps deleted file mode 100644 index e5675ec1d586af8d236baf921ad7835de2df96ac..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16 XcmY#Z$ji*jN=!*DDCS~eU|;|MDX9bw diff --git a/pytype_output/.ninja_log b/pytype_output/.ninja_log deleted file mode 100644 index 413e6b70..00000000 --- a/pytype_output/.ninja_log +++ /dev/null @@ -1,37 +0,0 @@ -# ninja log v5 -0 2143 1592282921904171668 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi 477e39c3d65c0357 -2143 2999 1592282922796250199 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/__init__.pyi a740beab0718871 -2999 7178 1592282926644588974 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi 7a262c3594ea2792 -7179 9837 1592282929380829850 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/protobuf_helpers.pyi b78b68b21c9b2103 -9837 13427 1592282932893139044 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/bidi.pyi aa01189f89a8529d -13427 15377 1592282935073330969 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi 23f8c209c0f65249 -15377 17344 1592282937117510921 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi 6e318e7f59c10a83 -17344 18960 1592282938737653545 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/_helpers.pyi 5b75188d74d97012 -18960 21587 1592282941313880333 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi b5a9084f29ed60de -21587 23593 1592282943330057820 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/polling.pyi d45fc28bb1bfb11b -23593 25795 1592282945546252915 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/path_template.pyi 1a603a63777be -25795 28467 1592282948126480056 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operation.pyi 2214c5c4bec6c91b -28467 29379 1592282949162571265 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_options.pyi c717701561424c66 -29379 31253 1592282950890723398 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/iam.pyi 18a8cb0aa69ec10 -31253 32318 1592282952106830453 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi 4d5a5912c5bd7027 -32318 33836 1592282953614963216 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi c51c31efd8f48ea0 -33836 36867 1592282956583224517 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi 8a0f6b13ff71b919 -36868 39282 1592282959019438980 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi 3a6ca0ebd50d0329 -39282 41634 1592282961335642879 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi 60540d1cda167341 -41635 43350 1592282963127800645 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi 428e5ca1de417ceb -43350 46208 1592282965852040464 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi ecea9ffc3ae5bfe6 -46208 49478 1592282969104326768 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi 1a211048bcfa7bcb -49478 50368 1592282970160419738 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi fc5dbfb2ec544f3d -50368 51684 1592282971436532075 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi 27b729a224e115d8 -51684 53968 1592282973740734918 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi f43fc0420781ec3b -53969 55075 1592282974864833874 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi 67e418417a65d034 -55075 57666 1592282977325050451 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi f6899e9710fde5ef -57666 58617 1592282978409145885 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi b5862b5f79dc5f73 -58617 59728 1592282979489240968 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator_async.pyi d11a07841a5c3050 -59728 61008 1592282980769353658 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi 8cb745c2918da0e9 -61008 62459 1592282982245483604 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/__init__.pyi 8677b6c6e5b57279 -62459 63756 1592282983521595942 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi 6ed907e84e45d98d -63756 64781 1592282984573688560 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/__init__.pyi 8a03fddf8b2dbaf5 -64781 66260 1592282986041817802 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/__init__.pyi 47b79cbdbbc92d23 -66260 68898 1592282988618044591 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/async_future.pyi bfefaef20179d36 -68898 72059 1592282991754320683 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operation_async.pyi f335566ab79d470b diff --git a/pytype_output/build.ninja b/pytype_output/build.ninja deleted file mode 100644 index 5aa09af6..00000000 --- a/pytype_output/build.ninja +++ /dev/null @@ -1,114 +0,0 @@ -rule infer - command = /usr/local/google/home/busunkim/github/python-api-core/.nox/pytype/bin/python -m pytype.single --imports_info $imports --module-name $module -V 3.6 -o $out --no-report-errors --nofail --quick $in - description = infer $module -rule check - command = /usr/local/google/home/busunkim/github/python-api-core/.nox/pytype/bin/python -m pytype.single --disable pyi-error --imports_info $imports --module-name $module -V 3.6 -o $out --analyze-annotated --nofail --quick $in - description = check $module -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/future/base.py - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.future.base.imports - module = google.api_core.future.base -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/__init__.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/future/__init__.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.future.__init__.imports - module = google.api_core.future.__init__ -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/exceptions.py - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.exceptions.imports - module = google.api_core.exceptions -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/bidi.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/bidi.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.bidi.imports - module = google.api_core.bidi -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/protobuf_helpers.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/protobuf_helpers.py - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.protobuf_helpers.imports - module = google.api_core.protobuf_helpers -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/datetime_helpers.py - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.datetime_helpers.imports - module = google.api_core.datetime_helpers -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/general_helpers.py - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.general_helpers.imports - module = google.api_core.general_helpers -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/retry.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.retry.imports - module = google.api_core.retry -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/_helpers.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/future/_helpers.py - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.future._helpers.imports - module = google.api_core.future._helpers -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/polling.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/future/polling.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.future.polling.imports - module = google.api_core.future.polling -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operation.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/operation.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/protobuf_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/polling.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.operation.imports - module = google.api_core.operation -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/path_template.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/path_template.py - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.path_template.imports - module = google.api_core.path_template -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/iam.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/iam.py - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.iam.imports - module = google.api_core.iam -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_options.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/client_options.py - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.client_options.imports - module = google.api_core.client_options -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/gapic_v1/routing_header.py - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.gapic_v1.routing_header.imports - module = google.api_core.gapic_v1.routing_header -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/retry_async.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.retry_async.imports - module = google.api_core.retry_async -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/timeout.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.timeout.imports - module = google.api_core.timeout -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/gapic_v1/config.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.gapic_v1.config.imports - module = google.api_core.gapic_v1.config -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/gapic_v1/config_async.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.gapic_v1.config_async.imports - module = google.api_core.gapic_v1.config_async -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/grpc_helpers.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.grpc_helpers.imports - module = google.api_core.grpc_helpers -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/grpc_helpers_async.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.grpc_helpers_async.imports - module = google.api_core.grpc_helpers_async -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/client_info.py - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.client_info.imports - module = google.api_core.client_info -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/gapic_v1/client_info.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.gapic_v1.client_info.imports - module = google.api_core.gapic_v1.client_info -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/gapic_v1/method.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.gapic_v1.method.imports - module = google.api_core.gapic_v1.method -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/gapic_v1/method_async.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.gapic_v1.method_async.imports - module = google.api_core.gapic_v1.method_async -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/gapic_v1/__init__.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.gapic_v1.__init__.imports - module = google.api_core.gapic_v1.__init__ -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/page_iterator.py - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.page_iterator.imports - module = google.api_core.page_iterator -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/operations_v1/operations_client_config.py - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.operations_v1.operations_client_config.imports - module = google.api_core.operations_v1.operations_client_config -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/operations_v1/operations_client.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.operations_v1.operations_client.imports - module = google.api_core.operations_v1.operations_client -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator_async.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/page_iterator_async.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.page_iterator_async.imports - module = google.api_core.page_iterator_async -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/operations_v1/operations_async_client.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator_async.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.operations_v1.operations_async_client.imports - module = google.api_core.operations_v1.operations_async_client -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/__init__.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/operations_v1/__init__.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.operations_v1.__init__.imports - module = google.api_core.operations_v1.__init__ -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/__init__.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/__init__.py - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.__init__.imports - module = google.__init__ -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/__init__.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/__init__.py - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.__init__.imports - module = google.api_core.__init__ -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/async_future.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/future/async_future.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.future.async_future.imports - module = google.api_core.future.async_future -build /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operation_async.pyi: check /usr/local/google/home/busunkim/github/python-api-core/google/api_core/operation_async.py | /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/protobuf_helpers.pyi /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/async_future.pyi - imports = /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/google.api_core.operation_async.imports - module = google.api_core.operation_async diff --git a/pytype_output/imports/default.pyi b/pytype_output/imports/default.pyi deleted file mode 100644 index 7bb11b40..00000000 --- a/pytype_output/imports/default.pyi +++ /dev/null @@ -1,3 +0,0 @@ - -from typing import Any -def __getattr__(name) -> Any: ... diff --git a/pytype_output/imports/google.__init__.imports b/pytype_output/imports/google.__init__.imports deleted file mode 100644 index e69de29b..00000000 diff --git a/pytype_output/imports/google.api_core.__init__.imports b/pytype_output/imports/google.api_core.__init__.imports deleted file mode 100644 index e69de29b..00000000 diff --git a/pytype_output/imports/google.api_core.bidi.imports b/pytype_output/imports/google.api_core.bidi.imports deleted file mode 100644 index df5770cb..00000000 --- a/pytype_output/imports/google.api_core.bidi.imports +++ /dev/null @@ -1,2 +0,0 @@ -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi diff --git a/pytype_output/imports/google.api_core.client_info.imports b/pytype_output/imports/google.api_core.client_info.imports deleted file mode 100644 index e69de29b..00000000 diff --git a/pytype_output/imports/google.api_core.client_options.imports b/pytype_output/imports/google.api_core.client_options.imports deleted file mode 100644 index e69de29b..00000000 diff --git a/pytype_output/imports/google.api_core.datetime_helpers.imports b/pytype_output/imports/google.api_core.datetime_helpers.imports deleted file mode 100644 index e69de29b..00000000 diff --git a/pytype_output/imports/google.api_core.exceptions.imports b/pytype_output/imports/google.api_core.exceptions.imports deleted file mode 100644 index 8532f58f..00000000 --- a/pytype_output/imports/google.api_core.exceptions.imports +++ /dev/null @@ -1 +0,0 @@ -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi diff --git a/pytype_output/imports/google.api_core.future.__init__.imports b/pytype_output/imports/google.api_core.future.__init__.imports deleted file mode 100644 index 829910ff..00000000 --- a/pytype_output/imports/google.api_core.future.__init__.imports +++ /dev/null @@ -1 +0,0 @@ -google/api_core/future/base /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi diff --git a/pytype_output/imports/google.api_core.future._helpers.imports b/pytype_output/imports/google.api_core.future._helpers.imports deleted file mode 100644 index e69de29b..00000000 diff --git a/pytype_output/imports/google.api_core.future.async_future.imports b/pytype_output/imports/google.api_core.future.async_future.imports deleted file mode 100644 index ecd4a8ac..00000000 --- a/pytype_output/imports/google.api_core.future.async_future.imports +++ /dev/null @@ -1,7 +0,0 @@ -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi -google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi -google/api_core/retry_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi -google/api_core/future/base /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi diff --git a/pytype_output/imports/google.api_core.future.base.imports b/pytype_output/imports/google.api_core.future.base.imports deleted file mode 100644 index e69de29b..00000000 diff --git a/pytype_output/imports/google.api_core.future.polling.imports b/pytype_output/imports/google.api_core.future.polling.imports deleted file mode 100644 index 33cb5895..00000000 --- a/pytype_output/imports/google.api_core.future.polling.imports +++ /dev/null @@ -1,7 +0,0 @@ -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi -google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi -google/api_core/future/_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/_helpers.pyi -google/api_core/future/base /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi diff --git a/pytype_output/imports/google.api_core.gapic_v1.__init__.imports b/pytype_output/imports/google.api_core.gapic_v1.__init__.imports deleted file mode 100644 index 3eaf30cc..00000000 --- a/pytype_output/imports/google.api_core.gapic_v1.__init__.imports +++ /dev/null @@ -1,22 +0,0 @@ -google/api_core/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi -google/api_core/gapic_v1/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi -google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi -google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi -google/api_core/gapic_v1/config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi -google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/grpc_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi -google/api_core/gapic_v1/method /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi -google/api_core/gapic_v1/routing_header /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi -google/api_core/retry_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi -google/api_core/gapic_v1/config_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi -grpc/experimental/aio/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/grpc_helpers_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi -google/api_core/gapic_v1/method_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi diff --git a/pytype_output/imports/google.api_core.gapic_v1.client_info.imports b/pytype_output/imports/google.api_core.gapic_v1.client_info.imports deleted file mode 100644 index 84ea1554..00000000 --- a/pytype_output/imports/google.api_core.gapic_v1.client_info.imports +++ /dev/null @@ -1 +0,0 @@ -google/api_core/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi diff --git a/pytype_output/imports/google.api_core.gapic_v1.config.imports b/pytype_output/imports/google.api_core.gapic_v1.config.imports deleted file mode 100644 index dafa1b35..00000000 --- a/pytype_output/imports/google.api_core.gapic_v1.config.imports +++ /dev/null @@ -1,6 +0,0 @@ -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi -google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi -google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi diff --git a/pytype_output/imports/google.api_core.gapic_v1.config_async.imports b/pytype_output/imports/google.api_core.gapic_v1.config_async.imports deleted file mode 100644 index a5ef32d0..00000000 --- a/pytype_output/imports/google.api_core.gapic_v1.config_async.imports +++ /dev/null @@ -1,8 +0,0 @@ -google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi -google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi -google/api_core/retry_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi -google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi -google/api_core/gapic_v1/config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi diff --git a/pytype_output/imports/google.api_core.gapic_v1.method.imports b/pytype_output/imports/google.api_core.gapic_v1.method.imports deleted file mode 100644 index c9ce1f13..00000000 --- a/pytype_output/imports/google.api_core.gapic_v1.method.imports +++ /dev/null @@ -1,13 +0,0 @@ -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/grpc_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi -google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi -google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi -google/api_core/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi -google/api_core/gapic_v1/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi diff --git a/pytype_output/imports/google.api_core.gapic_v1.method_async.imports b/pytype_output/imports/google.api_core.gapic_v1.method_async.imports deleted file mode 100644 index a65537cc..00000000 --- a/pytype_output/imports/google.api_core.gapic_v1.method_async.imports +++ /dev/null @@ -1,16 +0,0 @@ -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -grpc/experimental/aio/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/grpc_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi -google/api_core/grpc_helpers_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi -google/api_core/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi -google/api_core/gapic_v1/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi -google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi -google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi -google/api_core/gapic_v1/method /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi diff --git a/pytype_output/imports/google.api_core.gapic_v1.routing_header.imports b/pytype_output/imports/google.api_core.gapic_v1.routing_header.imports deleted file mode 100644 index e69de29b..00000000 diff --git a/pytype_output/imports/google.api_core.general_helpers.imports b/pytype_output/imports/google.api_core.general_helpers.imports deleted file mode 100644 index e69de29b..00000000 diff --git a/pytype_output/imports/google.api_core.grpc_helpers.imports b/pytype_output/imports/google.api_core.grpc_helpers.imports deleted file mode 100644 index 32e6c1e6..00000000 --- a/pytype_output/imports/google.api_core.grpc_helpers.imports +++ /dev/null @@ -1,8 +0,0 @@ -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi -google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi diff --git a/pytype_output/imports/google.api_core.grpc_helpers_async.imports b/pytype_output/imports/google.api_core.grpc_helpers_async.imports deleted file mode 100644 index ed8e9623..00000000 --- a/pytype_output/imports/google.api_core.grpc_helpers_async.imports +++ /dev/null @@ -1,10 +0,0 @@ -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -grpc/experimental/aio/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi -google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/grpc_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi diff --git a/pytype_output/imports/google.api_core.iam.imports b/pytype_output/imports/google.api_core.iam.imports deleted file mode 100644 index e69de29b..00000000 diff --git a/pytype_output/imports/google.api_core.operation.imports b/pytype_output/imports/google.api_core.operation.imports deleted file mode 100644 index e80d4fed..00000000 --- a/pytype_output/imports/google.api_core.operation.imports +++ /dev/null @@ -1,11 +0,0 @@ -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/api_core/protobuf_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/protobuf_helpers.pyi -google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi -google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi -google/api_core/future/_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/_helpers.pyi -google/api_core/future/base /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi -google/api_core/future/polling /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/polling.pyi -google/longrunning/operations_pb2 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/rpc/code_pb2 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi diff --git a/pytype_output/imports/google.api_core.operation_async.imports b/pytype_output/imports/google.api_core.operation_async.imports deleted file mode 100644 index e9b3e553..00000000 --- a/pytype_output/imports/google.api_core.operation_async.imports +++ /dev/null @@ -1,11 +0,0 @@ -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/api_core/protobuf_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/protobuf_helpers.pyi -google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi -google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi -google/api_core/retry_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi -google/api_core/future/base /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/base.pyi -google/api_core/future/async_future /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/future/async_future.pyi -google/longrunning/operations_pb2 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/rpc/code_pb2 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi diff --git a/pytype_output/imports/google.api_core.operations_v1.__init__.imports b/pytype_output/imports/google.api_core.operations_v1.__init__.imports deleted file mode 100644 index 9276047b..00000000 --- a/pytype_output/imports/google.api_core.operations_v1.__init__.imports +++ /dev/null @@ -1,29 +0,0 @@ -google/api_core/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi -google/api_core/gapic_v1/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi -google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi -google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi -google/api_core/gapic_v1/config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi -google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/grpc_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi -google/api_core/gapic_v1/method /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi -google/api_core/gapic_v1/routing_header /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi -google/api_core/retry_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi -google/api_core/gapic_v1/config_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi -grpc/experimental/aio/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/grpc_helpers_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi -google/api_core/gapic_v1/method_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi -google/api_core/gapic_v1/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi -google/api_core/page_iterator /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi -google/api_core/operations_v1/operations_client_config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi -google/longrunning/operations_pb2 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/operations_v1/operations_client /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi -google/api_core/page_iterator_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator_async.pyi -google/api_core/operations_v1/operations_async_client /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi diff --git a/pytype_output/imports/google.api_core.operations_v1.operations_async_client.imports b/pytype_output/imports/google.api_core.operations_v1.operations_async_client.imports deleted file mode 100644 index db0ac53b..00000000 --- a/pytype_output/imports/google.api_core.operations_v1.operations_async_client.imports +++ /dev/null @@ -1,27 +0,0 @@ -google/api_core/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi -google/api_core/gapic_v1/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi -google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi -google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi -google/api_core/gapic_v1/config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi -google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/grpc_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi -google/api_core/gapic_v1/method /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi -google/api_core/gapic_v1/routing_header /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi -google/api_core/retry_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi -google/api_core/gapic_v1/config_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi -grpc/experimental/aio/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/grpc_helpers_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi -google/api_core/gapic_v1/method_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi -google/api_core/gapic_v1/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi -google/api_core/page_iterator /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi -google/api_core/page_iterator_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator_async.pyi -google/api_core/operations_v1/operations_client_config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi -google/longrunning/operations_pb2 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi diff --git a/pytype_output/imports/google.api_core.operations_v1.operations_client.imports b/pytype_output/imports/google.api_core.operations_v1.operations_client.imports deleted file mode 100644 index 48f6a376..00000000 --- a/pytype_output/imports/google.api_core.operations_v1.operations_client.imports +++ /dev/null @@ -1,26 +0,0 @@ -google/api_core/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/client_info.pyi -google/api_core/gapic_v1/client_info /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi -google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi -google/api_core/timeout /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/timeout.pyi -google/api_core/gapic_v1/config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config.pyi -google/auth/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/credentials /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/grpc /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/auth/transport/requests /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -grpc_gcp/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/grpc_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers.pyi -google/api_core/gapic_v1/method /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method.pyi -google/api_core/gapic_v1/routing_header /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi -google/api_core/retry_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry_async.pyi -google/api_core/gapic_v1/config_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi -grpc/experimental/aio/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/grpc_helpers_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi -google/api_core/gapic_v1/method_async /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi -google/api_core/gapic_v1/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi -google/api_core/page_iterator /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi -google/api_core/operations_v1/operations_client_config /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi -google/longrunning/operations_pb2 /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi diff --git a/pytype_output/imports/google.api_core.operations_v1.operations_client_config.imports b/pytype_output/imports/google.api_core.operations_v1.operations_client_config.imports deleted file mode 100644 index e69de29b..00000000 diff --git a/pytype_output/imports/google.api_core.page_iterator.imports b/pytype_output/imports/google.api_core.page_iterator.imports deleted file mode 100644 index e69de29b..00000000 diff --git a/pytype_output/imports/google.api_core.page_iterator_async.imports b/pytype_output/imports/google.api_core.page_iterator_async.imports deleted file mode 100644 index 28078146..00000000 --- a/pytype_output/imports/google.api_core.page_iterator_async.imports +++ /dev/null @@ -1 +0,0 @@ -google/api_core/page_iterator /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/page_iterator.pyi diff --git a/pytype_output/imports/google.api_core.path_template.imports b/pytype_output/imports/google.api_core.path_template.imports deleted file mode 100644 index e69de29b..00000000 diff --git a/pytype_output/imports/google.api_core.protobuf_helpers.imports b/pytype_output/imports/google.api_core.protobuf_helpers.imports deleted file mode 100644 index e69de29b..00000000 diff --git a/pytype_output/imports/google.api_core.retry.imports b/pytype_output/imports/google.api_core.retry.imports deleted file mode 100644 index 679b27da..00000000 --- a/pytype_output/imports/google.api_core.retry.imports +++ /dev/null @@ -1,4 +0,0 @@ -google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi diff --git a/pytype_output/imports/google.api_core.retry_async.imports b/pytype_output/imports/google.api_core.retry_async.imports deleted file mode 100644 index 6a0670bc..00000000 --- a/pytype_output/imports/google.api_core.retry_async.imports +++ /dev/null @@ -1,5 +0,0 @@ -google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi -grpc/__init__ /usr/local/google/home/busunkim/github/python-api-core/pytype_output/imports/default.pyi -google/api_core/exceptions /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/exceptions.pyi -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi -google/api_core/retry /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/retry.pyi diff --git a/pytype_output/imports/google.api_core.timeout.imports b/pytype_output/imports/google.api_core.timeout.imports deleted file mode 100644 index 2c5541c0..00000000 --- a/pytype_output/imports/google.api_core.timeout.imports +++ /dev/null @@ -1,2 +0,0 @@ -google/api_core/datetime_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/datetime_helpers.pyi -google/api_core/general_helpers /usr/local/google/home/busunkim/github/python-api-core/pytype_output/pyi/google/api_core/general_helpers.pyi diff --git a/pytype_output/pyi/google/__init__.pyi b/pytype_output/pyi/google/__init__.pyi deleted file mode 100644 index b15193c0..00000000 --- a/pytype_output/pyi/google/__init__.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# (generated with --quick) - -from typing import Iterable - -__path__: Iterable[str] -pkg_resources: module -pkgutil: module diff --git a/pytype_output/pyi/google/api_core/__init__.pyi b/pytype_output/pyi/google/api_core/__init__.pyi deleted file mode 100644 index c97692a0..00000000 --- a/pytype_output/pyi/google/api_core/__init__.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# (generated with --quick) - -import pkg_resources -from typing import Union - -__version__: str - -def get_distribution(dist: Union[str, pkg_resources.Distribution, pkg_resources.Requirement]) -> pkg_resources.Distribution: ... diff --git a/pytype_output/pyi/google/api_core/bidi.pyi b/pytype_output/pyi/google/api_core/bidi.pyi deleted file mode 100644 index c9896f99..00000000 --- a/pytype_output/pyi/google/api_core/bidi.pyi +++ /dev/null @@ -1,102 +0,0 @@ -# (generated with --quick) - -from typing import Any, Generator, Iterator, List, Optional - -_BIDIRECTIONAL_CONSUMER_NAME: str -_LOGGER: logging.Logger -collections: module -datetime: module -exceptions: module -logging: module -queue: module -threading: module -time: module - -class BackgroundConsumer: - __doc__: str - _bidi_rpc: Any - _operational_lock: threading.Lock - _paused: bool - _thread: Optional[threading.Thread] - _wake: threading.Condition - is_active: Any - is_paused: Any - def __init__(self, bidi_rpc, on_response) -> None: ... - def _on_call_done(self, future) -> None: ... - def _on_response(self, _1) -> Any: ... - def _thread_main(self, ready) -> None: ... - def pause(self) -> None: ... - def resume(self) -> None: ... - def start(self) -> None: ... - def stop(self) -> None: ... - -class BidiRpc: - __doc__: str - _callbacks: list - _initial_request: Any - _is_active: bool - _request_generator: Optional[_RequestQueueGenerator] - _request_queue: queue.Queue[nothing] - _rpc_metadata: Any - call: Any - is_active: Any - pending_requests: Any - def __init__(self, start_rpc, initial_request = ..., metadata = ...) -> None: ... - def _on_call_done(self, future) -> None: ... - def _start_rpc(self, _1: Iterator) -> Any: ... - def add_done_callback(self, callback) -> None: ... - def close(self) -> None: ... - def open(self) -> None: ... - def recv(self) -> Any: ... - def send(self, request) -> None: ... - -class ResumableBidiRpc(BidiRpc): - __doc__: str - _callbacks: List[nothing] - _finalize_lock: threading.Lock - _finalized: bool - _initial_request: Any - _is_active: bool - _operational_lock: threading._RLock - _reopen_throttle: Optional[_Throttle] - _request_generator: Optional[_RequestQueueGenerator] - _request_queue: queue.Queue[nothing] - _rpc_metadata: Any - call: Any - is_active: bool - def __init__(self, start_rpc, should_recover, should_terminate = ..., initial_request = ..., metadata = ..., throttle_reopen = ...) -> None: ... - def _finalize(self, result) -> None: ... - def _on_call_done(self, future) -> None: ... - def _recoverable(self, method, *args, **kwargs) -> Any: ... - def _recv(self) -> Any: ... - def _reopen(self) -> None: ... - def _send(self, request) -> None: ... - def _should_recover(self, _1) -> Any: ... - def _should_terminate(self, _1) -> Any: ... - def _start_rpc(self, _1: Iterator) -> Any: ... - def close(self) -> None: ... - def recv(self) -> Any: ... - def send(self, request) -> Any: ... - -class _RequestQueueGenerator: - __doc__: str - _initial_request: Any - _period: Any - _queue: Any - call: Any - def __init__(self, queue, period = ..., initial_request = ...) -> None: ... - def __iter__(self) -> Generator[Any, Any, None]: ... - def _is_active(self) -> bool: ... - -class _Throttle: - __doc__: str - _access_limit: Any - _entry_lock: threading.Lock - _past_entries: collections.deque - _time_window: Any - def __enter__(self) -> Any: ... - def __exit__(self, *_) -> None: ... - def __init__(self, access_limit, time_window) -> None: ... - def __repr__(self) -> str: ... - -def _never_terminate(future_or_error) -> bool: ... diff --git a/pytype_output/pyi/google/api_core/client_info.pyi b/pytype_output/pyi/google/api_core/client_info.pyi deleted file mode 100644 index 31a26291..00000000 --- a/pytype_output/pyi/google/api_core/client_info.pyi +++ /dev/null @@ -1,20 +0,0 @@ -# (generated with --quick) - -from typing import Any, Optional - -_API_CORE_VERSION: str -_GRPC_VERSION: Optional[str] -_PY_VERSION: str -pkg_resources: module -platform: module - -class ClientInfo: - __doc__: str - api_core_version: Any - client_library_version: Any - gapic_version: Any - grpc_version: Any - python_version: Any - user_agent: Any - def __init__(self, python_version = ..., grpc_version = ..., api_core_version = ..., gapic_version = ..., client_library_version = ..., user_agent = ...) -> None: ... - def to_user_agent(self) -> str: ... diff --git a/pytype_output/pyi/google/api_core/client_options.pyi b/pytype_output/pyi/google/api_core/client_options.pyi deleted file mode 100644 index e96f3088..00000000 --- a/pytype_output/pyi/google/api_core/client_options.pyi +++ /dev/null @@ -1,16 +0,0 @@ -# (generated with --quick) - -from typing import Any - -class ClientOptions: - __doc__: str - api_endpoint: Any - client_cert_source: Any - client_encrypted_cert_source: Any - credentials_file: Any - quota_project_id: Any - scopes: Any - def __init__(self, api_endpoint = ..., client_cert_source = ..., client_encrypted_cert_source = ..., quota_project_id = ..., credentials_file = ..., scopes = ...) -> None: ... - def __repr__(self) -> str: ... - -def from_dict(options) -> ClientOptions: ... diff --git a/pytype_output/pyi/google/api_core/datetime_helpers.pyi b/pytype_output/pyi/google/api_core/datetime_helpers.pyi deleted file mode 100644 index fd3e4e97..00000000 --- a/pytype_output/pyi/google/api_core/datetime_helpers.pyi +++ /dev/null @@ -1,39 +0,0 @@ -# (generated with --quick) - -import google.protobuf.timestamp_pb2 -from typing import Any, Pattern, Type, TypeVar - -_RFC3339_MICROS: str -_RFC3339_NANOS: Pattern[str] -_RFC3339_NO_FRACTION: str -_UTC_EPOCH: datetime.datetime -calendar: module -datetime: module -pytz: module -re: module -timestamp_pb2: module - -_TDatetimeWithNanoseconds = TypeVar('_TDatetimeWithNanoseconds', bound=DatetimeWithNanoseconds) - -class DatetimeWithNanoseconds(datetime.datetime): - __slots__ = ["_nanosecond"] - __doc__: str - _nanosecond: Any - nanosecond: Any - def __new__(cls: Type[_TDatetimeWithNanoseconds], *args, **kw) -> _TDatetimeWithNanoseconds: ... - @classmethod - def from_rfc3339(cls, stamp) -> Any: ... - @classmethod - def from_timestamp_pb(cls, stamp) -> Any: ... - def rfc3339(self) -> str: ... - def timestamp_pb(self) -> google.protobuf.timestamp_pb2.Timestamp: ... - -def from_iso8601_date(value) -> datetime.date: ... -def from_iso8601_time(value) -> datetime.time: ... -def from_microseconds(value) -> datetime.datetime: ... -def from_rfc3339(value) -> datetime.datetime: ... -def from_rfc3339_nanos(value) -> datetime.datetime: ... -def to_microseconds(value) -> Any: ... -def to_milliseconds(value) -> Any: ... -def to_rfc3339(value, ignore_zone = ...) -> Any: ... -def utcnow() -> datetime.datetime: ... diff --git a/pytype_output/pyi/google/api_core/exceptions.pyi b/pytype_output/pyi/google/api_core/exceptions.pyi deleted file mode 100644 index e2b6269c..00000000 --- a/pytype_output/pyi/google/api_core/exceptions.pyi +++ /dev/null @@ -1,287 +0,0 @@ -# (generated with --quick) - -import __future__ -from typing import Any, Optional, Type - -_GRPC_CODE_TO_EXCEPTION: dict -_HTTP_CODE_TO_EXCEPTION: dict -absolute_import: __future__._Feature -grpc: Optional[module] -http_client: module -six: module -unicode_literals: __future__._Feature - -class Aborted(Conflict): - __doc__: str - _errors: Any - _response: Any - grpc_status_code: Any - message: Any - -class AlreadyExists(Conflict): - __doc__: str - _errors: Any - _response: Any - grpc_status_code: Any - message: Any - -class BadGateway(ServerError): - __doc__: str - _errors: Any - _response: Any - code: int - message: Any - -class BadRequest(ClientError): - __doc__: str - _errors: Any - _response: Any - code: int - message: Any - -class Cancelled(ClientError): - __doc__: str - _errors: Any - _response: Any - code: int - grpc_status_code: Any - message: Any - -class ClientError(GoogleAPICallError): - __doc__: str - _errors: Any - _response: Any - message: Any - -class Conflict(ClientError): - __doc__: str - _errors: Any - _response: Any - code: int - message: Any - -class DataLoss(ServerError): - __doc__: str - _errors: Any - _response: Any - grpc_status_code: Any - message: Any - -class DeadlineExceeded(GatewayTimeout): - __doc__: str - _errors: Any - _response: Any - grpc_status_code: Any - message: Any - -class FailedPrecondition(BadRequest): - __doc__: str - _errors: Any - _response: Any - grpc_status_code: Any - message: Any - -class Forbidden(ClientError): - __doc__: str - _errors: Any - _response: Any - code: int - message: Any - -class GatewayTimeout(ServerError): - __doc__: str - _errors: Any - _response: Any - code: int - message: Any - -class GoogleAPICallError(GoogleAPIError, metaclass=_GoogleAPICallErrorMeta): - __doc__: str - _errors: Any - _response: Any - code: Any - errors: list - grpc_status_code: Any - message: Any - response: Any - def __init__(self, message, errors = ..., response = ...) -> None: ... - def __str__(self) -> str: ... - -class GoogleAPIError(Exception): - __doc__: str - -class InternalServerError(ServerError): - __doc__: str - _errors: Any - _response: Any - code: int - grpc_status_code: Any - message: Any - -class InvalidArgument(BadRequest): - __doc__: str - _errors: Any - _response: Any - grpc_status_code: Any - message: Any - -class LengthRequired(ClientError): - __doc__: str - _errors: Any - _response: Any - code: int - message: Any - -class MethodNotAllowed(ClientError): - __doc__: str - _errors: Any - _response: Any - code: int - message: Any - -class MethodNotImplemented(ServerError): - __doc__: str - _errors: Any - _response: Any - code: int - grpc_status_code: Any - message: Any - -class MovedPermanently(Redirection): - __doc__: str - _errors: Any - _response: Any - code: int - message: Any - -class NotFound(ClientError): - __doc__: str - _errors: Any - _response: Any - code: int - grpc_status_code: Any - message: Any - -class NotModified(Redirection): - __doc__: str - _errors: Any - _response: Any - code: int - message: Any - -class OutOfRange(BadRequest): - __doc__: str - _errors: Any - _response: Any - grpc_status_code: Any - message: Any - -class PermissionDenied(Forbidden): - __doc__: str - _errors: Any - _response: Any - grpc_status_code: Any - message: Any - -class PreconditionFailed(ClientError): - __doc__: str - _errors: Any - _response: Any - code: int - message: Any - -class Redirection(GoogleAPICallError): - __doc__: str - _errors: Any - _response: Any - message: Any - -class RequestRangeNotSatisfiable(ClientError): - __doc__: str - _errors: Any - _response: Any - code: int - message: Any - -class ResourceExhausted(TooManyRequests): - __doc__: str - _errors: Any - _response: Any - grpc_status_code: Any - message: Any - -class ResumeIncomplete(Redirection): - __doc__: str - _errors: Any - _response: Any - code: int - message: Any - -class RetryError(GoogleAPIError): - __doc__: str - _cause: Any - cause: Any - message: Any - def __init__(self, message, cause) -> None: ... - def __str__(self) -> str: ... - -class ServerError(GoogleAPICallError): - __doc__: str - _errors: Any - _response: Any - message: Any - -class ServiceUnavailable(ServerError): - __doc__: str - _errors: Any - _response: Any - code: int - grpc_status_code: Any - message: Any - -class TemporaryRedirect(Redirection): - __doc__: str - _errors: Any - _response: Any - code: int - message: Any - -class TooManyRequests(ClientError): - __doc__: str - _errors: Any - _response: Any - code: int - message: Any - -class Unauthenticated(Unauthorized): - __doc__: str - _errors: Any - _response: Any - grpc_status_code: Any - message: Any - -class Unauthorized(ClientError): - __doc__: str - _errors: Any - _response: Any - code: int - message: Any - -class Unknown(ServerError): - __doc__: str - _errors: Any - _response: Any - grpc_status_code: Any - message: Any - -class _GoogleAPICallErrorMeta(type): - __doc__: str - def __new__(mcs: Type[_GoogleAPICallErrorMeta], name, bases, class_dict) -> Any: ... - -def _is_informative_grpc_error(rpc_exc) -> bool: ... -def exception_class_for_grpc_status(status_code) -> Any: ... -def exception_class_for_http_status(status_code) -> Any: ... -def from_grpc_error(rpc_exc) -> Any: ... -def from_grpc_status(status_code, message, **kwargs) -> Any: ... -def from_http_response(response) -> Any: ... -def from_http_status(status_code, message, **kwargs) -> Any: ... diff --git a/pytype_output/pyi/google/api_core/future/__init__.pyi b/pytype_output/pyi/google/api_core/future/__init__.pyi deleted file mode 100644 index 7f1a7cb5..00000000 --- a/pytype_output/pyi/google/api_core/future/__init__.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# (generated with --quick) - -import google.api_core.future.base -from typing import List, Type - -Future: Type[google.api_core.future.base.Future] -__all__: List[str] diff --git a/pytype_output/pyi/google/api_core/future/_helpers.pyi b/pytype_output/pyi/google/api_core/future/_helpers.pyi deleted file mode 100644 index 7149e083..00000000 --- a/pytype_output/pyi/google/api_core/future/_helpers.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# (generated with --quick) - -from typing import Any - -_LOGGER: logging.Logger -logging: module -threading: module - -def safe_invoke_callback(callback, *args, **kwargs) -> Any: ... -def start_daemon_thread(*args, **kwargs) -> threading.Thread: ... diff --git a/pytype_output/pyi/google/api_core/future/async_future.pyi b/pytype_output/pyi/google/api_core/future/async_future.pyi deleted file mode 100644 index 7dccb4d5..00000000 --- a/pytype_output/pyi/google/api_core/future/async_future.pyi +++ /dev/null @@ -1,34 +0,0 @@ -# (generated with --quick) - -import asyncio.futures -import asyncio.tasks -import google.api_core.future.base -import google.api_core.retry_async -from typing import Any, Callable, Coroutine, Optional - -DEFAULT_RETRY: google.api_core.retry_async.AsyncRetry -RETRY_PREDICATE: Callable[[Any], Any] -asyncio: module -base: module -exceptions: module -retry: module -retry_async: module - -class AsyncFuture(google.api_core.future.base.Future): - __doc__: str - _background_task: Optional[asyncio.tasks.Task[None]] - _future: asyncio.futures.Future - _retry: Any - def __init__(self, retry = ...) -> None: ... - def _blocking_poll(self, timeout = ...) -> Coroutine[Any, Any, None]: ... - def _done_or_raise(self) -> Coroutine[Any, Any, None]: ... - def add_done_callback(self, fn) -> None: ... - def done(self, retry = ...) -> Coroutine[Any, Any, nothing]: ... - def exception(self, timeout = ...) -> Coroutine[Any, Any, Optional[BaseException]]: ... - def result(self, timeout = ...) -> coroutine: ... - def running(self) -> Coroutine[Any, Any, bool]: ... - def set_exception(self, exception) -> None: ... - def set_result(self, result) -> None: ... - -class _OperationNotComplete(Exception): - __doc__: str diff --git a/pytype_output/pyi/google/api_core/future/base.pyi b/pytype_output/pyi/google/api_core/future/base.pyi deleted file mode 100644 index 5d658580..00000000 --- a/pytype_output/pyi/google/api_core/future/base.pyi +++ /dev/null @@ -1,27 +0,0 @@ -# (generated with --quick) - -from typing import Any - -abc: module -six: module - -class Future(metaclass=abc.ABCMeta): - __doc__: str - @abstractmethod - def add_done_callback(self, fn) -> Any: ... - @abstractmethod - def cancel(self) -> Any: ... - @abstractmethod - def cancelled(self) -> Any: ... - @abstractmethod - def done(self) -> Any: ... - @abstractmethod - def exception(self, timeout = ...) -> Any: ... - @abstractmethod - def result(self, timeout = ...) -> Any: ... - @abstractmethod - def running(self) -> Any: ... - @abstractmethod - def set_exception(self, exception) -> Any: ... - @abstractmethod - def set_result(self, result) -> Any: ... diff --git a/pytype_output/pyi/google/api_core/future/polling.pyi b/pytype_output/pyi/google/api_core/future/polling.pyi deleted file mode 100644 index 10edc35b..00000000 --- a/pytype_output/pyi/google/api_core/future/polling.pyi +++ /dev/null @@ -1,39 +0,0 @@ -# (generated with --quick) - -import google.api_core.future.base -import google.api_core.retry -import threading -from typing import Any, Callable, Optional - -DEFAULT_RETRY: google.api_core.retry.Retry -RETRY_PREDICATE: Callable[[Any], Any] -_helpers: module -abc: module -base: module -concurrent: module -exceptions: module -retry: module - -class PollingFuture(google.api_core.future.base.Future): - __doc__: str - _done_callbacks: list - _exception: Any - _polling_thread: Optional[threading.Thread] - _result: Any - _result_set: bool - _retry: Any - def __init__(self, retry = ...) -> None: ... - def _blocking_poll(self, timeout = ...) -> None: ... - def _done_or_raise(self) -> None: ... - def _invoke_callbacks(self, *args, **kwargs) -> None: ... - def add_done_callback(self, fn) -> None: ... - @abstractmethod - def done(self, retry = ...) -> Any: ... - def exception(self, timeout = ...) -> Any: ... - def result(self, timeout = ...) -> Any: ... - def running(self) -> bool: ... - def set_exception(self, exception) -> None: ... - def set_result(self, result) -> None: ... - -class _OperationNotComplete(Exception): - __doc__: str diff --git a/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi b/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi deleted file mode 100644 index 8ffd768d..00000000 --- a/pytype_output/pyi/google/api_core/gapic_v1/__init__.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# (generated with --quick) - -from typing import List - -__all__: List[str] -client_info: module -config: module -config_async: module -method: module -method_async: module -routing_header: module -sys: module diff --git a/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi b/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi deleted file mode 100644 index 12ccf937..00000000 --- a/pytype_output/pyi/google/api_core/gapic_v1/client_info.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# (generated with --quick) - -import google.api_core.client_info -from typing import Tuple - -DEFAULT_CLIENT_INFO: ClientInfo -METRICS_METADATA_KEY: str -client_info: module - -class ClientInfo(google.api_core.client_info.ClientInfo): - __doc__: str - def to_grpc_metadata(self) -> Tuple[str, str]: ... diff --git a/pytype_output/pyi/google/api_core/gapic_v1/config.pyi b/pytype_output/pyi/google/api_core/gapic_v1/config.pyi deleted file mode 100644 index af27d28e..00000000 --- a/pytype_output/pyi/google/api_core/gapic_v1/config.pyi +++ /dev/null @@ -1,36 +0,0 @@ -# (generated with --quick) - -import google.api_core.timeout -from typing import Any, Callable, Dict, Iterable, Sized, Tuple, Type, TypeVar - -MethodConfig = `namedtuple-MethodConfig-retry-timeout` - -_MILLIS_PER_SECOND: float -collections: module -exceptions: module -grpc: module -retry: module -six: module -timeout: module - -_Tnamedtuple-MethodConfig-retry-timeout = TypeVar('_Tnamedtuple-MethodConfig-retry-timeout', bound=`namedtuple-MethodConfig-retry-timeout`) - -class `namedtuple-MethodConfig-retry-timeout`(tuple): - __slots__ = ["retry", "timeout"] - __dict__: collections.OrderedDict[str, Any] - _fields: Tuple[str, str] - retry: Any - timeout: Any - def __getnewargs__(self) -> Tuple[Any, Any]: ... - def __getstate__(self) -> None: ... - def __init__(self, *args, **kwargs) -> None: ... - def __new__(cls: Type[`_Tnamedtuple-MethodConfig-retry-timeout`], retry, timeout) -> `_Tnamedtuple-MethodConfig-retry-timeout`: ... - def _asdict(self) -> collections.OrderedDict[str, Any]: ... - @classmethod - def _make(cls: Type[`_Tnamedtuple-MethodConfig-retry-timeout`], iterable: Iterable, new = ..., len: Callable[[Sized], int] = ...) -> `_Tnamedtuple-MethodConfig-retry-timeout`: ... - def _replace(self: `_Tnamedtuple-MethodConfig-retry-timeout`, **kwds) -> `_Tnamedtuple-MethodConfig-retry-timeout`: ... - -def _exception_class_for_grpc_status_name(name) -> Any: ... -def _retry_from_retry_config(retry_params, retry_codes, retry_impl = ...) -> Any: ... -def _timeout_from_retry_config(retry_params) -> google.api_core.timeout.ExponentialTimeout: ... -def parse_method_configs(interface_config, retry_impl = ...) -> Dict[Any, `namedtuple-MethodConfig-retry-timeout`]: ... diff --git a/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi b/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi deleted file mode 100644 index 55f3ddbb..00000000 --- a/pytype_output/pyi/google/api_core/gapic_v1/config_async.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# (generated with --quick) - -import google.api_core.gapic_v1.config -from typing import Any, Dict, Type - -MethodConfig: Type[google.api_core.gapic_v1.config.`namedtuple-MethodConfig-retry-timeout`] -config: module -retry_async: module - -def parse_method_configs(interface_config) -> Dict[Any, google.api_core.gapic_v1.config.`namedtuple-MethodConfig-retry-timeout`]: ... diff --git a/pytype_output/pyi/google/api_core/gapic_v1/method.pyi b/pytype_output/pyi/google/api_core/gapic_v1/method.pyi deleted file mode 100644 index 59939255..00000000 --- a/pytype_output/pyi/google/api_core/gapic_v1/method.pyi +++ /dev/null @@ -1,24 +0,0 @@ -# (generated with --quick) - -from typing import Any, Callable - -DEFAULT: Any -USE_DEFAULT_METADATA: Any -client_info: module -general_helpers: module -grpc_helpers: module -timeout: module - -class _GapicCallable: - __doc__: str - _metadata: Any - _retry: Any - _target: Any - _timeout: Any - def __call__(self, *args, **kwargs) -> Any: ... - def __init__(self, target, retry, timeout, metadata = ...) -> None: ... - -def _apply_decorators(func, decorators) -> Any: ... -def _determine_timeout(default_timeout, specified_timeout, retry) -> Any: ... -def _is_not_none_or_false(value) -> bool: ... -def wrap_method(func, default_retry = ..., default_timeout = ..., client_info = ...) -> Callable: ... diff --git a/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi b/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi deleted file mode 100644 index ca36a317..00000000 --- a/pytype_output/pyi/google/api_core/gapic_v1/method_async.pyi +++ /dev/null @@ -1,13 +0,0 @@ -# (generated with --quick) - -import google.api_core.gapic_v1.method -from typing import Any, Callable, Type - -DEFAULT: Any -USE_DEFAULT_METADATA: Any -_GapicCallable: Type[google.api_core.gapic_v1.method._GapicCallable] -client_info: module -general_helpers: module -grpc_helpers_async: module - -def wrap_method(func, default_retry = ..., default_timeout = ..., client_info = ...) -> Callable: ... diff --git a/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi b/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi deleted file mode 100644 index a70b43b3..00000000 --- a/pytype_output/pyi/google/api_core/gapic_v1/routing_header.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# (generated with --quick) - -from typing import Any, Callable, Mapping, Sequence, Tuple, TypeVar, Union - -ROUTING_METADATA_KEY: str -sys: module - -AnyStr = TypeVar('AnyStr', str, bytes) - -def to_grpc_metadata(params) -> Tuple[str, str]: ... -def to_routing_header(params) -> str: ... -def urlencode(query: Union[Mapping, Sequence[Tuple[Any, Any]]], doseq: bool = ..., safe: AnyStr = ..., encoding: str = ..., errors: str = ..., quote_via: Callable[[str, AnyStr, str, str], str] = ...) -> str: ... diff --git a/pytype_output/pyi/google/api_core/general_helpers.pyi b/pytype_output/pyi/google/api_core/general_helpers.pyi deleted file mode 100644 index 7236608a..00000000 --- a/pytype_output/pyi/google/api_core/general_helpers.pyi +++ /dev/null @@ -1,9 +0,0 @@ -# (generated with --quick) - -from typing import Callable, Tuple - -_PARTIAL_VALID_ASSIGNMENTS: Tuple[str] -functools: module -six: module - -def wraps(wrapped) -> Callable[[Callable], Callable]: ... diff --git a/pytype_output/pyi/google/api_core/grpc_helpers.pyi b/pytype_output/pyi/google/api_core/grpc_helpers.pyi deleted file mode 100644 index dbe7a7f7..00000000 --- a/pytype_output/pyi/google/api_core/grpc_helpers.pyi +++ /dev/null @@ -1,102 +0,0 @@ -# (generated with --quick) - -from typing import Any, Callable, Dict, Iterable, List, Sized, Tuple, Type, TypeVar - -_ChannelRequest = `namedtuple-_ChannelRequest-method-request` -_MethodCall = `namedtuple-_MethodCall-request-timeout-metadata-credentials` - -HAS_GRPC_GCP: bool -_STREAM_WRAP_CLASSES: Tuple[Any, Any] -collections: module -exceptions: module -general_helpers: module -google: module -grpc: module -grpc_gcp: module -six: module - -_T_StreamingResponseIterator = TypeVar('_T_StreamingResponseIterator', bound=_StreamingResponseIterator) -_Tnamedtuple-_ChannelRequest-method-request = TypeVar('_Tnamedtuple-_ChannelRequest-method-request', bound=`namedtuple-_ChannelRequest-method-request`) -_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials = TypeVar('_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials', bound=`namedtuple-_MethodCall-request-timeout-metadata-credentials`) - -class ChannelStub(Any): - __doc__: str - _method_stubs: Dict[Any, _CallableStub] - requests: List[nothing] - def __getattr__(self, key) -> Any: ... - def __init__(self, responses = ...) -> None: ... - def _stub_for_method(self, method) -> _CallableStub: ... - def close(self) -> None: ... - def stream_stream(self, method, request_serializer = ..., response_deserializer = ...) -> _CallableStub: ... - def stream_unary(self, method, request_serializer = ..., response_deserializer = ...) -> _CallableStub: ... - def subscribe(self, callback, try_to_connect = ...) -> None: ... - def unary_stream(self, method, request_serializer = ..., response_deserializer = ...) -> _CallableStub: ... - def unary_unary(self, method, request_serializer = ..., response_deserializer = ...) -> _CallableStub: ... - def unsubscribe(self, callback) -> None: ... - -class _CallableStub: - __doc__: str - _channel: Any - _method: Any - calls: List[`namedtuple-_MethodCall-request-timeout-metadata-credentials`] - requests: list - response: None - responses: None - def __call__(self, request, timeout = ..., metadata = ..., credentials = ...) -> Any: ... - def __init__(self, method, channel) -> None: ... - -class _StreamingResponseIterator(Any): - _stored_first_result: Any - _wrapped: Any - def __init__(self, wrapped) -> None: ... - def __iter__(self: _T_StreamingResponseIterator) -> _T_StreamingResponseIterator: ... - def __next__(self) -> Any: ... - def add_callback(self, callback) -> Any: ... - def cancel(self) -> Any: ... - def code(self) -> Any: ... - def details(self) -> Any: ... - def initial_metadata(self) -> Any: ... - def is_active(self) -> Any: ... - def next(self) -> Any: ... - def time_remaining(self) -> Any: ... - def trailing_metadata(self) -> Any: ... - -class `namedtuple-_ChannelRequest-method-request`(tuple): - __slots__ = ["method", "request"] - __dict__: collections.OrderedDict[str, Any] - _fields: Tuple[str, str] - method: Any - request: Any - def __getnewargs__(self) -> Tuple[Any, Any]: ... - def __getstate__(self) -> None: ... - def __init__(self, *args, **kwargs) -> None: ... - def __new__(cls: Type[`_Tnamedtuple-_ChannelRequest-method-request`], method, request) -> `_Tnamedtuple-_ChannelRequest-method-request`: ... - def _asdict(self) -> collections.OrderedDict[str, Any]: ... - @classmethod - def _make(cls: Type[`_Tnamedtuple-_ChannelRequest-method-request`], iterable: Iterable, new = ..., len: Callable[[Sized], int] = ...) -> `_Tnamedtuple-_ChannelRequest-method-request`: ... - def _replace(self: `_Tnamedtuple-_ChannelRequest-method-request`, **kwds) -> `_Tnamedtuple-_ChannelRequest-method-request`: ... - -class `namedtuple-_MethodCall-request-timeout-metadata-credentials`(tuple): - __slots__ = ["credentials", "metadata", "request", "timeout"] - __dict__: collections.OrderedDict[str, Any] - _fields: Tuple[str, str, str, str] - credentials: Any - metadata: Any - request: Any - timeout: Any - def __getnewargs__(self) -> Tuple[Any, Any, Any, Any]: ... - def __getstate__(self) -> None: ... - def __init__(self, *args, **kwargs) -> None: ... - def __new__(cls: Type[`_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials`], request, timeout, metadata, credentials) -> `_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials`: ... - def _asdict(self) -> collections.OrderedDict[str, Any]: ... - @classmethod - def _make(cls: Type[`_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials`], iterable: Iterable, new = ..., len: Callable[[Sized], int] = ...) -> `_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials`: ... - def _replace(self: `_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials`, **kwds) -> `_Tnamedtuple-_MethodCall-request-timeout-metadata-credentials`: ... - -def _create_composite_credentials(credentials = ..., credentials_file = ..., scopes = ..., ssl_credentials = ...) -> Any: ... -def _patch_callable_name(callable_) -> None: ... -def _simplify_method_name(method) -> Any: ... -def _wrap_stream_errors(callable_) -> Callable: ... -def _wrap_unary_errors(callable_) -> Callable: ... -def create_channel(target, credentials = ..., scopes = ..., ssl_credentials = ..., credentials_file = ..., **kwargs) -> Any: ... -def wrap_errors(callable_) -> Callable: ... diff --git a/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi b/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi deleted file mode 100644 index 87262f74..00000000 --- a/pytype_output/pyi/google/api_core/grpc_helpers_async.pyi +++ /dev/null @@ -1,83 +0,0 @@ -# (generated with --quick) - -import asyncio.futures -from typing import Any, Callable, Coroutine, Generator, Optional, TypeVar - -HAS_GRPC_GCP: bool -aio: module -asyncio: module -exceptions: module -functools: module -grpc: module -grpc_helpers: module - -_T_WrappedCall = TypeVar('_T_WrappedCall', bound=_WrappedCall) - -class FakeStreamUnaryCall(_WrappedStreamUnaryCall): - __doc__: str - _future: asyncio.futures.Future - response: Any - def __await__(self) -> Generator[nothing, Any, Any]: ... - def __init__(self, response = ...) -> None: ... - def wait_for_connection(self) -> Coroutine[Any, Any, None]: ... - -class FakeUnaryUnaryCall(_WrappedUnaryUnaryCall): - __doc__: str - _future: asyncio.futures.Future - response: Any - def __await__(self) -> Generator[nothing, Any, Any]: ... - def __init__(self, response = ...) -> None: ... - -class _WrappedCall(Any): - _call: Any - def __init__(self) -> None: ... - def add_done_callback(self, callback) -> None: ... - def cancel(self) -> Any: ... - def cancelled(self) -> Any: ... - def code(self) -> coroutine: ... - def details(self) -> coroutine: ... - def done(self) -> Any: ... - def initial_metadata(self) -> coroutine: ... - def time_remaining(self) -> Any: ... - def trailing_metadata(self) -> coroutine: ... - def wait_for_connection(self) -> Coroutine[Any, Any, None]: ... - def with_call(self: _T_WrappedCall, call) -> _T_WrappedCall: ... - -class _WrappedStreamRequestMixin(_WrappedCall): - _call: None - def done_writing(self) -> Coroutine[Any, Any, None]: ... - def write(self, request) -> Coroutine[Any, Any, None]: ... - -class _WrappedStreamResponseMixin(_WrappedCall): - _wrapped_async_generator: Optional[asyncgenerator] - def __aiter__(self) -> Any: ... - def __init__(self) -> None: ... - def _wrapped_aiter(self) -> asyncgenerator: ... - def read(self) -> coroutine: ... - -class _WrappedStreamStreamCall(_WrappedStreamRequestMixin, _WrappedStreamResponseMixin, Any): - __doc__: str - _call: Any - _wrapped_async_generator: None - -class _WrappedStreamUnaryCall(_WrappedUnaryResponseMixin, _WrappedStreamRequestMixin, Any): - __doc__: str - _call: Any - -class _WrappedUnaryResponseMixin(_WrappedCall): - _call: None - def __await__(self) -> Generator[nothing, Any, Any]: ... - -class _WrappedUnaryStreamCall(_WrappedStreamResponseMixin, Any): - __doc__: str - _call: Any - _wrapped_async_generator: None - -class _WrappedUnaryUnaryCall(_WrappedUnaryResponseMixin, Any): - __doc__: str - _call: Any - -def _wrap_stream_errors(callable_) -> Callable: ... -def _wrap_unary_errors(callable_) -> Callable: ... -def create_channel(target, credentials = ..., scopes = ..., ssl_credentials = ..., credentials_file = ..., **kwargs) -> Any: ... -def wrap_errors(callable_) -> Callable: ... diff --git a/pytype_output/pyi/google/api_core/iam.pyi b/pytype_output/pyi/google/api_core/iam.pyi deleted file mode 100644 index de612c69..00000000 --- a/pytype_output/pyi/google/api_core/iam.pyi +++ /dev/null @@ -1,53 +0,0 @@ -# (generated with --quick) - -from typing import Any, Dict, Generator, List, MutableMapping, Set, Tuple - -EDITOR_ROLE: str -OWNER_ROLE: str -VIEWER_ROLE: str -_ASSIGNMENT_DEPRECATED_MSG: str -_DICT_ACCESS_MSG: str -_FACTORY_DEPRECATED_MSG: str -collections: module -collections_abc: module -operator: module -warnings: module - -class InvalidOperationException(Exception): - __doc__: str - -class Policy(MutableMapping): - _EDITOR_ROLES: Tuple[str] - _OWNER_ROLES: Tuple[str] - _VIEWER_ROLES: Tuple[str] - __doc__: str - _bindings: List[Dict[str, Any]] - bindings: Any - editors: frozenset - etag: Any - owners: frozenset - version: Any - viewers: frozenset - def __check_version__(self) -> None: ... - def __delitem__(self, key) -> None: ... - def __getitem__(self, key) -> Set[nothing]: ... - def __init__(self, etag = ..., version = ...) -> None: ... - def __iter__(self) -> Generator[nothing, Any, None]: ... - def __len__(self) -> int: ... - def __setitem__(self, key, value) -> None: ... - def _contains_conditions(self) -> bool: ... - @staticmethod - def all_users() -> str: ... - @staticmethod - def authenticated_users() -> str: ... - @staticmethod - def domain(domain) -> str: ... - @classmethod - def from_api_repr(cls, resource) -> Any: ... - @staticmethod - def group(email) -> str: ... - @staticmethod - def service_account(email) -> str: ... - def to_api_repr(self) -> Dict[str, Any]: ... - @staticmethod - def user(email) -> str: ... diff --git a/pytype_output/pyi/google/api_core/operation.pyi b/pytype_output/pyi/google/api_core/operation.pyi deleted file mode 100644 index 76b18fe4..00000000 --- a/pytype_output/pyi/google/api_core/operation.pyi +++ /dev/null @@ -1,40 +0,0 @@ -# (generated with --quick) - -import google.api_core.future.polling -from typing import Any - -code_pb2: module -exceptions: module -functools: module -json_format: module -operations_pb2: module -polling: module -protobuf_helpers: module -threading: module - -class Operation(google.api_core.future.polling.PollingFuture): - __doc__: str - _cancel: Any - _completion_lock: threading.Lock - _metadata_type: Any - _operation: Any - _refresh: Any - _result_type: Any - metadata: Any - operation: Any - def __init__(self, operation, refresh, cancel, result_type, metadata_type = ..., retry = ...) -> None: ... - def _refresh_and_update(self, retry = ...) -> None: ... - def _set_result_from_operation(self) -> None: ... - def cancel(self) -> bool: ... - def cancelled(self) -> Any: ... - @classmethod - def deserialize(self, payload) -> Any: ... - def done(self, retry = ...) -> Any: ... - -def _cancel_grpc(operations_stub, operation_name) -> None: ... -def _cancel_http(api_request, operation_name) -> None: ... -def _refresh_grpc(operations_stub, operation_name) -> Any: ... -def _refresh_http(api_request, operation_name) -> Any: ... -def from_gapic(operation, operations_client, result_type, **kwargs) -> Operation: ... -def from_grpc(operation, operations_stub, result_type, **kwargs) -> Operation: ... -def from_http_json(operation, api_request, result_type, **kwargs) -> Operation: ... diff --git a/pytype_output/pyi/google/api_core/operation_async.pyi b/pytype_output/pyi/google/api_core/operation_async.pyi deleted file mode 100644 index 0303b6f6..00000000 --- a/pytype_output/pyi/google/api_core/operation_async.pyi +++ /dev/null @@ -1,33 +0,0 @@ -# (generated with --quick) - -import google.api_core.future.async_future -from typing import Any, Coroutine - -async_future: module -code_pb2: module -exceptions: module -functools: module -operations_pb2: module -protobuf_helpers: module -threading: module - -class AsyncOperation(google.api_core.future.async_future.AsyncFuture): - __doc__: str - _cancel: Any - _completion_lock: threading.Lock - _metadata_type: Any - _operation: Any - _refresh: Any - _result_type: Any - metadata: Any - operation: Any - def __init__(self, operation, refresh, cancel, result_type, metadata_type = ..., retry = ...) -> None: ... - def _refresh_and_update(self, retry = ...) -> Coroutine[Any, Any, None]: ... - def _set_result_from_operation(self) -> None: ... - def cancel(self) -> Coroutine[Any, Any, bool]: ... - def cancelled(self) -> coroutine: ... - @classmethod - def deserialize(cls, payload) -> Any: ... - def done(self, retry = ...) -> coroutine: ... - -def from_gapic(operation, operations_client, result_type, **kwargs) -> AsyncOperation: ... diff --git a/pytype_output/pyi/google/api_core/operations_v1/__init__.pyi b/pytype_output/pyi/google/api_core/operations_v1/__init__.pyi deleted file mode 100644 index b904aa39..00000000 --- a/pytype_output/pyi/google/api_core/operations_v1/__init__.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# (generated with --quick) - -import google.api_core.operations_v1.operations_async_client -import google.api_core.operations_v1.operations_client -from typing import List, Type - -OperationsAsyncClient: Type[google.api_core.operations_v1.operations_async_client.OperationsAsyncClient] -OperationsClient: Type[google.api_core.operations_v1.operations_client.OperationsClient] -__all__: List[str] -sys: module diff --git a/pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi b/pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi deleted file mode 100644 index 1302e0f8..00000000 --- a/pytype_output/pyi/google/api_core/operations_v1/operations_async_client.pyi +++ /dev/null @@ -1,23 +0,0 @@ -# (generated with --quick) - -import google.api_core.page_iterator_async -from typing import Any, Callable, Coroutine - -functools: module -gapic_v1: module -operations_client_config: module -operations_pb2: module -page_iterator_async: module - -class OperationsAsyncClient: - __doc__: str - _cancel_operation: Callable - _delete_operation: Callable - _get_operation: Callable - _list_operations: Callable - operations_stub: Any - def __init__(self, channel, client_config = ...) -> None: ... - def cancel_operation(self, name, retry = ..., timeout = ...) -> Coroutine[Any, Any, None]: ... - def delete_operation(self, name, retry = ..., timeout = ...) -> Coroutine[Any, Any, None]: ... - def get_operation(self, name, retry = ..., timeout = ...) -> coroutine: ... - def list_operations(self, name, filter_, retry = ..., timeout = ...) -> Coroutine[Any, Any, google.api_core.page_iterator_async.AsyncGRPCIterator]: ... diff --git a/pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi b/pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi deleted file mode 100644 index ed84893f..00000000 --- a/pytype_output/pyi/google/api_core/operations_v1/operations_client.pyi +++ /dev/null @@ -1,23 +0,0 @@ -# (generated with --quick) - -import google.api_core.page_iterator -from typing import Any, Callable - -functools: module -gapic_v1: module -operations_client_config: module -operations_pb2: module -page_iterator: module - -class OperationsClient: - __doc__: str - _cancel_operation: Callable - _delete_operation: Callable - _get_operation: Callable - _list_operations: Callable - operations_stub: Any - def __init__(self, channel, client_config = ...) -> None: ... - def cancel_operation(self, name, retry = ..., timeout = ...) -> None: ... - def delete_operation(self, name, retry = ..., timeout = ...) -> None: ... - def get_operation(self, name, retry = ..., timeout = ...) -> Any: ... - def list_operations(self, name, filter_, retry = ..., timeout = ...) -> google.api_core.page_iterator.GRPCIterator: ... diff --git a/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi b/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi deleted file mode 100644 index a2f6c536..00000000 --- a/pytype_output/pyi/google/api_core/operations_v1/operations_client_config.pyi +++ /dev/null @@ -1,5 +0,0 @@ -# (generated with --quick) - -from typing import Dict, List, Union - -config: Dict[str, Dict[str, Dict[str, Dict[str, Union[Dict[str, Union[float, int, str]], List[str]]]]]] diff --git a/pytype_output/pyi/google/api_core/page_iterator.pyi b/pytype_output/pyi/google/api_core/page_iterator.pyi deleted file mode 100644 index 39ef91d2..00000000 --- a/pytype_output/pyi/google/api_core/page_iterator.pyi +++ /dev/null @@ -1,106 +0,0 @@ -# (generated with --quick) - -from typing import Any, Dict, FrozenSet, Generator, TypeVar - -abc: module -six: module - -_T1 = TypeVar('_T1') -_TPage = TypeVar('_TPage', bound=Page) - -class GRPCIterator(Iterator): - _DEFAULT_REQUEST_TOKEN_FIELD: str - _DEFAULT_RESPONSE_TOKEN_FIELD: str - __doc__: str - _items_field: Any - _request: Any - _request_token_field: Any - _response_token_field: Any - _started: bool - client: Any - item_to_value: Any - max_results: Any - next_page_token: Any - num_results: int - page_number: int - def __init__(self, client, method, request, items_field, item_to_value = ..., request_token_field = ..., response_token_field = ..., max_results = ...) -> None: ... - def _has_next_page(self) -> bool: ... - def _method(self, _1) -> Any: ... - def _next_page(self) -> Page: ... - -class HTTPIterator(Iterator): - _DEFAULT_ITEMS_KEY: str - _HTTP_METHOD: str - _MAX_RESULTS: str - _NEXT_TOKEN: str - _PAGE_TOKEN: str - _RESERVED_PARAMS: FrozenSet[str] - __doc__: str - _items_key: Any - _next_token: Any - _started: bool - client: Any - extra_params: Any - item_to_value: Any - max_results: Any - next_page_token: Any - num_results: int - page_number: int - path: Any - def __init__(self, client, api_request, path, item_to_value, items_key = ..., page_token = ..., max_results = ..., extra_params = ..., page_start = ..., next_token = ...) -> None: ... - def _get_next_page_response(self) -> Any: ... - def _get_query_params(self) -> Dict[str, Any]: ... - def _has_next_page(self) -> bool: ... - def _next_page(self) -> Page: ... - def _page_start(self, _1: HTTPIterator, _2: Page, _3) -> Any: ... - def _verify_params(self) -> None: ... - def api_request(self) -> Any: ... - -class Iterator(metaclass=abc.ABCMeta): - __doc__: str - _started: bool - client: Any - item_to_value: Any - max_results: Any - next_page_token: Any - num_results: Any - page_number: int - pages: Any - def __init__(self, client, item_to_value = ..., page_token = ..., max_results = ...) -> None: ... - def __iter__(self) -> Generator[Any, Any, None]: ... - def _items_iter(self) -> Generator[Any, Any, None]: ... - @abstractmethod - def _next_page(self) -> Any: ... - def _page_iter(self, increment) -> Generator[Any, Any, None]: ... - -class Page: - __doc__: str - _item_iter: Any - _item_to_value: Any - _num_items: int - _parent: Any - _raw_page: Any - _remaining: int - num_items: Any - raw_page: Any - remaining: Any - def __init__(self, parent, items, item_to_value, raw_page = ...) -> None: ... - def __iter__(self: _TPage) -> _TPage: ... - def __next__(self) -> Any: ... - def next(self) -> Any: ... - -class _GAXIterator(Iterator): - __doc__: str - _gax_page_iter: Any - _started: bool - client: Any - item_to_value: Any - max_results: Any - next_page_token: Any - num_results: int - page_number: int - def __init__(self, client, page_iter, item_to_value, max_results = ...) -> None: ... - def _next_page(self) -> Page: ... - -def _do_nothing_page_start(iterator, page, response) -> None: ... -def _item_to_value_identity(iterator, item: _T1) -> _T1: ... diff --git a/pytype_output/pyi/google/api_core/page_iterator_async.pyi b/pytype_output/pyi/google/api_core/page_iterator_async.pyi deleted file mode 100644 index 67f1c967..00000000 --- a/pytype_output/pyi/google/api_core/page_iterator_async.pyi +++ /dev/null @@ -1,48 +0,0 @@ -# (generated with --quick) - -import google.api_core.page_iterator -from typing import Any, Coroutine, Type, TypeVar - -Page: Type[google.api_core.page_iterator.Page] -abc: module - -_T1 = TypeVar('_T1') - -class AsyncGRPCIterator(AsyncIterator): - _DEFAULT_REQUEST_TOKEN_FIELD: str - _DEFAULT_RESPONSE_TOKEN_FIELD: str - __doc__: str - _items_field: Any - _request: Any - _request_token_field: Any - _response_token_field: Any - _started: bool - client: Any - item_to_value: Any - max_results: Any - next_page_token: Any - num_results: int - page_number: int - def __init__(self, client, method, request, items_field, item_to_value = ..., request_token_field = ..., response_token_field = ..., max_results = ...) -> None: ... - def _has_next_page(self) -> bool: ... - def _method(self, _1) -> Any: ... - def _next_page(self) -> Coroutine[Any, Any, google.api_core.page_iterator.Page]: ... - -class AsyncIterator(abc.ABC): - __doc__: str - _started: bool - client: Any - item_to_value: Any - max_results: Any - next_page_token: Any - num_results: Any - page_number: int - pages: Any - def __aiter__(self) -> asyncgenerator: ... - def __init__(self, client, item_to_value = ..., page_token = ..., max_results = ...) -> None: ... - def _items_aiter(self) -> asyncgenerator: ... - @abstractmethod - def _next_page(self) -> coroutine: ... - def _page_aiter(self, increment) -> asyncgenerator: ... - -def _item_to_value_identity(iterator, item: _T1) -> _T1: ... diff --git a/pytype_output/pyi/google/api_core/path_template.pyi b/pytype_output/pyi/google/api_core/path_template.pyi deleted file mode 100644 index f3eccffd..00000000 --- a/pytype_output/pyi/google/api_core/path_template.pyi +++ /dev/null @@ -1,18 +0,0 @@ -# (generated with --quick) - -import __future__ -from typing import Pattern - -_MULTI_SEGMENT_PATTERN: str -_SINGLE_SEGMENT_PATTERN: str -_VARIABLE_RE: Pattern[str] -functools: module -re: module -six: module -unicode_literals: __future__._Feature - -def _expand_variable_match(positional_vars, named_vars, match) -> str: ... -def _generate_pattern_for_template(tmpl) -> str: ... -def _replace_variable_with_pattern(match) -> str: ... -def expand(tmpl, *args, **kwargs) -> str: ... -def validate(tmpl, path) -> bool: ... diff --git a/pytype_output/pyi/google/api_core/protobuf_helpers.pyi b/pytype_output/pyi/google/api_core/protobuf_helpers.pyi deleted file mode 100644 index 12f18614..00000000 --- a/pytype_output/pyi/google/api_core/protobuf_helpers.pyi +++ /dev/null @@ -1,31 +0,0 @@ -# (generated with --quick) - -import google.protobuf.field_mask_pb2 -import google.protobuf.wrappers_pb2 -from typing import Any, Tuple, Type, TypeVar, Union - -_SENTINEL: Any -_WRAPPER_TYPES: Tuple[Type[google.protobuf.wrappers_pb2.BoolValue], Type[google.protobuf.wrappers_pb2.BytesValue], Type[google.protobuf.wrappers_pb2.DoubleValue], Type[google.protobuf.wrappers_pb2.FloatValue], Type[google.protobuf.wrappers_pb2.Int32Value], Type[google.protobuf.wrappers_pb2.Int64Value], Type[google.protobuf.wrappers_pb2.StringValue], Type[google.protobuf.wrappers_pb2.UInt32Value], Type[google.protobuf.wrappers_pb2.UInt64Value]] -collections: module -collections_abc: module -copy: module -field_mask_pb2: module -inspect: module -message: module -wrappers_pb2: module - -_T1 = TypeVar('_T1') - -def _field_mask_helper(original, modified, current = ...) -> list: ... -def _get_path(current, name: _T1) -> Union[str, _T1]: ... -def _is_message(value) -> bool: ... -def _is_wrapper(value) -> bool: ... -def _resolve_subkeys(key, separator = ...) -> Any: ... -def _set_field_on_message(msg, key, value) -> None: ... -def check_oneof(**kwargs) -> None: ... -def field_mask(original, modified) -> google.protobuf.field_mask_pb2.FieldMask: ... -def from_any_pb(pb_type, any_pb) -> Any: ... -def get(msg_or_dict, key, default = ...) -> Any: ... -def get_messages(module) -> collections.OrderedDict[str, Any]: ... -def set(msg_or_dict, key, value) -> None: ... -def setdefault(msg_or_dict, key, value) -> None: ... diff --git a/pytype_output/pyi/google/api_core/retry.pyi b/pytype_output/pyi/google/api_core/retry.pyi deleted file mode 100644 index 8a0bfba2..00000000 --- a/pytype_output/pyi/google/api_core/retry.pyi +++ /dev/null @@ -1,43 +0,0 @@ -# (generated with --quick) - -import __future__ -from typing import Any, Callable, Generator, TypeVar - -_DEFAULT_DEADLINE: float -_DEFAULT_DELAY_MULTIPLIER: float -_DEFAULT_INITIAL_DELAY: float -_DEFAULT_MAXIMUM_DELAY: float -_LOGGER: logging.Logger -datetime: module -datetime_helpers: module -exceptions: module -functools: module -general_helpers: module -logging: module -random: module -six: module -time: module -unicode_literals: __future__._Feature - -_TRetry = TypeVar('_TRetry', bound=Retry) - -class Retry: - __doc__: str - _deadline: Any - _initial: Any - _maximum: Any - _multiplier: Any - _on_error: Any - _predicate: Any - deadline: Any - def __call__(self, func, on_error = ...) -> Callable: ... - def __init__(self, predicate = ..., initial = ..., maximum = ..., multiplier = ..., deadline = ..., on_error = ...) -> None: ... - def __str__(self) -> str: ... - def with_deadline(self: _TRetry, deadline) -> _TRetry: ... - def with_delay(self: _TRetry, initial = ..., maximum = ..., multiplier = ...) -> _TRetry: ... - def with_predicate(self: _TRetry, predicate) -> _TRetry: ... - -def exponential_sleep_generator(initial, maximum, multiplier = ...) -> Generator[nothing, Any, Any]: ... -def if_exception_type(*exception_types) -> Callable[[Any], Any]: ... -def if_transient_error(exception) -> bool: ... -def retry_target(target, predicate, sleep_generator, deadline, on_error = ...) -> Any: ... diff --git a/pytype_output/pyi/google/api_core/retry_async.pyi b/pytype_output/pyi/google/api_core/retry_async.pyi deleted file mode 100644 index e1f0626a..00000000 --- a/pytype_output/pyi/google/api_core/retry_async.pyi +++ /dev/null @@ -1,38 +0,0 @@ -# (generated with --quick) - -from typing import Any, Callable, Generator, TypeVar - -_DEFAULT_DEADLINE: float -_DEFAULT_DELAY_MULTIPLIER: float -_DEFAULT_INITIAL_DELAY: float -_DEFAULT_MAXIMUM_DELAY: float -_LOGGER: logging.Logger -asyncio: module -datetime: module -datetime_helpers: module -exceptions: module -functools: module -logging: module - -_TAsyncRetry = TypeVar('_TAsyncRetry', bound=AsyncRetry) - -class AsyncRetry: - __doc__: str - _deadline: Any - _initial: Any - _maximum: Any - _multiplier: Any - _on_error: Any - _predicate: Any - def __call__(self, func, on_error = ...) -> Callable: ... - def __init__(self, predicate = ..., initial = ..., maximum = ..., multiplier = ..., deadline = ..., on_error = ...) -> None: ... - def __str__(self) -> str: ... - def _replace(self: _TAsyncRetry, predicate = ..., initial = ..., maximum = ..., multiplier = ..., deadline = ..., on_error = ...) -> _TAsyncRetry: ... - def with_deadline(self: _TAsyncRetry, deadline) -> _TAsyncRetry: ... - def with_delay(self: _TAsyncRetry, initial = ..., maximum = ..., multiplier = ...) -> _TAsyncRetry: ... - def with_predicate(self: _TAsyncRetry, predicate) -> _TAsyncRetry: ... - -def exponential_sleep_generator(initial, maximum, multiplier = ...) -> Generator[nothing, Any, Any]: ... -def if_exception_type(*exception_types) -> Callable[[Any], Any]: ... -def if_transient_error(exception) -> bool: ... -def retry_target(target, predicate, sleep_generator, deadline, on_error = ...) -> coroutine: ... diff --git a/pytype_output/pyi/google/api_core/timeout.pyi b/pytype_output/pyi/google/api_core/timeout.pyi deleted file mode 100644 index ddd6e349..00000000 --- a/pytype_output/pyi/google/api_core/timeout.pyi +++ /dev/null @@ -1,36 +0,0 @@ -# (generated with --quick) - -import __future__ -from typing import Any, Callable, TypeVar - -_DEFAULT_DEADLINE: None -_DEFAULT_INITIAL_TIMEOUT: float -_DEFAULT_MAXIMUM_TIMEOUT: float -_DEFAULT_TIMEOUT_MULTIPLIER: float -datetime: module -datetime_helpers: module -general_helpers: module -six: module -unicode_literals: __future__._Feature - -_TExponentialTimeout = TypeVar('_TExponentialTimeout', bound=ExponentialTimeout) - -class ConstantTimeout: - __doc__: str - _timeout: Any - def __call__(self, func) -> Callable: ... - def __init__(self, timeout = ...) -> None: ... - def __str__(self) -> str: ... - -class ExponentialTimeout: - __doc__: str - _deadline: Any - _initial: Any - _maximum: Any - _multiplier: Any - def __call__(self, func) -> Callable: ... - def __init__(self, initial = ..., maximum = ..., multiplier = ..., deadline = ...) -> None: ... - def __str__(self) -> str: ... - def with_deadline(self: _TExponentialTimeout, deadline) -> _TExponentialTimeout: ... - -def _exponential_timeout_generator(initial, maximum, multiplier, deadline) -> generator: ... From 672e74d8bf93f80842d48f3ceeaa793a4de004e5 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Tue, 16 Jun 2020 05:22:00 +0000 Subject: [PATCH 07/12] chore: fix typo --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 495ff829..7b0584ba 100644 --- a/.gitignore +++ b/.gitignore @@ -59,5 +59,5 @@ system_tests/local_test_setup pylintrc pylintrc.test -# Pytyp3 +# pytype pytype_output \ No newline at end of file From 6a3a9acef470052b8df2cc5d8663d6cfdaec32ec Mon Sep 17 00:00:00 2001 From: Dov Shlachter Date: Thu, 18 Jun 2020 14:06:46 -0700 Subject: [PATCH 08/12] Update .gitignore --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7b0584ba..8c18b5e7 100644 --- a/.gitignore +++ b/.gitignore @@ -60,4 +60,4 @@ pylintrc pylintrc.test # pytype -pytype_output \ No newline at end of file +pytype_output From 537130db69b87c1cb271b02906666fbb932ef0ed Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Thu, 18 Jun 2020 23:05:36 +0000 Subject: [PATCH 09/12] fix: add new exception type --- google/api_core/exceptions.py | 6 ++++++ google/api_core/grpc_helpers.py | 4 +++- noxfile.py | 3 --- setup.py | 2 +- tests/asyncio/test_grpc_helpers_async.py | 2 +- tests/unit/test_grpc_helpers.py | 4 +--- 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/google/api_core/exceptions.py b/google/api_core/exceptions.py index d1459ab2..b9c46ca0 100644 --- a/google/api_core/exceptions.py +++ b/google/api_core/exceptions.py @@ -41,6 +41,12 @@ class GoogleAPIError(Exception): pass +class DuplicateCredentialArgs(GoogleAPIError): + """Raised when multiple credentials are passed.""" + + pass + + @six.python_2_unicode_compatible class RetryError(GoogleAPIError): """Raised when a function has exhausted all of its available retries. diff --git a/google/api_core/grpc_helpers.py b/google/api_core/grpc_helpers.py index 146aa729..c28bdfaf 100644 --- a/google/api_core/grpc_helpers.py +++ b/google/api_core/grpc_helpers.py @@ -199,7 +199,9 @@ def _create_composite_credentials(credentials=None, credentials_file=None, scope ValueError: If both a credentials object and credentials_file are passed. """ if credentials and credentials_file: - raise ValueError("'credentials' and 'credentials_file' are mutually exclusive.") + raise exceptions.DuplicateCredentialArgs( + "'credentials' and 'credentials_file' are mutually exclusive." + ) if credentials_file: credentials, _ = google.auth.load_credentials_from_file(credentials_file, scopes=scopes) diff --git a/noxfile.py b/noxfile.py index 247990cf..989bb9be 100644 --- a/noxfile.py +++ b/noxfile.py @@ -60,9 +60,6 @@ def default(session): ] pytest_args.extend(session.posargs) - # TODO(busunkim): Remove once 'load_default_credentials_from_file' is available in google-auth - session.install("--force-reinstall", "git+https://github.com/googleapis/google-auth-library-python.git@support-scopes") - # Inject AsyncIO content, if version >= 3.6. if _greater_or_equal_than_36(session.python): session.install("asyncmock", "pytest-asyncio") diff --git a/setup.py b/setup.py index 8c01c47b..b1b9089c 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ dependencies = [ "googleapis-common-protos >= 1.6.0, < 2.0dev", "protobuf >= 3.4.0", - "google-auth >= 1.14.0, < 2.0dev", + "google-auth >= 1.18.0, < 2.0dev", "requests >= 2.18.0, < 3.0.0dev", "setuptools >= 34.0.0", "six >= 1.10.0", diff --git a/tests/asyncio/test_grpc_helpers_async.py b/tests/asyncio/test_grpc_helpers_async.py index 167b3684..d56c4c60 100644 --- a/tests/asyncio/test_grpc_helpers_async.py +++ b/tests/asyncio/test_grpc_helpers_async.py @@ -320,7 +320,7 @@ def test_create_channel_implicit_with_scopes( def test_create_channel_explicit_with_duplicate_credentials(): target = "example:443" - with pytest.raises(ValueError) as excinfo: + with pytest.raises(exceptions.DuplicateCredentialArgs) as excinfo: grpc_helpers_async.create_channel( target, credentials_file="credentials.json", diff --git a/tests/unit/test_grpc_helpers.py b/tests/unit/test_grpc_helpers.py index a5193076..e2f36662 100644 --- a/tests/unit/test_grpc_helpers.py +++ b/tests/unit/test_grpc_helpers.py @@ -288,15 +288,13 @@ def test_create_channel_implicit_with_scopes( def test_create_channel_explicit_with_duplicate_credentials(): target = "example.com:443" - with pytest.raises(ValueError) as excinfo: + with pytest.raises(exceptions.DuplicateCredentialArgs): grpc_helpers.create_channel( target, credentials_file="credentials.json", credentials=mock.sentinel.credentials ) - assert "mutually exclusive" in str(excinfo.value) - @mock.patch("grpc.composite_channel_credentials") @mock.patch("google.auth.credentials.with_scopes_if_required") From a1d6402a329ee593145d84de0f2b52a4ef9133ff Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Thu, 18 Jun 2020 23:09:14 +0000 Subject: [PATCH 10/12] docs: update error type in docstring --- google/api_core/grpc_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/api_core/grpc_helpers.py b/google/api_core/grpc_helpers.py index c28bdfaf..ec643808 100644 --- a/google/api_core/grpc_helpers.py +++ b/google/api_core/grpc_helpers.py @@ -196,7 +196,7 @@ def _create_composite_credentials(credentials=None, credentials_file=None, scope grpc.ChannelCredentials: The composed channel credentials object. Raises: - ValueError: If both a credentials object and credentials_file are passed. + google.api_core.DuplicateCredentialArgs: If both a credentials object and credentials_file are passed. """ if credentials and credentials_file: raise exceptions.DuplicateCredentialArgs( From 385a710496dac6db588fcca303881496a0a3eaba Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Thu, 18 Jun 2020 23:10:17 +0000 Subject: [PATCH 11/12] docs: fix in async too --- google/api_core/grpc_helpers_async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/api_core/grpc_helpers_async.py b/google/api_core/grpc_helpers_async.py index 1fc2261e..1dfe8b9a 100644 --- a/google/api_core/grpc_helpers_async.py +++ b/google/api_core/grpc_helpers_async.py @@ -228,7 +228,7 @@ def create_channel(target, credentials=None, scopes=None, ssl_credentials=None, aio.Channel: The created channel. Raises: - ValueError: If both a credentials object and credentials_file are passed. + google.api_core.DuplicateCredentialArgs: If both a credentials object and credentials_file are passed. """ composite_credentials = grpc_helpers._create_composite_credentials( From cd60b1da8218cfff4cfa7fad361a91a7f5606115 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Thu, 18 Jun 2020 23:11:28 +0000 Subject: [PATCH 12/12] docs: one more docstring --- google/api_core/grpc_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/api_core/grpc_helpers.py b/google/api_core/grpc_helpers.py index ec643808..2203968e 100644 --- a/google/api_core/grpc_helpers.py +++ b/google/api_core/grpc_helpers.py @@ -252,7 +252,7 @@ def create_channel(target, credentials=None, scopes=None, ssl_credentials=None, grpc.Channel: The created channel. Raises: - ValueError: If both a credentials object and credentials_file are passed. + google.api_core.DuplicateCredentialArgs: If both a credentials object and credentials_file are passed. """ composite_credentials = _create_composite_credentials(