Skip to content

Commit 1967a61

Browse files
MrBurtyyyemmas-yoti
authored andcommitted
SDK-1260: Convert imports to be relative
1 parent 72a69a3 commit 1967a61

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

yoti_python_sdk/protobuf/protobuf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from yoti_python_sdk.protobuf.share_public_api import ExtraData_pb2
88
from yoti_python_sdk.protobuf.share_public_api import ThirdPartyAttribute_pb2
99

10+
1011
class Protobuf(object):
1112
CT_UNDEFINED = 0 # should not be seen, and is used as an error placeholder
1213
CT_STRING = 1 # UTF-8 encoded text

yoti_python_sdk/protobuf/share_public_api/ExtraData_pb2.py

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yoti_python_sdk/protobuf/share_public_api/ThirdPartyAttribute_pb2.py

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yoti_python_sdk/protobuf/share_public_api/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
import sys
33

44
# needed so we can import relative modules from distinct protobuf-generated files
5-
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
6-
5+
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))

0 commit comments

Comments
 (0)