Skip to content

Commit

Permalink
Remove a missing import
Browse files Browse the repository at this point in the history
Works around python#4815, although a proper fix is needed.
  • Loading branch information
srittau committed Dec 14, 2020
1 parent 8da5322 commit 66bb73f
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# @generated by generate_proto_mypy_stubs.py. Do not edit!

# Manually edited to work around #4815.

import sys
from google.protobuf.any_pb2 import (
Any as google___protobuf___any_pb2___Any,
Expand Down Expand Up @@ -42,9 +45,12 @@ from google.protobuf.timestamp_pb2 import (
Timestamp as google___protobuf___timestamp_pb2___Timestamp,
)

from google.protobuf.unittest_pb2 import (
TestAllExtensions as google___protobuf___unittest_pb2___TestAllExtensions,
)
# Work-around #4815
# from google.protobuf.unittest_pb2 import (
# TestAllExtensions as google___protobuf___unittest_pb2___TestAllExtensions,
# )
from typing import Any
google___protobuf___unittest_pb2___TestAllExtensions = Any

from google.protobuf.wrappers_pb2 import (
BoolValue as google___protobuf___wrappers_pb2___BoolValue,
Expand Down

0 comments on commit 66bb73f

Please sign in to comment.