Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for callback0 (0.05 sec)

  1. tests/test_additional_responses_custom_model_in_callback.py

                                },
                            },
                            "callbacks": {
                                "callback_route": {
                                    "{$callback_url}/callback/": {
                                        "get": {
                                            "summary": "Callback Route",
                                            "operationId": "callback_route__callback_url__callback__get",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. tests/test_sub_callbacks.py

                                },
                            },
                            "callbacks": {
                                "event_callback": {
                                    "{$callback_url}/events/{$request.body.title}": {
                                        "get": {
                                            "summary": "Event Callback",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. fastapi/openapi/utils.py

                    )
                    if request_body_oai:
                        operation["requestBody"] = request_body_oai
                if route.callbacks:
                    callbacks = {}
                    for callback in route.callbacks:
                        if isinstance(callback, routing.APIRoute):
                            (
                                cb_path,
                                cb_security_schemes,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

                                        }
                                    }
                                },
                            },
                        },
                        "callbacks": {
                            "invoice_notification": {
                                "{$callback_url}/invoices/{$request.body.id}": {
                                    "post": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. fastapi/routing.py

                        current_dependencies.extend(route.dependencies)
                    current_callbacks = []
                    if callbacks:
                        current_callbacks.extend(callbacks)
                    if route.callbacks:
                        current_callbacks.extend(route.callbacks)
                    current_generate_unique_id = get_value_or_default(
                        route.generate_unique_id_function,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  6. scripts/docs.py

            if lang_path.is_dir() and lang_path.name.startswith(incomplete):
                yield lang_path.name
    
    
    @app.callback()
    def callback() -> None:
        # For MacOS with Cairo
        os.environ["DYLD_FALLBACK_LIBRARY_PATH"] = "/opt/homebrew/lib"
    
    
    @app.command()
    def new_lang(lang: str = typer.Argument(..., callback=lang_callback)):
        """
        Generate a new docs translation directory for the language LANG.
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  7. fastapi/openapi/models.py

        requestBody: Optional[Union[RequestBody, Reference]] = None
        # Using Any for Specification Extensions
        responses: Optional[dict[str, Union[Response, Any]]] = None
        callbacks: Optional[dict[str, Union[dict[str, "PathItem"], Reference]]] = None
        deprecated: Optional[bool] = None
        security: Optional[list[dict[str, list[str]]]] = None
        servers: Optional[list[Server]] = None
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    * `dependencies`: to include ✨ router-level dependencies ✨ that apply to all the *path operations* in a router. Up to now, this was only possible with `include_router`.
    * `callbacks`: OpenAPI callbacks that apply to all the *path operations* in this router.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top