Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tasks): undeprecate resource helper methods; add py2 deprecation warning; change default timeouts; add 3.8 tests; edit docstrings (via synth) #10074

Merged
merged 1 commit into from
Jan 29, 2020

Conversation

yoshi-automation
Copy link
Contributor

This PR was generated using Autosynth. 🌈

Log from Synthtool
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/tasks/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:264654a37596a44b0668b8ce6ac41082d713f6ee150b3fc6425fa78cc64e4f20
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/tasks/artman_cloudtasks_v2beta2.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2beta2.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/tasks/v2beta2/cloudtasks.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2beta2/google/cloud/tasks_v2beta2/proto/cloudtasks.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/tasks/v2beta2/queue.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2beta2/google/cloud/tasks_v2beta2/proto/queue.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/tasks/v2beta2/target.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2beta2/google/cloud/tasks_v2beta2/proto/target.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/tasks/v2beta2/task.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2beta2/google/cloud/tasks_v2beta2/proto/task.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2beta2/google/cloud/tasks_v2beta2/proto.
synthtool > Replaced '(Google IAM .*?_) ' in google/cloud/tasks_v2beta2/gapic/cloud_tasks_client.py.
synthtool > Replaced '>`__' in google/cloud/tasks_v2beta2/proto/queue_pb2.py.
synthtool > Replaced '>`__' in google/cloud/tasks_v2beta2/proto/cloudtasks_pb2.py.
synthtool > Replaced '>`__' in google/cloud/tasks_v2beta2/proto/task_pb2.py.
synthtool > Replaced '>`__' in google/cloud/tasks_v2beta2/proto/target_pb2.py.
synthtool > Running generator for google/cloud/tasks/artman_cloudtasks_v2beta3.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2beta3.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/tasks/v2beta3/cloudtasks.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2beta3/google/cloud/tasks_v2beta3/proto/cloudtasks.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/tasks/v2beta3/queue.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2beta3/google/cloud/tasks_v2beta3/proto/queue.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/tasks/v2beta3/target.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2beta3/google/cloud/tasks_v2beta3/proto/target.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/tasks/v2beta3/task.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2beta3/google/cloud/tasks_v2beta3/proto/task.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2beta3/google/cloud/tasks_v2beta3/proto.
synthtool > Replaced '(Google IAM .*?_) ' in google/cloud/tasks_v2beta3/gapic/cloud_tasks_client.py.
synthtool > Replaced '>`__' in google/cloud/tasks_v2beta3/proto/queue_pb2.py.
synthtool > Replaced '>`__' in google/cloud/tasks_v2beta3/proto/cloudtasks_pb2.py.
synthtool > Replaced '>`__' in google/cloud/tasks_v2beta3/proto/task_pb2.py.
synthtool > Replaced '>`__' in google/cloud/tasks_v2beta3/proto/target_pb2.py.
synthtool > Running generator for google/cloud/tasks/artman_cloudtasks_v2.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/tasks/v2/cloudtasks.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2/google/cloud/tasks_v2/proto/cloudtasks.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/tasks/v2/queue.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2/google/cloud/tasks_v2/proto/queue.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/tasks/v2/target.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2/google/cloud/tasks_v2/proto/target.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/tasks/v2/task.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2/google/cloud/tasks_v2/proto/task.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/tasks-v2/google/cloud/tasks_v2/proto.
synthtool > Replaced '(Google IAM .*?_) ' in google/cloud/tasks_v2/gapic/cloud_tasks_client.py.
synthtool > Replaced '>`__' in google/cloud/tasks_v2/proto/queue_pb2.py.
synthtool > Replaced '>`__' in google/cloud/tasks_v2/proto/cloudtasks_pb2.py.
synthtool > Replaced '>`__' in google/cloud/tasks_v2/proto/task_pb2.py.
synthtool > Replaced '>`__' in google/cloud/tasks_v2/proto/target_pb2.py.
synthtool > Replaced '(in queue.yaml/xml) <\n\\s+' in google/cloud/tasks_v2beta2/proto/queue_pb2.py.
synthtool > Replaced '#retry_parameters>\n          `__\\.' in google/cloud/tasks_v2/proto/queue_pb2.py.
synthtool > Replaced '>>> # TODO: Initialize `queue`:' in google/cloud/tasks_v2beta3/gapic/cloud_tasks_client.py.
synthtool > Replaced '^(\\s+)>>> queue = {}\n' in google/cloud/tasks_v2beta3/gapic/cloud_tasks_client.py.
synthtool > Replaced 'types\\.View' in google/cloud/tasks_v2beta3/gapic/cloud_tasks_client.py.
synthtool > Replaced 'types\\.View' in google/cloud/tasks_v2/gapic/cloud_tasks_client.py.
synthtool > Replaced 'types\\.View' in google/cloud/tasks_v2beta2/gapic/cloud_tasks_client.py.
synthtool > Replaced '            retry \\(Optional\\[google\\.api_core\\.retry\\.Retry\\]\\):  A retry object used\n                to retry requests\\. If ``None`` is specified, requests will\n                be retried using a default configuration\\.\n            timeout \\(Optional\\[float\\]\\): The amount of time, in seconds, to wait\n                for the request to complete\\. Note that if ``retry`` is\n                specified, the timeout applies to each individual attempt\\.\n            metadata \\(Optional\\[Sequence\\[Tuple\\[str, str\\]\\]\\]\\): Additional metadata\n                that is provided to the method\\.\n\n' in google/cloud/tasks_v2beta3/gapic/cloud_tasks_client.py.
synthtool > Replaced '            retry \\(Optional\\[google\\.api_core\\.retry\\.Retry\\]\\):  A retry object used\n                to retry requests\\. If ``None`` is specified, requests will\n                be retried using a default configuration\\.\n            timeout \\(Optional\\[float\\]\\): The amount of time, in seconds, to wait\n                for the request to complete\\. Note that if ``retry`` is\n                specified, the timeout applies to each individual attempt\\.\n            metadata \\(Optional\\[Sequence\\[Tuple\\[str, str\\]\\]\\]\\): Additional metadata\n                that is provided to the method\\.\n\n' in google/cloud/tasks_v2/gapic/cloud_tasks_client.py.
synthtool > Replaced '            retry \\(Optional\\[google\\.api_core\\.retry\\.Retry\\]\\):  A retry object used\n                to retry requests\\. If ``None`` is specified, requests will\n                be retried using a default configuration\\.\n            timeout \\(Optional\\[float\\]\\): The amount of time, in seconds, to wait\n                for the request to complete\\. Note that if ``retry`` is\n                specified, the timeout applies to each individual attempt\\.\n            metadata \\(Optional\\[Sequence\\[Tuple\\[str, str\\]\\]\\]\\): Additional metadata\n                that is provided to the method\\.\n\n' in google/cloud/tasks_v2beta2/gapic/cloud_tasks_client.py.
.coveragerc
.flake8
MANIFEST.in
docs/_static/custom.css
docs/_templates/layout.html
noxfile.py.j2
setup.cfg
Running session blacken
Creating virtual environment (virtualenv) using python3.6 in .nox/blacken
pip install black==19.3b0
black docs google tests noxfile.py setup.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2/gapic/enums.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/docs/conf.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2/gapic/cloud_tasks_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2/gapic/transports/cloud_tasks_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2/proto/cloudtasks_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2/proto/queue_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2/proto/queue_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2/proto/target_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2/gapic/cloud_tasks_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2/proto/task_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2/types.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta2/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2/proto/task_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta2/gapic/cloud_tasks_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta2/gapic/enums.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2/proto/target_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta2/gapic/transports/cloud_tasks_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2/proto/cloudtasks_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta2/proto/cloudtasks_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta2/proto/queue_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta2/gapic/cloud_tasks_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta2/proto/target_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta2/proto/queue_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta2/proto/task_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta2/types.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta3/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta2/proto/target_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta2/proto/task_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta3/gapic/enums.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta3/gapic/cloud_tasks_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta3/gapic/transports/cloud_tasks_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta3/proto/cloudtasks_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta3/gapic/cloud_tasks_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta3/proto/queue_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta2/proto/cloudtasks_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta3/proto/target_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta3/proto/queue_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta3/proto/task_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta3/types.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/noxfile.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta3/proto/task_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta3/proto/target_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/google/cloud/tasks_v2beta3/proto/cloudtasks_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/tests/unit/gapic/v2beta3/test_cloud_tasks_client_v2beta3.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/tests/unit/gapic/v2/test_cloud_tasks_client_v2.py
reformatted /tmpfs/src/git/autosynth/working_repo/tasks/tests/unit/gapic/v2beta2/test_cloud_tasks_client_v2beta2.py
All done! ✨ 🍰 ✨
50 files reformatted, 11 files left unchanged.
Session blacken was successful.
synthtool > Wrote metadata to synth.metadata.

@yoshi-automation yoshi-automation added the api: cloudtasks Issues related to the Cloud Tasks API. label Jan 8, 2020
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 8, 2020
@busunkim96 busunkim96 changed the title [CHANGE ME] Re-generated tasks to pick up changes in the API or client library generator. feat(tasks): undeprecate resource helper methods; add py2 deprecation warning; change default timeouts; add 3.8 tests; edit docstrings (via synth) Jan 29, 2020
@busunkim96 busunkim96 merged commit f478b36 into master Jan 29, 2020
This was referenced Jan 30, 2020
parthea pushed a commit that referenced this pull request Sep 22, 2023
… warning; change default timeouts; add 3.8 tests; edit docstrings (via synth)(#10074)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: cloudtasks Issues related to the Cloud Tasks API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants