- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for create_model (0.1 sec)
-
fastapi/exceptions.py
""" ), ] = None, ) -> None: super().__init__(code=code, reason=reason) RequestErrorModel: Type[BaseModel] = create_model("Request") WebSocketErrorModel: Type[BaseModel] = create_model("WebSocket") class FastAPIError(RuntimeError): """ A generic, FastAPI-specific error. """ class ValidationException(Exception):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 4.9K bytes - Viewed (0) -
fastapi/utils.py
PydanticSchemaGenerationError, Undefined, UndefinedType, Validator, lenient_issubclass, ) from fastapi.datastructures import DefaultPlaceholder, DefaultType from pydantic import BaseModel, create_model from pydantic.fields import FieldInfo from typing_extensions import Literal if TYPE_CHECKING: # pragma: nocover from .routing import APIRoute # Cache for `create_cloned_field`
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 7.8K bytes - Viewed (0) -
hack/make-rules/test-cmd.sh
# and name get wiped, there were be no field managers tracking any fields. # # Exports: # SUPPORTED_RESOURCES(Array of all resources supported by the apiserver). function create_node() { kubectl create -f - << __EOF__ { "kind": "Node", "apiVersion": "v1", "metadata": { "name": "127.0.0.1", "annotations": { "save-managers": "true" } },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 09:10:14 UTC 2024 - 6.3K bytes - Viewed (0)