MCPcopy
hub / github.com/pydantic/pydantic / import_cached_base_model

Function import_cached_base_model

pydantic/_internal/_import_utils.py:10–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9@cache
10def import_cached_base_model() -> type['BaseModel']:
11 from pydantic import BaseModel
12
13 return BaseModel
14
15
16@cache

Callers 11

__new__Method · 0.85
_collect_bases_dataMethod · 0.85
get_model_post_initFunction · 0.85
_model_schemaMethod · 0.85
collect_model_fieldsFunction · 0.85
is_model_classFunction · 0.85
pydantic_encoderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected