Unset
UnsetType
UnsetType.__bool__()
UnsetType.__new__()
UnsetType.__repr__()
UnsetType.__slots__
is_unset()
Singleton instance of the UnsetType.
Bases: object
object
Singleton type for representing unset or undefined values.
It has only one global instance to allow fast is-a tests in the code and always evaluates to False.
False
Return repr(self).
Check if obj is instance of UnsetType type.
Changed in version 0.31.0: Now uses typing_extensions.TypeIs for type narrowing.
typing_extensions.TypeIs
Added in version 0.17.0.