Skip to content

[ISSUE] DBUtils does not support Path objects. #1459

@GodNooNoo

Description

@GodNooNoo

Problem Statement
When I pass in a pathlib.Path to DBUtils functions they fail, despite pathlib being the default way to do paths in Python. E.g., dbutils.fs.ls(Path("my/cool/folder"))

Proposed Solution
Support Path objects as input to dbutils functions, could be done by just casting to string.

Additional Context
I don't know if the actual dbutils code is maintained here, but you at least have the Workspace Client implementation so figured you guys would know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions