Skip to content

Commit

Permalink
filesystem module shouldn't be required
Browse files Browse the repository at this point in the history
import can fail due to fsspec being missing
  • Loading branch information
Mause committed Sep 24, 2023
1 parent 2e77e2e commit c7a4ca8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ struct PyDuckDBFileSystemCacheItem : public PythonImportCacheItem {
modified_memory_filesystem.LoadAttribute("ModifiedMemoryFileSystem", cache, *this);
}

protected:
bool IsRequired() const override {
return false;
}

public:
PythonImportCacheItem modified_memory_filesystem;
};
Expand Down

0 comments on commit c7a4ca8

Please sign in to comment.