Skip to content

pagers.py missing import. #150

@busunkim96

Description

@busunkim96

pagers.py is missing an import. I generated the Cloud Billing Budgets API with the latest release.

https://github.com/googleapis/google-cloud-python-private/blob/14acc8f7dce0da8fd30fec5a9d8d25febcf7d477/billing_budgets/google/cloud/billing/budgets_v1alpha1/services/budget_service/pagers.py#L5
pagers.py

from google.cloud.billing.budgets_v1alpha1.types import budget_service

Other files in the library have the budget_model import. https://github.com/googleapis/google-cloud-python-private/blob/14acc8f7dce0da8fd30fec5a9d8d25febcf7d477/billing_budgets/google/cloud/billing/budgets_v1alpha1/services/budget_service/client.py#L12-L13
client.py

from google.cloud.billing.budgets_v1alpha1.types import budget_model
from google.cloud.billing.budgets_v1alpha1.types import budget_service

See https://github.com/googleapis/google-cloud-python-private/pull/503/files for the full generation.

EDIT: Added code snippets for those who don't have access to the repo.

Metadata

Metadata

Labels

🚨This issue needs some love.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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions