Add comment to explain unusual import location

This commit is contained in:
boukeversteegh 2020-06-03 23:51:19 +02:00
parent ff14948a4e
commit 7ecf3fe0e6

View File

@ -941,6 +941,7 @@ def which_one_of(message: Message, group_name: str) -> Tuple[str, Any]:
return (field_name, getattr(message, field_name))
# Circular import workaround: google.protobuf depends on base classes defined above.
from .lib.google.protobuf import Duration, Timestamp