Skip to content

Commit

Permalink
chore: remove version check
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Apr 27, 2022
1 parent 5161d7f commit b638546
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions docarray/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,3 @@
from rich.traceback import install

install()

if 'NO_VERSION_CHECK' not in os.environ:
from .helper import is_latest_version

is_latest_version()
2 changes: 1 addition & 1 deletion docarray/document/mixins/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _uri_to_blob(uri: str) -> bytes:
with open(uri, 'rb') as fp:
return fp.read()
else:
raise FileNotFoundError(f'{uri} is not a URL or a valid local path')
raise FileNotFoundError(f'`{uri}` is not a URL or a valid local path')


def _get_file_context(file):
Expand Down

0 comments on commit b638546

Please sign in to comment.