Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 452 for commits (0.05 sec)

  1. docs_src/dependencies/tutorial003_an_py39.py

            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[Any, Depends(CommonQueryParams)]):
        response = {}
        if commons.q:
            response.update({"q": commons.q})
        items = fake_items_db[commons.skip : commons.skip + commons.limit]
        response.update({"items": items})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 668 bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial001_an_py39.py

    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return commons
    
    
    @app.get("/users/")
    async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 473 bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Аннотация типа и `Depends` { #type-annotation-vs-depends }
    
    Обратите внимание, что в приведенном выше коде мы два раза пишем `CommonQueryParams`:
    
    //// tab | Python 3.9+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

            generateReadmeFragment(templateFolder, "$specificContentId-body", settings, comments, descriptor, projectLayoutSetupRegistry)
            if (descriptor.language === Language.JAVA && descriptor.componentType === ComponentType.LIBRARY) {
                generateReadmeFragment(templateFolder, "$specificContentId-api-docs", settings, comments, descriptor, projectLayoutSetupRegistry)
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Dec 15 07:49:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/MemoryUtil.java

     */
    package org.codelibs.fess.util;
    
    import static org.apache.commons.io.FileUtils.ONE_EB_BI;
    import static org.apache.commons.io.FileUtils.ONE_GB_BI;
    import static org.apache.commons.io.FileUtils.ONE_KB_BI;
    import static org.apache.commons.io.FileUtils.ONE_MB_BI;
    import static org.apache.commons.io.FileUtils.ONE_PB_BI;
    import static org.apache.commons.io.FileUtils.ONE_TB_BI;
    
    import java.math.BigDecimal;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    **FastAPI** llama a la clase `CommonQueryParams`. Esto crea una "instance" de esa clase y la instance será pasada como el parámetro `commons` a tu función.
    
    ## Anotación de tipos vs `Depends` { #type-annotation-vs-depends }
    
    Nota cómo escribimos `CommonQueryParams` dos veces en el código anterior:
    
    //// tab | Python 3.9+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. docs/en/data/skip_users.yml

    - tiangolo
    - codecov
    - github-actions
    - pre-commit-ci
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Jan 02 17:03:21 UTC 2025
    - 67 bytes
    - Viewed (0)
  8. docs_src/dependencies/tutorial003_py310.py

            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons=Depends(CommonQueryParams)):
        response = {}
        if commons.q:
            response.update({"q": commons.q})
        items = fake_items_db[commons.skip : commons.skip + commons.limit]
        response.update({"items": items})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 603 bytes
    - Viewed (0)
  9. docs_src/sql_databases/tutorial001_an_py310.py

    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/")
    def create_hero(hero: Hero, session: SessionDep) -> Hero:
        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
        session: SessionDep,
        offset: int = 0,
        limit: Annotated[int, Query(le=100)] = 100,
    ) -> list[Hero]:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. CONTRIBUTING.md

    4.  Do your best to have a [well-formed commit message][] for the change.
    5.  Pull requests typically do not need to modify the files under the `android`
        directory: We have a script that automatically mirrors changes from the main
        directories into the `android` directories.
    
    [Java style guide]: https://google.github.io/styleguide/javaguide.html
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 15 18:43:50 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top