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

Tasks: Generate v2. #7547

Merged
merged 4 commits into from
Mar 26, 2019
Merged

Tasks: Generate v2. #7547

merged 4 commits into from
Mar 26, 2019

Conversation

busunkim96
Copy link
Contributor

No description provided.

@busunkim96 busunkim96 added the api: cloudtasks Issues related to the Cloud Tasks API. label Mar 22, 2019
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 22, 2019
@busunkim96
Copy link
Contributor Author

busunkim96 commented Mar 22, 2019

Unit tests fail with an import error for resource.proto.

______ ERROR collecting tests/unit/gapic/v2/test_cloud_tasks_client_v2.py ______
ImportError while importing test module '/tmpfs/src/github/google-cloud-python/tasks/tests/unit/gapic/v2/test_cloud_tasks_client_v2.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/unit/gapic/v2/test_cloud_tasks_client_v2.py:21: in <module>
    from google.cloud import tasks_v2
google/cloud/tasks_v2/__init__.py:19: in <module>
    from google.cloud.tasks_v2 import types
google/cloud/tasks_v2/types.py:22: in <module>
    from google.cloud.tasks_v2.proto import cloudtasks_pb2
google/cloud/tasks_v2/proto/cloudtasks_pb2.py:18: in <module>
    from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
E   ImportError: cannot import name 'resource_pb2' from 'google.api' (/tmpfs/src/github/google-cloud-python/tasks/.nox/unit-3-7/lib/python3.7/site-packages/google/api/__init__.py)

Waiting on a new release of googleapis-common-protos.

@tswast
Copy link
Contributor

tswast commented Mar 25, 2019

I just had to deal with the resource proto thing, too. It's in the very latest version of the googleapis common protos package, but I ended up dropping it as a dependency in google-cloud-bigquery-storage (#7550).

@busunkim96 busunkim96 merged commit ee789e9 into googleapis:master Mar 26, 2019
@busunkim96 busunkim96 deleted the tasks-v2 branch April 26, 2019 17:17
parthea pushed a commit that referenced this pull request Sep 22, 2023
* Initial generation of v2

* Update docs

* Fix index.rst

* Fix docstring.
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.

None yet

4 participants