Download lib/python3.12/site-packages/openai/cli/_models.py from parallel-reasoner/env-full: direct link, hf CLI and curl.
- Browser
- Download file 491 Bytes
-
https://huggingface.co/parallel-reasoner/env-full/resolve/be40555abc6caad69f85306f14f6c6eeccd93c19/lib/python3.12/site-packages/openai/cli/_models.py
- Command line
-
hf download hf://parallel-reasoner/env-full@be40555abc6caad69f85306f14f6c6eeccd93c19/lib/python3.12/site-packages/openai/cli/_models.py
-
curl -L -o _models.py https://huggingface.co/parallel-reasoner/env-full/resolve/be40555abc6caad69f85306f14f6c6eeccd93c19/lib/python3.12/site-packages/openai/cli/_models.py
491 Bytes
| from typing import Any | |
| from typing_extensions import ClassVar | |
| import pydantic | |
| from .. import _models | |
| from .._compat import PYDANTIC_V2, ConfigDict | |
| class BaseModel(_models.BaseModel): | |
| if PYDANTIC_V2: | |
| model_config: ClassVar[ConfigDict] = ConfigDict(extra="ignore", arbitrary_types_allowed=True) | |
| else: | |
| class Config(pydantic.BaseConfig): # type: ignore | |
| extra: Any = pydantic.Extra.ignore # type: ignore | |
| arbitrary_types_allowed: bool = True | |