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

Method __repr__

tortoise/fields/db_defaults.py:33–34  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31 return self.sql
32
33 def __repr__(self) -> str:
34 return f"SqlDefault({self.sql!r})"
35
36 def __eq__(self, other: object) -> bool:
37 return isinstance(other, SqlDefault) and self.sql == other.sql

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected