undr.path_directory#

Local or remote directory.

Overview#

Classes#

Directory

A file or directory in a dataset.

Module Contents#

class undr.path_directory.Directory#

Bases: undr.path.Path

A file or directory in a dataset.

A path can point to a local resource or represent a remote resource.

doi_and_metadata_loaded: bool#
__getattribute__(__name: str)#

Return getattr(self, name).

__truediv__(other: str) undr.path.Path#

Concatenates this path with a string to create a new path.

Parameters:

other (str) – Suffix to append to this path.

Returns:

The concatenated result.

Return type:

Path

iter(recursive: bool = False) Iterable[undr.path.Path]#