[Bug][python] exists
raises exception in cases when it should return False
#1035
Labels
exists
raises exception in cases when it should return False
#1035
Describe the bug
tiledbsoma.*.exists()
is documented as return a False for any URI that does not exist. However, in many cases it will raise an exception instead of returning False.Simple example: an unknown URI scheme, e.g,
tiledbsoma.DataFrame.exists("foo://bar")
The typical pattern in Python (e.g.,
fsspec
) is to swallow all exceptions and return False, e.g.,Root cause is the explicit
except SOMAError
catch in theexists
implementation.Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: