Skip to content
This repository was archived by the owner on Aug 25, 2026. It is now read-only.
This repository was archived by the owner on Aug 25, 2026. It is now read-only.

Unused imports  #169

Closed
Closed

Description

@busunkim96

Flake raises warnings about unused imports.

See https://github.com/googleapis/google-cloud-python-private/pull/504

google/cloud/workflows_v1alpha1/services/workflows/pagers.py:2:1: F401 'copy' imported but unused
google/cloud/workflows_v1alpha1/services/workflows/client.py:3:1: F401 'typing.Mapping' imported but unused
google/cloud/workflows_v1alpha1/services/workflows/client.py:3:1: F401 'typing.Optional' imported but unused
google/cloud/workflows_v1alpha1/services/workflows/transports/grpc.py:2:1: F401 'typing.Sequence' imported but unused
google/cloud/workflows_v1alpha1/services/workflows/transports/grpc.py:2:1: F401 'typing.Tuple' imported but unused
tests/unit/workflows_v1alpha1/test_workflows.py:10:1: F401 'google.api_core.operation' imported but unused
tests/unit/workflows_v1alpha1/test_workflows.py:18:1: F401 'google.protobuf.empty_pb2 as empty' imported but unused

Activity

  1. added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Aug 7, 2019
  2. lukesneeringer commented on Aug 12, 2019

    @lukesneeringer
    Contributor

    I added a PR (#177) for the easy ones. The two in the unit tests are actually somewhat difficult, but still worth trying to bop out.

  3. software-dov commented on Aug 16, 2019

    @software-dov
    Contributor

    For the two in test_workflows.py, I don't see the corresponding imports in the test_$service.py.j2. Am I misreading the template? Has the issue been fixed and there's now just version shear?

  4. lukesneeringer commented on Aug 20, 2019

    @lukesneeringer
    Contributor

    It is rendered by the last loop, I believe.

  5. added
    generatorBugs, features, and so forth pertaining to the generated client surface
    on Aug 27, 2019
  6. added a commit that references this issue on Dec 2, 2019
  7. added a commit that references this issue on Dec 10, 2019
  8. software-dov commented on Dec 10, 2019

    @software-dov
    Contributor

    Last bit fixed by #254

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.generatorBugs, features, and so forth pertaining to the generated client surfacepriority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions