Skip to content

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

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'

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions