Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for DecoratedCallable (0.47 seconds)

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