Skip to content

feat(params): accept path-like values for file parameters - #21

Draft
Emin017 wants to merge 2 commits into
mainfrom
emin/support-Path-type
Draft

Emin017 wants to merge 2 commits into
mainfrom
emin/support-Path-type

Conversation

@Emin017

@Emin017 Emin017 commented Jul 22, 2026

Copy link
Copy Markdown
Member

No description provided.

Emin017 added 2 commits July 22, 2026 17:16
Scalar os.PathLike values written through Params ingestion paths
(__setattr__, fromJson, fromCmdLine) are normalized to str via
os.fsdecode, keeping Params state JSON-serializable for toJson/dump
and compatible with the std::string C++ options in place_io.
Container values (including lists of paths) are preserved as-is.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant