Hello,
I just upgraded protobuf from 3.17.3 to 3.20.1 (macos, python 3.9), and my code started complaining that there is no
from google.protobuf.empty_pb2 import Emptyfrom google.protobuf.timestamp_pb2 import TimestampI checked the package folder under ./venv/lib/python3.9/site-packages/google/protobuf/ and indeed there is no
Empty type there.
Ok, I found
Timestamp in internal/well_known_types.py.
Why internal? It does not make sense.
Also cannot find
StringValue and other wrapper types.
Is it a known bug, or I'm missing something?
How should I construct Empty or StringValue objects now?