Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for DefaultPlaceholder (0.09 seconds)

  1. fastapi/datastructures.py

        ) -> Mapping[str, Any]:
            from ._compat.v2 import with_info_plain_validator_function
    
            return with_info_plain_validator_function(cls._validate)
    
    
    class DefaultPlaceholder:
        """
        You shouldn't use this class directly.
    
        It's used internally to recognize when a default value has been overwritten, even
        if the overridden default value was truthy.
        """
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  2. fastapi/routing.py

        if isinstance(response_class, DefaultPlaceholder):
            actual_response_class: type[Response] = response_class.value
        else:
            actual_response_class = response_class
        is_sse_stream = lenient_issubclass(actual_response_class, EventSourceResponse)
        if isinstance(strict_content_type, DefaultPlaceholder):
            actual_strict_content_type: bool = strict_content_type.value
        else:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  3. fastapi/openapi/utils.py

        ModelField,
        get_definitions,
        get_flat_models_from_fields,
        get_model_name_map,
        get_schema_from_model_field,
        lenient_issubclass,
    )
    from fastapi.datastructures import DefaultPlaceholder, _Unset
    from fastapi.dependencies.models import Dependant
    from fastapi.dependencies.utils import (
        _get_flat_fields_from_params,
        get_flat_dependant,
        get_flat_params,
        get_validation_alias,
    )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  4. fastapi/applications.py

    from enum import Enum
    from typing import Annotated, Any, TypeVar
    
    from annotated_doc import Doc
    from fastapi import routing
    from fastapi.datastructures import Default, DefaultPlaceholder
    from fastapi.exception_handlers import (
        http_exception_handler,
        request_validation_exception_handler,
        websocket_request_validation_exception_handler,
    )
    from fastapi.exceptions import (
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  5. docs/en/docs/release-notes.md

    ### Docs
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
Back to Top