Skip to content

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
@busunkim96 busunkim96 requested a review from crwilcox as a code owner March 22, 2019 21:40
@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.

4 participants