bundles / traitlets latest / traitlets / traitlets / Path
class
traitlets.traitlets:Path
source: /traitlets/traitlets.py:4232
Signature
class Path(default_value: t.Any = traitlets.Undefined, allow_none: bool = False, read_only: bool | None = None, help: str | None = None, config: t.Any = None, **kwargs: t.Any) → NoneMembers
Summary
A trait for filesystem paths.
Extended Summary
Accepts strings and os.PathLike objects. The resulting attribute will be a pathlib.Path instance.
Aliases
traitlets.Path