Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for DecoratedCallable (0.23 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fastapi/types.py

    import types
    from collections.abc import Callable
    from enum import Enum
    from typing import Any, TypeVar, Union
    
    from pydantic import BaseModel
    from pydantic.main import IncEx as IncEx
    
    DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
    UnionType = getattr(types, "UnionType", Union)
    ModelNameMap = dict[type[BaseModel] | type[Enum], str]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 438 bytes
    - Click Count (0)
  2. fastapi/routing.py

            path: str,
            methods: Collection[str] | None = None,
            name: str | None = None,
            include_in_schema: bool = True,
        ) -> Callable[[DecoratedCallable], DecoratedCallable]:
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_route(
                    path,
                    func,
                    methods=methods,
                    name=name,
    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/applications.py

            generate_unique_id_function: Callable[[routing.APIRoute], str] = Default(
                generate_unique_id
            ),
        ) -> Callable[[DecoratedCallable], DecoratedCallable]:
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.router.add_api_route(
                    path,
                    func,
                    response_model=response_model,
    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)
Back to Top