GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: remove version check · Python-Repository-Hub/docarray@b638546

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • docarray
    • __init__.py
    • document/mixins
      • helper.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docarray/__init__.py‎

Copy file name to clipboardExpand all lines: docarray/__init__.py
-5Lines 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()
Collapse file

‎docarray/document/mixins/helper.py‎

Copy file name to clipboardExpand all lines: docarray/document/mixins/helper.py
+1-1Lines 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 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.