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

Method __init__

tortoise/validators.py:41–42  ·  view source on GitHub ↗
(self, max_length: int)

Source from the content-addressed store, hash-verified

39 """
40
41 def __init__(self, max_length: int) -> None:
42 self.max_length = max_length
43
44 def __call__(self, value: str) -> None:
45 if value is None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected