Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 794 for py (0.01 sec)

  1. docs/en/docs/tutorial/security/oauth2-jwt.md

    {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *}
    
    ## Update the `/token` *path operation* { #update-the-token-path-operation }
    
    Create a `timedelta` with the expiration time of the token.
    
    Create a real JWT access token and return it.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[118:133] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. .github/workflows/deploy-docs.yml

                pyproject.toml
          - name: Install GitHub Actions dependencies
            run: uv pip install -r requirements-github-actions.txt
          - name: Deploy Docs Status Pending
            run: python ./scripts/deploy_docs_status.py
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
              COMMIT_SHA: ${{ github.event.workflow_run.head_sha }}
              RUN_ID: ${{ github.run_id }}
          - name: Clean site
            run: |
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. .github/workflows/translate.yml

              OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
          - name: FastAPI Translate
            run: |
              python ./scripts/translate.py ${{ github.event.inputs.command }}
              python ./scripts/translate.py make-pr
            env:
              GITHUB_TOKEN: ${{ secrets.FASTAPI_TRANSLATIONS }}
              OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
              LANGUAGE: ${{ github.event.inputs.language }}
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/openapi-callbacks.md

    {* ../../docs_src/openapi_callbacks/tutorial001.py hl[3,25] *}
    
    ### ✍ ⏲ *➡ 🛠️*
    
    ✍ ⏲ *➡ 🛠️* ⚙️ 🎏 `APIRouter` 👆 ✍ 🔛.
    
    ⚫️ 🔜 👀 💖 😐 FastAPI *➡ 🛠️*:
    
    * ⚫️ 🔜 🎲 ✔️ 📄 💪 ⚫️ 🔜 📨, ✅ `body: InvoiceEvent`.
    *  & ⚫️ 💪 ✔️ 📄 📨 ⚫️ 🔜 📨, ✅ `response_model=InvoiceEventReceived`.
    
    {* ../../docs_src/openapi_callbacks/tutorial001.py hl[16:18,21:22,28:32] *}
    
    📤 2️⃣ 👑 🔺 ⚪️➡️ 😐 *➡ 🛠️*:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/additional-responses.md

    For example, to declare another response with a status code `404` and a Pydantic model `Message`, you can write:
    
    {* ../../docs_src/additional_responses/tutorial001.py hl[18,22] *}
    
    /// note
    
    Keep in mind that you have to return the `JSONResponse` directly.
    
    ///
    
    /// info
    
    The `model` key is not part of OpenAPI.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/request-files.md

    ///
    
    ## `File` 임포트
    
    `fastapi` 에서 `File` 과 `UploadFile` 을 임포트 합니다:
    
    {* ../../docs_src/request_files/tutorial001.py hl[1] *}
    
    ## `File` 매개변수 정의
    
    `Body` 및 `Form` 과 동일한 방식으로 파일의 매개변수를 생성합니다:
    
    {* ../../docs_src/request_files/tutorial001.py hl[7] *}
    
    /// info | 정보
    
    `File` 은 `Form` 으로부터 직접 상속된 클래스입니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. docs/ko/docs/advanced/testing-websockets.md

    # WebSocket 테스트하기
    
    `TestClient`를 사용하여 WebSocket을 테스트할 수 있습니다.
    
    이를 위해 `with` 문에서 `TestClient`를 사용하여 WebSocket에 연결합니다:
    
    {* ../../docs_src/app_testing/tutorial002.py hl[27:31] *}
    
    /// note | 참고
    
    자세한 내용은 Starlette의 <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank"> WebSocket 테스트</a>에 관한 설명서를 참고하시길 바랍니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 500 bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/request-forms-and-files.md

    예 ) `pip install python-multipart`.
    
    ///
    
    ## `File` 및 `Form` 업로드
    
    {* ../../docs_src/request_forms_and_files/tutorial001.py hl[1] *}
    
    ## `File` 및 `Form` 매개변수 정의
    
    `Body` 및 `Query`와 동일한 방식으로 파일과 폼의 매개변수를 생성합니다:
    
    {* ../../docs_src/request_forms_and_files/tutorial001.py hl[8] *}
    
    파일과 폼 필드는 폼 데이터 형식으로 업로드되어 파일과 폼 필드로 전달됩니다.
    
    어떤 파일들은 `bytes`로, 또 어떤 파일들은 `UploadFile`로 선언할 수 있습니다.
    
    /// warning | 경고
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/query-param-models.md

    この機能は、FastAPIのバージョン `0.115.0` からサポートされています。🤓
    
    ///
    
    ## クエリパラメータにPydanticモデルを使用する
    
    必要な**複数のクエリパラメータ**を**Pydanticモデル**で宣言し、さらに、それを `Query` として宣言しましょう:
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    **FastAPI**は、リクエストの**クエリパラメータ**からそれぞれの**フィールド**のデータを**抽出**し、定義された**Pydanticモデル**を提供します。
    
    ## ドキュメントの確認
    
    対話的APIドキュメント `/docs` でクエリパラメータを確認できます:
    
    <div class="screenshot">
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 14:18:46 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. docs/uk/docs/tutorial/query-param-models.md

    ///
    
    ## Query параметри з Pydantic-моделлю
    
    Оголосіть **query параметри**, які Вам потрібні, у **Pydantic-моделі**, а потім оголосіть цей параметр як `Query`:
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    **FastAPI**  буде **витягувати** дані для **кожного поля** з **query параметрів** у запиті та передавати їх у визначену вами Pydantic-модель.
    
    ## Перевірте документацію
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jun 05 12:12:04 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top