Skip to content

Commit

Permalink
Downgrade websocket-client bacause of bug in 1.0.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
aniezurawski committed May 21, 2021
1 parent 109a00b commit 7436e4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions neptune/new/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from neptune.exceptions import UNIX_STYLES
from neptune.new.attributes import attribute_type_to_atom
from neptune.new.attributes.attribute import Attribute
from neptune.new.attributes.namespace import NamespaceBuilder
from neptune.new.attributes.namespace import Namespace as NamespaceAttr, NamespaceBuilder
from neptune.new.exceptions import MetadataInconsistency, NeptuneException
from neptune.new.handler import Handler
from neptune.new.internal.backends.api_model import AttributeType
Expand Down Expand Up @@ -299,7 +299,7 @@ def get_run_url(self) -> str:
def _print_structure_impl(self, struct: dict, indent: int) -> None:
for key in sorted(struct.keys()):
click.echo(" " * indent, nl=False)
if isinstance(struct[key], dict):
if isinstance(struct[key], (dict, NamespaceAttr)):
click.echo("{blue}'{key}'{end}:".format(
blue=UNIX_STYLES['blue'],
key=key,
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ PyJWT
requests>=2.20.0
requests-oauthlib>=1.0.0
six>=1.12.0
websocket-client>=0.35.0
websocket-client>=0.35.0,<1.0.0
GitPython>=2.0.8
packaging
urllib3
Expand Down

0 comments on commit 7436e4e

Please sign in to comment.