Get the name of the state. Returns: The name of the state.
(cls)
| 1063 | @classmethod |
| 1064 | @functools.lru_cache |
| 1065 | def get_name(cls) -> str: |
| 1066 | """Get the name of the state. |
| 1067 | |
| 1068 | Returns: |
| 1069 | The name of the state. |
| 1070 | """ |
| 1071 | module = cls.__module__.replace(".", "___") |
| 1072 | return format.to_snake_case(f"{module}___{cls.__name__}") |
| 1073 | |
| 1074 | @classmethod |
| 1075 | @functools.lru_cache |