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 Empty*
*from google.protobuf.timestamp_pb2 import Timestamp*

I 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?


Cheers,
Alexei

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/2de933b6-eb85-4178-88a7-b5180689a0ebn%40googlegroups.com.

Reply via email to