Sindbad~EG File Manager

Current Path : /opt/imh-python/lib/python3.9/site-packages/pydantic/_internal/
Upload File :
Current File : //opt/imh-python/lib/python3.9/site-packages/pydantic/_internal/_import_utils.py

from functools import lru_cache
from typing import TYPE_CHECKING, Type

if TYPE_CHECKING:
    from pydantic import BaseModel
    from pydantic.fields import FieldInfo


@lru_cache(maxsize=None)
def import_cached_base_model() -> Type['BaseModel']:
    from pydantic import BaseModel

    return BaseModel


@lru_cache(maxsize=None)
def import_cached_field_info() -> Type['FieldInfo']:
    from pydantic.fields import FieldInfo

    return FieldInfo

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists