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

Method __init__

tortoise/contrib/postgres/fields.py:94–96  ·  view source on GitHub ↗
(self, element_type: str = "int", **kwargs: Any)

Source from the content-addressed store, hash-verified

92
93class ArrayField(Field, list): # type: ignore
94 def __init__(self, element_type: str = "int", **kwargs: Any):
95 super().__init__(**kwargs)
96 self.element_type = element_type.upper()
97
98 @property
99 def SQL_TYPE(self) -> str: # type: ignore

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected