progfiguration.progfigtypes¶
Progfiguration types
Things here should not depend on any other parts of the progfiguration package
Attributes¶
A pathlib.Path, a Traversable, or a zipfile.Path |
|
A pathlib.Path, a Traversable, a zipfile.Path, or a str |
|
A pathlib.Path or a str only |
Module Contents¶
- progfiguration.progfigtypes.AnyPath¶
A pathlib.Path, a Traversable, or a zipfile.Path
- progfiguration.progfigtypes.AnyPathOrStr¶
A pathlib.Path, a Traversable, a zipfile.Path, or a str
- progfiguration.progfigtypes.PathOrStr¶
A pathlib.Path or a str only
Traversable and zipfile.Path cannot be copied to and do not have .exists(), so it’s useful to have a type that excludes them.