Skip to content

Commit 1c03dcc

Browse files
authored
feat: add progress field to UpdateDatabaseDdlMetadata (#361)
* chore: fix owlbot.py to copy changes from googleapis-gen * feat(spanner): add progress field to UpdateDatabaseDdlMetadata * use the latest owlbot post processor image * chore: move import of CommitResponse * add workarounds in owlbot.py * run post processor * update owlbot.py to copy multiple folders/versions from googleapis-gen
1 parent f58d2c3 commit 1c03dcc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+3786
-2792
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
docker:
2-
digest: sha256:cfc0e802701262c211703c468874d767f65dabe6a1a71d0e07bfc8a3d5175f32
2+
digest: sha256:c66ba3c8d7bc8566f47df841f98cd0097b28fff0b1864c86f5817f4c8c3e8600
33
image: gcr.io/repo-automation-bots/owlbot-python:latest
44

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ repos:
2626
hooks:
2727
- id: black
2828
- repo: https://gitlab.com/pycqa/flake8
29-
rev: 3.9.0
29+
rev: 3.9.2
3030
hooks:
3131
- id: flake8

CONTRIBUTING.rst

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -160,21 +160,7 @@ Running System Tests
160160
auth settings and change some configuration in your project to
161161
run all the tests.
162162

163-
- System tests will be run against an actual project and
164-
so you'll need to provide some environment variables to facilitate
165-
authentication to your project:
166-
167-
- ``GOOGLE_APPLICATION_CREDENTIALS``: The path to a JSON key file;
168-
Such a file can be downloaded directly from the developer's console by clicking
169-
"Generate new JSON key". See private key
170-
`docs <https://cloud.google.com/storage/docs/authentication#generating-a-private-key>`__
171-
for more details.
172-
173-
- Once you have downloaded your json keys, set the environment variable
174-
``GOOGLE_APPLICATION_CREDENTIALS`` to the absolute path of the json file::
175-
176-
$ export GOOGLE_APPLICATION_CREDENTIALS="/Users/<your_username>/path/to/app_credentials.json"
177-
163+
- System tests will be run against an actual project. You should use local credentials from gcloud when possible. See `Best practices for application authentication <https://cloud.google.com/docs/authentication/best-practices-applications#local_development_and_testing_with_the>`__. Some tests require a service account. For those tests see `Authenticating as a service account <https://cloud.google.com/docs/authentication/production>`__.
178164

179165
*************
180166
Test Coverage

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@
363363
"google.api_core": ("https://googleapis.dev/python/google-api-core/latest/", None,),
364364
"grpc": ("https://grpc.github.io/grpc/python/", None),
365365
"proto-plus": ("https://proto-plus-python.readthedocs.io/en/latest/", None),
366+
"protobuf": ("https://googleapis.dev/python/protobuf/latest/", None),
366367
}
367368

368369

docs/multiprocessing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. note::
22

3-
Because this client uses :mod:`grpcio` library, it is safe to
3+
Because this client uses :mod:`grpc` library, it is safe to
44
share instances across threads. In multiprocessing scenarios, the best
55
practice is to create client instances *after* the invocation of
6-
:func:`os.fork` by :class:`multiprocessing.Pool` or
6+
:func:`os.fork` by :class:`multiprocessing.pool.Pool` or
77
:class:`multiprocessing.Process`.

docs/spanner_admin_database_v1/database_admin.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ DatabaseAdmin
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.spanner_admin_database_v1.services.database_admin.pagers
109
:members:
1110
:inherited-members:

docs/spanner_admin_database_v1/types.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ Types for Google Cloud Spanner Admin Database v1 API
33

44
.. automodule:: google.cloud.spanner_admin_database_v1.types
55
:members:
6+
:undoc-members:
67
:show-inheritance:

docs/spanner_admin_instance_v1/instance_admin.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ InstanceAdmin
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.spanner_admin_instance_v1.services.instance_admin.pagers
109
:members:
1110
:inherited-members:

docs/spanner_admin_instance_v1/types.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ Types for Google Cloud Spanner Admin Instance v1 API
33

44
.. automodule:: google.cloud.spanner_admin_instance_v1.types
55
:members:
6+
:undoc-members:
67
:show-inheritance:

docs/spanner_v1/spanner.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Spanner
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.spanner_v1.services.spanner.pagers
109
:members:
1110
:inherited-members:

0 commit comments

Comments
 (0)