Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for commits (0.18 sec)

  1. requirements.txt

    -e .[all]
    -r requirements-tests.txt
    -r requirements-docs.txt
    pre-commit >=2.17.0,<4.0.0
    # For generating screenshots
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 23:48:42 GMT 2024
    - 128 bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    ```Python hl_lines="19"
    {!../../../docs_src/dependencies/tutorial002.py!}
    ```
    
    **FastAPI** は`CommonQueryParams`クラスを呼び出します。これにより、そのクラスの「インスタンス」が作成され、インスタンスはパラメータ`commons`として関数に渡されます。
    
    ## 型注釈と`Depends`
    
    上のコードでは`CommonQueryParams`を2回書いていることに注目してください:
    
    ```Python
    commons: CommonQueryParams = Depends(CommonQueryParams)
    ```
    
    以下にある最後の`CommonQueryParams`:
    
    ```Python
    ... = Depends(CommonQueryParams)
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 16:08:16 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. .github/workflows/smokeshow.yml

          - run: pip install smokeshow
    
          - uses: dawidd6/action-download-artifact@v3.1.4
            with:
              github_token: ${{ secrets.FASTAPI_SMOKESHOW_DOWNLOAD_ARTIFACTS }}
              workflow: test.yml
              commit: ${{ github.event.workflow_run.head_sha }}
    
          - run: smokeshow upload coverage-html
            env:
              SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 19 01:33:28 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  4. docs/pl/docs/help-fastapi.md

    * Nie przejmuj się zbytnio rzeczami takimi jak style wiadomości commitów, przy wcielaniu pull requesta łączę commity i modyfikuję opis sumarycznego commita ręcznie.
    
    * Nie przejmuj się również stylem kodu, automatyczne narzędzia w repozytorium sprawdzają to samodzielnie.
    
    A jeśli istnieje jakaś konkretna potrzeba dotycząca stylu lub spójności, sam poproszę o zmiany lub dodam commity z takimi zmianami.
    
    ### Sprawdź kod
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/index.md

    When you need to use the `common_parameters()` dependency, you have to write the whole parameter with the type annotation and `Depends()`:
    
    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    ```
    
    But because we are using `Annotated`, we can store that `Annotated` value in a variable and use it in multiple places:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/dependencies/index.md

    ## `Annotated`인 의존성 공유하기
    
    위의 예제에서 몇몇 작은 **코드 중복**이 있다는 것을 보았을 겁니다.
    
    `common_parameters()`의존을 사용해야 한다면, 타입 명시와 `Depends()`와 함께 전체 매개변수를 적어야 합니다:
    
    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    ```
    
    하지만 `Annotated`를 사용하고 있기에, `Annotated` 값을 변수에 저장하고 여러 장소에서 사용할 수 있습니다:
    
    === "Python 3.10+"
    
        ```Python hl_lines="12  16  21"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  7. .github/actions/comment-docs-preview-in-pr/app/main.py

        logging.info(f"Using comments URL: {url}")
        response = httpx.post(
            url,
            headers=github_headers,
            json={
                "body": f"📝 Docs preview for commit {use_pr.head.sha} at: {settings.input_deploy_url}"
            },
        )
        if not (200 <= response.status_code <= 300):
            logging.error(f"Error posting comment: {response.text}")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 15:02:53 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. .github/dependabot.yml

    version: 2
    updates:
      # GitHub Actions
      - package-ecosystem: "github-actions"
        directory: "/"
        schedule:
          interval: "daily"
        commit-message:
          prefix: ⬆
      # Python
      - package-ecosystem: "pip"
        directory: "/"
        schedule:
          interval: "monthly"
        commit-message:
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 00:41:55 GMT 2024
    - 311 bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

        ```Python
        commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python
        commons: CommonQueryParams = Depends(CommonQueryParams)
        ```
    
    ...you write:
    
    === "Python 3.8+"
    
        ```Python
        commons: Annotated[CommonQueryParams, Depends()]
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  10. .github/workflows/issue-manager.yml

              config: >
                {
                  "answered": {
                    "delay": 864000,
                    "message": "Assuming the original need was handled, this will be automatically closed now. But feel free to add more comments or create new issues or PRs."
                  },
                  "changes-requested": {
                    "delay": 2628000,
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 30 18:46:56 GMT 2024
    - 1.1K bytes
    - Viewed (0)
Back to top