Failed to import viewport by wrong import path #13222
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Determine this is the right repository
Summary of the issue
Context
I tried to build a message with viewport.
Expected Behavior:
Run as normally without exception.
Actual Behavior:
Failde with
ImportError: cannot import name 'viewport_pb2' from 'google.geo.type'
API client name and version
google-geo-type v0.3.10
Reproduction steps: code
file: sample.proto
file: sample_pb2
Reproduction steps: supporting files
https://github.com/ringsaturn/proto-debug
Reproduction steps: actual results
file: sample_pb2
Reproduction steps: expected results
file: sample_pb2
OS & version + platform
macoS
Python environment
3.12
Python dependencies
Additional context
A repo for debug: https://github.com/ringsaturn/proto-debug
The text was updated successfully, but these errors were encountered: