Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for eventos (0.04 sec)

  1. tests/test_sub_callbacks.py

    )
    def invoice_notification(body: InvoiceEvent):
        pass  # pragma: nocover
    
    
    class Event(BaseModel):
        name: str
        total: float
    
    
    events_callback_router = APIRouter()
    
    
    @events_callback_router.get("{$callback_url}/events/{$request.body.title}")
    def event_callback(event: Event):
        pass  # pragma: nocover
    
    
    subrouter = APIRouter()
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. fastapi/routing.py

        ) -> Callable[[DecoratedCallable], DecoratedCallable]:
            """
            Add an event handler for the router.
    
            `on_event` is deprecated, use `lifespan` event handlers instead.
    
            Read more about it in the
            [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/#alternative-events-deprecated).
            """
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  3. .github/workflows/translate.yml

              echo "commands=$(python ./scripts/translate.py commands-json)" >> $GITHUB_OUTPUT
            env:
              LANGUAGE: ${{ github.event.inputs.language }}
              COMMAND: ${{ github.event.inputs.command }}
    
      translate:
        if: github.repository_owner == 'fastapi'
        needs: langs
        runs-on: ubuntu-latest
        strategy:
          matrix:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:48:45 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

    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. docs/en/docs/release-notes.md

        return {"result": result}
    ```
    
    **Note**: This is the recommended way going forward, instead of using `startup` and `shutdown` events.
    
    Read more about it in the new docs: [Advanced User Guide: Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
    
    ### Docs
    
    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