Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for type (5.17 sec)

  1. fastapi/dependencies/utils.py

        *, param_name: str, type_annotation: Any, dependant: Dependant
    ) -> Optional[bool]:
        if lenient_issubclass(type_annotation, Request):
            dependant.request_param_name = param_name
            return True
        elif lenient_issubclass(type_annotation, WebSocket):
            dependant.websocket_param_name = param_name
            return True
        elif lenient_issubclass(type_annotation, HTTPConnection):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  2. fastapi/openapi/utils.py

        "title": "ValidationError",
        "type": "object",
        "properties": {
            "loc": {
                "title": "Location",
                "type": "array",
                "items": {"anyOf": [{"type": "string"}, {"type": "integer"}]},
            },
            "msg": {"title": "Message", "type": "string"},
            "type": {"title": "Error Type", "type": "string"},
        },
        "required": ["loc", "msg", "type"],
    }
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
Back to top