Skip to main content

EmptyDir

A sentinel :class:Dir representing 'no directory was produced'.

Attributes

AttributeTypeDescription
pathstring = _EMPTY_DIR_SENTINELSentinel path value used to identify the directory as empty during serialization and deserialization.
namestringThe display name of the directory, which defaults to an empty string for this sentinel class.

Constructor

Signature

def EmptyDir(
**data: Any
) - > null

Parameters

NameTypeDescription
**dataAnyArbitrary keyword arguments passed to the parent Dir constructor, with 'path' and 'name' being specifically managed.

Signature

def EmptyDir(
**data: Any
) - > null

Parameters

NameTypeDescription
**dataAnyArbitrary keyword arguments passed to the parent Dir constructor, though 'path' and 'name' are overridden or defaulted to sentinel values.