Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 194 for event (0.02 sec)

  1. docs/en/docs/advanced/events.md

    In this case, the `startup` event handler function will initialize the items "database" (just a `dict`) with some values.
    
    You can add more than one event handler function.
    
    And your application won't start receiving requests until all the `startup` event handlers have completed.
    
    ### `shutdown` event { #shutdown-event }
    
    To add a function that should be run when the application is shutting down, declare it with the event `"shutdown"`:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/events.md

    Diese Funktionen können mit `async def` oder normalem `def` deklariert werden.
    
    ### `startup`-Event { #startup-event }
    
    Um eine Funktion hinzuzufügen, die vor dem Start der Anwendung ausgeführt werden soll, deklarieren Sie diese mit dem Event `startup`:
    
    {* ../../docs_src/events/tutorial001_py39.py hl[8] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. 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)
  4. .github/workflows/release-branch-cherrypick.yml

    jobs:
      cherrypick:
        name: Cherrypick to ${{ github.event.inputs.release_branch}} - ${{ github.event.inputs.git_commit }}
        runs-on: ubuntu-latest
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        steps:
        - name: Checkout code
          uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
          with:
            ref: ${{ github.event.inputs.release_branch }}
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Dec 01 09:57:00 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. docs_src/websockets/tutorial002_py39.py

                        var content = document.createTextNode(event.data)
                        message.appendChild(content)
                        messages.appendChild(message)
                    };
                    event.preventDefault()
                }
                function sendMessage(event) {
                    var input = document.getElementById("messageText")
                    ws.send(input.value)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. .github/workflows/deploy-docs.yml

              run-id: ${{ github.event.workflow_run.id }}
          - name: Deploy to Cloudflare Pages
            # hashFiles returns an empty string if there are no files
            if: hashFiles('./site/*')
            id: deploy
            env:
              PROJECT_NAME: fastapitiangolo
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 21 13:03:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. docs_src/websockets/tutorial001_py39.py

                    var content = document.createTextNode(event.data)
                    message.appendChild(content)
                    messages.appendChild(message)
                };
                function sendMessage(event) {
                    var input = document.getElementById("messageText")
                    ws.send(input.value)
                    input.value = ''
                    event.preventDefault()
                }
            </script>
        </body>
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. .github/workflows/check-commits.yml

              java-version: '17'
          - name: Install Groovy
            run: sudo apt-get install groovy
          - name: List PR commits
            run: |
              git log --pretty=format:"%H" ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} > pr_commits.txt
          - name: Check PR commits
            id: run_check
            run: |
              groovy .github/workflows/CheckBadMerge.groovy pr_commits.txt > output.txt 2>&1
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Nov 20 22:15:20 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. docs/pt/llm-prompt.md

    * response (as in HTTP response): response (do not change if it's already translated to resposta)
    * shutdown (of the app): encerramento
    * shutdown event (of the app): evento de encerramento
    * startup (as in the event of the app): inicialização
    * startup event (as in the event of the app): evento de inicialização
    * Stream: Stream
    * string: string
    * type hints: anotações de tipo
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. docs/de/llm-prompt.md

    * «the return type»: «der Rückgabetyp»
    * «the return value»: «der Rückgabewert»
    * «the startup» (the event of the app): «der Startup»
    * «the shutdown» (the event of the app): «der Shutdown»
    * «the startup event»: «das Startup-Event»
    * «the shutdown event»: «das Shutdown-Event»
    * «the startup» (of the server): «das Hochfahren»
    * «the startup» (the company): «das Startup»
    * «the SDK»: «das SDK»
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 09:39:53 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top