MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / object_capitalized_name

Method object_capitalized_name

backend/tkhelper/models/entity.py:37–41  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

object_nameMethod · 0.45

Tested by

no test coverage detected