MCPcopy Create free account
hub / github.com/apache/arrow / _filesystem_is_available

Function _filesystem_is_available

python/pyarrow/__init__.py:97–108  ·  view source on GitHub ↗
(fs)

Source from the content-addressed store, hash-verified

95
96
97def _filesystem_is_available(fs):
98 try:
99 import pyarrow.fs
100 except ImportError:
101 return False
102
103 try:
104 getattr(pyarrow.fs, fs)
105 except (ImportError, AttributeError):
106 return False
107 else:
108 return True
109
110
111def show_info():

Callers 1

show_infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected