Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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