Skip to content

Commit b638546

Browse files
committed
chore: remove version check
1 parent 5161d7f commit b638546

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

docarray/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,3 @@
1010
from rich.traceback import install
1111

1212
install()
13-
14-
if 'NO_VERSION_CHECK' not in os.environ:
15-
from .helper import is_latest_version
16-
17-
is_latest_version()

docarray/document/mixins/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def _uri_to_blob(uri: str) -> bytes:
2121
with open(uri, 'rb') as fp:
2222
return fp.read()
2323
else:
24-
raise FileNotFoundError(f'{uri} is not a URL or a valid local path')
24+
raise FileNotFoundError(f'`{uri}` is not a URL or a valid local path')
2525

2626

2727
def _get_file_context(file):

0 commit comments

Comments
 (0)