kittycad.models.system_info_cgroup_version_enum
Classes
|
An enumeration. |
- class kittycad.models.system_info_cgroup_version_enum.SystemInfoCgroupVersionEnum(value)[source][source]
An enumeration.
- __dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.system_info_cgroup_version_enum', '__str__': <function SystemInfoCgroupVersionEnum.__str__>, '__doc__': 'An enumeration.', '__dict__': <attribute '__dict__' of 'SystemInfoCgroupVersionEnum' objects>, '__weakref__': <attribute '__weakref__' of 'SystemInfoCgroupVersionEnum' objects>, '_member_names_': ['EMPTY', 'ONE', 'TWO'], '_member_map_': {'EMPTY': <SystemInfoCgroupVersionEnum.EMPTY: ''>, 'ONE': <SystemInfoCgroupVersionEnum.ONE: '1'>, 'TWO': <SystemInfoCgroupVersionEnum.TWO: '2'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'': <SystemInfoCgroupVersionEnum.EMPTY: ''>, '1': <SystemInfoCgroupVersionEnum.ONE: '1'>, '2': <SystemInfoCgroupVersionEnum.TWO: '2'>}, 'EMPTY': <SystemInfoCgroupVersionEnum.EMPTY: ''>, 'ONE': <SystemInfoCgroupVersionEnum.ONE: '1'>, 'TWO': <SystemInfoCgroupVersionEnum.TWO: '2'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
- _generate_next_value_(start, count, last_values)[source]
Generate the next value when not given.
name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None