MCPcopy Create free account
hub / github.com/nonebot/nonebot2 / _construct

Method _construct

nonebot/compat.py:167–168  ·  view source on GitHub ↗
(cls, name: str, annotation: Any, field_info: FieldInfo)

Source from the content-addressed store, hash-verified

165
166 @classmethod
167 def _construct(cls, name: str, annotation: Any, field_info: FieldInfo) -> Self:
168 return cls(name, annotation, field_info)
169
170 @classmethod
171 def construct(

Callers 2

constructMethod · 0.45
model_fieldsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected