add type hints (Python 3.11)
This commit is contained in:
@@ -239,10 +239,12 @@ The data parameter is a base64 encoded proto3 message (Google Protocol Buffers).
|
||||
|
||||
Command for regeneration of Python code from proto3 message definition file (only necessary in case of changes of the proto3 message definition or new protobuf versions):
|
||||
|
||||
protoc --python_out=protobuf_generated_python google_auth.proto
|
||||
protoc --python_out=protobuf_generated_python google_auth.proto --mypy_out=protobuf_generated_python
|
||||
|
||||
The generated protobuf Python code was generated by protoc 21.12 (https://github.com/protocolbuffers/protobuf/releases/tag/v21.12).
|
||||
|
||||
https://github.com/nipunn1313/mypy-protobuf
|
||||
|
||||
## References
|
||||
|
||||
* Proto3 documentation: https://developers.google.com/protocol-buffers/docs/pythontutorial
|
||||
|
||||
Reference in New Issue
Block a user