Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ID (0.14 sec)

  1. .github/workflows/publish.yml

    on:
      release:
        types:
          - created
    
    jobs:
      publish:
        runs-on: ubuntu-latest
        strategy:
          matrix:
            package:
              - fastapi
              - fastapi-slim
        permissions:
          id-token: write
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
          - name: Set up Python
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 30 06:38:13 GMT 2024
    - 1K bytes
    - Viewed (0)
  2. docs/en/docs/features.md

    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    That can then be used like:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/openapi-callbacks.md

    In this case, it's the `str`:
    
    ```Python
    "{$callback_url}/invoices/{$request.body.id}"
    ```
    
    So, if your API user (the external developer) sends a request to *your API* to:
    
    ```
    https://yourapi.com/invoices/?callback_url=https://www.external.org/events
    ```
    
    with a JSON body of:
    
    ```JSON
    {
        "id": "2expen51ve",
        "customer": "Mr. Richie Rich",
        "total": "9999"
    }
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. docs/en/mkdocs.yml

        name: es - español
      - link: /fa/
        name: fa - فارسی
      - link: /fr/
        name: fr - français
      - link: /he/
        name: he - עברית
      - link: /hu/
        name: hu - magyar
      - link: /id/
        name: id - Bahasa Indonesia
      - link: /it/
        name: it - italiano
      - link: /ja/
        name: ja - 日本語
      - link: /ko/
        name: ko - 한국어
      - link: /pl/
        name: pl - Polski
      - link: /pt/
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/websockets.md

    ```
    
    </div>
    
    Open your browser at <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    There you can set:
    
    * The "Item ID", used in the path.
    * The "Token" used as a query parameter.
    
    !!! tip
        Notice that the query `token` will be handled by a dependency.
    
    With that you can connect the WebSocket and then send and receive messages:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top