class documentation

class TreeMode(ACMEIntEnum):

View In Hierarchy

Available modes do display the resource tree in the console.

Class Method names Return all the enum names.
Method __str__ String representation of the TreeMode.
Method succ Return the next enum value, and cycle to the beginning when reaching the end.
Constant COMPACT Mode - Compact
Constant CONTENT Mode - Show content
Constant CONTENTONLY Mode - Content only
Constant NORMAL Mode - Normal

Inherited from ACMEIntEnum:

Class Method has Check whether the enum type has an entry with either the given int value or string name.
Class Method to Return an enum value by its name.
Method __int__ Get the integer value of an enum.
Method __repr__ Stringify an enum.
@classmethod
def names(cls) -> list[str]:

Return all the enum names.

Returns
list[str]List of enum value.
def __str__(self) -> str:

String representation of the TreeMode.

Returns
strString representation.
def succ(self) -> TreeMode:

Return the next enum value, and cycle to the beginning when reaching the end.

Returns
TreeModeTreeMode value.
COMPACT =

Mode - Compact

Value
auto()
CONTENT =

Mode - Show content

Value
auto()
CONTENTONLY =

Mode - Content only

Value
auto()
NORMAL =

Mode - Normal

Value
auto()