Skip to content

Lsdir incompatible with universal_pathlib #40

@josejg

Description

@josejg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions