Skip to content

Commit

Permalink
Merge pull request #20 from wvangeit/cast_uuid
Browse files Browse the repository at this point in the history
Cast uuid to string
  • Loading branch information
wvangeit authored Feb 16, 2024
2 parents 880362c + 133e42d commit 3309ee5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,9 @@ clean:
rm -rf dist
rm -rf build

wheel:
wheel: clean
pip -q install build
python -m build

install: wheel
pip install dist/*.whl
9 changes: 8 additions & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
from . import _version # NOQA
from importlib.metadata import version, PackageNotFoundError

try:
__version__ = version("osparc_filecomms")
except PackageNotFoundError:
# package is not installed
pass

from . import handshakers # NOQA
2 changes: 1 addition & 1 deletion src/handshakers.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(
self.verbose_level = verbose_level
logger.setLevel(self.verbose_level)

self.self_uuid = self_uuid
self.self_uuid = str(self_uuid)
self.other_uuid = None

self.is_initiator = is_initiator
Expand Down

0 comments on commit 3309ee5

Please sign in to comment.