oracle / ocifs

ocifs provides a POSIX-compatible API wrapping Oracle Cloud Infrastructure's (OCI) Object Storage. ocifs is a python library that relies on the fsspec framework.

Home Page:https://ocifs.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lsdir incompatible with universal_pathlib

josejg opened this issue · comments

When trying to use ocifs with universal_pathlib lsdir functionality is broken because CaseInsensitiveDict not being a subtype of dict. In particular

This checks (https://github.com/fsspec/universal_pathlib/blob/380144c18f291f0f0a15fe8a02bc265233dd594b/upath/core.py#L811) for dict but fails. If the return object of ocifs were a dict (or dict subtype) the functionality would work