Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for create_model (0.15 sec)

  1. 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)
  2. 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)
Back to top