Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for evenly (0.03 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. .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)
  3. 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)
  4. 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)
  5. tests/test_forms_single_model.py

        }
    
    
    def test_invalid_data():
        response = client.post(
            "/form/",
            data={
                "username": "Rick",
                "lastname": "Sanchez",
                "age": "seventy",
                "tags": ["plumbus", "citadel"],
            },
        )
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. tests/test_compat.py

        # to be read from files and other types, but I'm not even sure it's a good idea
        # to support it as a first class "feature"
        assert is_bytes_sequence_annotation(Union[list[str], list[bytes]])
    
    
    def test_is_uploadfile_sequence_annotation():
        # For coverage
        # TODO: in theory this would allow declaring types that could be lists of UploadFile
        # and other types, but I'm not even sure it's a good idea to support it as a first
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. .github/workflows/pre-commit.yml

            name: Checkout PR for fork
            if: env.HAS_SECRETS == 'false'
            with:
            # To be able to commit it needs the head branch of the PR, the remote one
              ref: ${{ github.event.pull_request.head.sha }}
              fetch-depth: 0
          - name: Set up Python
            uses: actions/setup-python@v6
            with:
              python-version: "3.14"
          - name: Setup uv
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 23 11:17:16 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. 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)
  9. scripts/translate.py

            ////
            »»»
    
        Result (German):
    
            «««
            //// tab | Linux, macOS, Windows Bash
            Hallo wieder
            ////
            »»»
    
    
    ### Headings
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  10. .github/workflows/test.yml

    name: Test
    
    on:
      push:
        branches:
          - master
      pull_request:
        types:
          - opened
          - synchronize
      schedule:
        # cron every week on monday
        - cron: "0 0 * * 1"
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      test:
        strategy:
          matrix:
            os: [ windows-latest, macos-latest ]
            python-version: [ "3.14" ]
            include:
              - os: ubuntu-latest
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 08:53:59 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top