(
cls: type["T"], _fields_set: Union[set[str], None] = None, **values: Any
)
| 1168 | category=OrmarDeprecatedSince020, |
| 1169 | ) |
| 1170 | def construct( |
| 1171 | cls: type["T"], _fields_set: Union[set[str], None] = None, **values: Any |
| 1172 | ) -> "T": # pragma: no cover |
| 1173 | warnings.warn( |
| 1174 | "The `construct` method is deprecated; use `model_construct` instead.", |
| 1175 | DeprecationWarning, |
| 1176 | ) |
| 1177 | return cls.model_construct(_fields_set=_fields_set, **values) |
| 1178 | |
| 1179 | @classmethod |
| 1180 | def model_construct( |
nothing calls this directly
no test coverage detected