profit.util.base_class

Module Contents

Classes

CustomABC

Helper class that provides a standard way to create an ABC using

class profit.util.base_class.CustomABC[source]

Bases: abc.ABC

Helper class that provides a standard way to create an ABC using inheritance.

labels
classmethod get_label()[source]

Returns the string label of a class object.

classmethod register(label)[source]

Decorator to register new classes.

classmethod __class_getitem__(item)[source]

Returns the child.