protobuf: Add workaround for imports in generated files
This commit is contained in:
parent
66679c8a8e
commit
ce8a99be20
5
protobuf/__init__.py
Normal file
5
protobuf/__init__.py
Normal file
@ -0,0 +1,5 @@
|
||||
# https://github.com/protocolbuffers/protobuf/issues/1491
|
||||
# https://github.com/protocolbuffers/protobuf/issues/1491#issuecomment-547504972
|
||||
import sys
|
||||
from pathlib import Path
|
||||
sys.path.append(str(Path(__file__).parent))
|
Loading…
Reference in New Issue
Block a user