Skip to content

Skeletons / proper typing missing for this kind of code synthesis #11865

@doctorpangloss

Description

@doctorpangloss

https://github.com/GoogleCloudPlatform/google-cloud-python/blob/c2a7bffb11425d9c5e98425f8282866a7c7fd634/vision/google/cloud/vision_helpers/decorators.py#L18

Do you think you could commit a valid, simple set of methods that will appear in IDE autocompletes like PyCharm?

It would greatly improve usability of your cloud APIs.

The test is pretty simple:

  1. Open a blank project in PyCharm 2018.
  2. Use a virtualenv with google-vision-api (for example) installed.
  3. Start following a quick start.
  4. Observe no methods can be found on the ImageAnnotatorClient object, for example.

Maybe the equivalent of https://github.com/jbasko/autoboto ?

Metadata

Metadata

Assignees

Labels

api: visionIssues related to the Cloud Vision API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions