gapic-generator-python icon indicating copy to clipboard operation
gapic-generator-python copied to clipboard

Wrong type comments for DatetimeWithNanoseconds

Open daniel-sanche opened this issue 7 months ago • 0 comments

As reported in firestore: https://github.com/googleapis/python-firestore/issues/972

The generated docstrings for create_time say it is of type google.protobuf.timestamp_pb2.Timestamp. But using the library, it actually shows up as DatetimeWithNanoseconds. Is there a way to fix this comment at generation time?

daniel-sanche avatar May 22 '25 23:05 daniel-sanche