Mypy error in asset golden files when adding dependency for google-cloud-org-policy #1806
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: process
A process-related concern. May include testing, release, or the like.
The dependency
google-cloud-org-policy
is needed in the generated client for //google/cloud/asset/v1. See https://github.com/googleapis/python-asset/blob/7c1f5fec48364889da95d21042278a9d944688c4/setup.py#L42In PR #1805, when the GAPIC dependency
google-cloud-org-policy
was added, mypy tests fail with errorVariable "google.cloud.orgpolicy.v1.orgpolicy_pb2.Policy" is not valid as a type
.See the build log here and stack trace below
We don't currently have type stubs for
google-cloud-org-policy
so adding it would be a good starting point. Missing type stubs are missing in several core dependencies. Also see issue in googleapis/python-api-common-protos#135 for missing type stubs ingoogleapis-common-protos
.The text was updated successfully, but these errors were encountered: