Skip to content

[Python] Support pathlib.Path arguments for ExecutionContext.register_* methods #491

@kszucs

Description

@kszucs

Currently it expects a python string:

    def test_register(ctx, tmp_path):
        path = write_parquet(tmp_path / "a.parquet", data())
>       ctx.register_parquet("t", path)
E       TypeError: argument 'path': 'PosixPath' object cannot be converted to 'PyString'

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions