MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / __str__

Method __str__

tortoise/models.py:858–859  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

856 return self
857
858 def __str__(self) -> str:
859 return f"<{self.__class__.__name__}>"
860
861 def __repr__(self) -> str:
862 if self.pk:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected