(location: Union[str, Path])
| 47 | |
| 48 | |
| 49 | def walk(location: Union[str, Path]) -> Generator[Path, None, None]: |
| 50 | if not isinstance(location, Path): |
| 51 | location = Path(location) |
| 52 | |
| 53 | location = location.absolute() |
| 54 | |
| 55 | for x in location.rglob("*"): |
| 56 | if x.is_dir(): |
| 57 | continue |
| 58 | else: |
| 59 | yield x |
| 60 | |
| 61 | |
| 62 | def parse_iso_8601(date_string: str) -> datetime: |
no outgoing calls