8000 [Ray init] Ray init method does not support pathlib.Path · Issue #33672 · ray-project/ray · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Ray init] Ray init method does not support pathlib.Path #33672
Open
@lcaquot94

Description

@lcaquot94

Description

Ray init method does not support pathlib.Path objects for address and storage parameters. Only string objects are supported. It could be nice to support Path objects to avoid conversion such as:

ray.init(storage=Path('/home') / 'ray' / 'workflow_data') # Not working
ray.init(storage=str(Path('/home') / 'ray' / 'workflow_data')) # Working

Use case

I want to init ray using Pathlib objects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issue, but not time-criticalcoreIssues that should be addressed in Ray Corecore-apienhancementRequest for new feature and/or capabilitypending-cleanupThis issue is pending cleanup. It will be removed in 2 weeks after being assigned.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0