(cls)
| 35 | |
| 36 | @classmethod |
| 37 | def object_capitalized_name(cls) -> str: |
| 38 | # if name has _ then capitalize each word |
| 39 | if "_" in cls.object_name(): |
| 40 | return " ".join([x.capitalize() for x in cls.object_name().split("_")]) |
| 41 | return cls.object_name().capitalize() |
| 42 | |
| 43 | @staticmethod |
| 44 | @abstractmethod |
nothing calls this directly
no test coverage detected