Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for commits (2.57 sec)

  1. docs/en/docs/help-fastapi.md

    ### Don't worry about style
    
    * Don't worry too much about things like commit message styles, I will squash and merge customizing the commit manually.
    
    * Also don't worry about style rules, there are already automatized tools checking that.
    
    And if there's any other style or consistency need, I'll ask directly for that, or I'll add commits on top with the needed changes.
    
    ### Check the code
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  2. docs/de/docs/help-fastapi.md

    * Machen Sie sich nicht zu viele Gedanken über Dinge wie den Stil von Commit-Nachrichten, ich werde den Commit manuell zusammenführen und anpassen.
    
    * Machen Sie sich auch keine Sorgen über Stilregeln, es gibt bereits automatisierte Tools, die das überprüfen.
    
    Und wenn es irgendeinen anderen Stil- oder Konsistenz-Bedarf gibt, bitte ich direkt darum oder füge zusätzliche Commits mit den erforderlichen Änderungen hinzu.
    
    ### Den Code überprüfen
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:29:57 GMT 2024
    - 16K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Аннотация типа или `Depends`
    
    Обратите внимание, что в приведенном выше коде мы два раза пишем `CommonQueryParams`:
    
    === "Python 3.6+ без Annotated"
    
        !!! tip "Подсказка"
            Рекомендуется использовать версию с `Annotated` если возможно.
    
        ```Python
        commons: CommonQueryParams = Depends(CommonQueryParams)
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 12 11:12:19 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  4. .github/workflows/latest-changes.yml

          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
            with:
              # To allow latest-changes to commit to the main branch
              token: ${{ secrets.FASTAPI_LATEST_CHANGES }}
          # Allow debugging with tmate
          - name: Setup tmate session
            uses: mxschmitt/action-tmate@v3
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 14:57:33 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. docs/en/docs/contributing.md

    !!! tip
        You can <a href="https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request" class="external-link" target="_blank">add comments with change suggestions</a> to existing pull requests.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/sql-databases.md

    !!! tip
        通过创建仅专用于与数据库交互(获取用户或项目)的函数,独立于*路径操作函数*,您可以更轻松地在多个部分中重用它们,并为它们添加单元测试。
    
    ### 创建数据
    
    现在创建实用程序函数来创建数据。
    
    它的步骤是:
    
    * 使用您的数据创建一个 SQLAlchemy 模型*实例。*
    * 使用`add`来将该实例对象添加到您的数据库。
    * 使用`commit`来对数据库的事务提交(以便保存它们)。
    * 使用`refresh`来刷新您的数据库实例(以便它包含来自数据库的任何新数据,例如生成的 ID)。
    
    ```Python hl_lines="18-24  31-36"
    {!../../../docs_src/sql_databases/sql_app/crud.py!}
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27K bytes
    - Viewed (0)
  7. fastapi/param_functions.py

            return {"q": q, "skip": skip, "limit": limit}
    
    
        @app.get("/items/")
        async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
            return commons
        ```
        """
        return params.Depends(dependency=dependency, use_cache=use_cache)
    
    
    def Security(  # noqa: N802
        dependency: Annotated[
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  8. .github/actions/people/app/main.py

        replies: Replies
    
    
    class Comments(BaseModel):
        nodes: List[CommentsNode]
    
    
    class DiscussionsComments(BaseModel):
        nodes: List[DiscussionsCommentsNode]
    
    
    class DiscussionsNode(BaseModel):
        number: int
        author: Union[Author, None] = None
        title: str
        createdAt: datetime
        comments: DiscussionsComments
    
    
    class DiscussionsEdge(BaseModel):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  9. docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md

        {!> ../../../docs_src/dependencies/tutorial002_py310.py!}
        ```
    
    **FastAPI**는 `CommonQueryParams` 클래스를 호출합니다. 이것은 해당 클래스의 "인스턴스"를 생성하고 그 인스턴스는 함수의 매개변수 `commons`로 전달됩니다.
    
    ## 타입 힌팅 vs `Depends`
    
    위 코드에서 `CommonQueryParams`를 두 번 작성한 방식에 주목하십시오:
    
    ```Python
    commons: CommonQueryParams = Depends(CommonQueryParams)
    ```
    
    마지막 `CommonQueryParams` 변수를 보면:
    
    ```Python
    ... = Depends(CommonQueryParams)
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 8K bytes
    - Viewed (0)
  10. tests/test_dependency_overrides.py

    
    @app.get("/main-depends/")
    async def main_depends(commons: dict = Depends(common_parameters)):
        return {"in": "main-depends", "params": commons}
    
    
    @app.get("/decorator-depends/", dependencies=[Depends(common_parameters)])
    async def decorator_depends():
        return {"in": "decorator-depends"}
    
    
    @router.get("/router-depends/")
    async def router_depends(commons: dict = Depends(common_parameters)):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top