Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 114 for Dadd (0.16 sec)

  1. docs/em/docs/tutorial/sql-databases.md

    ### โœ ๐Ÿ’ฝ
    
    ๐Ÿ”œ โœ ๐Ÿš™ ๐Ÿ”ข โœ ๐Ÿ’ฝ.
    
    ๐Ÿ”:
    
    * โœ ๐Ÿ‡ธ๐Ÿ‡ฒ ๐Ÿท *๐Ÿ‘* โฎ๏ธ ๐Ÿ‘† ๐Ÿ“Š.
    * `add` ๐Ÿ‘ˆ ๐Ÿ‘ ๐ŸŽš ๐Ÿ‘† ๐Ÿ’ฝ ๐ŸŽ‰.
    * `commit` ๐Ÿ”€ ๐Ÿ’ฝ (๐Ÿ‘ˆ ๐Ÿ‘ซ ๐Ÿ–Š).
    * `refresh` ๐Ÿ‘† ๐Ÿ‘ (๐Ÿ‘ˆ โšซ๏ธ ๐Ÿ”Œ ๐Ÿ™† ๐Ÿ†• ๐Ÿ“Š โšช๏ธโžก๏ธ ๐Ÿ’ฝ, ๐Ÿ’– ๐Ÿ— ๐Ÿ†”).
    
    ```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: Thu Apr 18 19:53:19 GMT 2024
    - 25.2K bytes
    - Viewed (1)
  2. docs/en/docs/python-types.md

    You type the first parameter of the function, `first_name`, then a dot (`.`) and then hit `Ctrl+Space` to trigger the completion.
    
    But, sadly, you get nothing useful:
    
    <img src="/img/python-types/image01.png">
    
    ### Add types
    
    Let's modify a single line from the previous version.
    
    We will change exactly this fragment, the parameters of the function, from:
    
    ```Python
        first_name, last_name
    ```
    
    to:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  3. docs/ko/docs/deployment/docker.md

    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    COPY ./app /code/app
    
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    
    # If running behind a proxy like Nginx or Traefik add --proxy-headers
    # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--proxy-headers"]
    ```
    
    </details>
    
    ## ์ปจํ…Œ์ด๋„ˆ๋ž€
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  4. docs_src/background_tasks/tutorial002_an.py

        if q:
            message = f"found query: {q}\n"
            background_tasks.add_task(write_log, message)
        return q
    
    
    @app.post("/send-notification/{email}")
    async def send_notification(
        email: str, background_tasks: BackgroundTasks, q: Annotated[str, Depends(get_query)]
    ):
        message = f"message to {email}\n"
        background_tasks.add_task(write_log, message)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 725 bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Or the dependency doesn't return a value.
    
    But you still need it to be executed/solved.
    
    For those cases, instead of declaring a *path operation function* parameter with `Depends`, you can add a `list` of `dependencies` to the *path operation decorator*.
    
    ## Add `dependencies` to the *path operation decorator*
    
    The *path operation decorator* receives an optional argument `dependencies`.
    
    It should be a `list` of `Depends()`:
    
    === "Python 3.9+"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  6. docs/en/docs/help-fastapi.md

        * Make sure you add your link to the start of the corresponding section.
    * To help [translate the documentation](contributing.md#translations){.internal-link target=_blank} to your language.
        * You can also help to review the translations created by others.
    * To propose new documentation sections.
    * To fix an existing issue/bug.
        * Make sure to add tests.
    * To add a new feature.
        * Make sure to add tests.
    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)
  7. docs/en/docs/tutorial/path-operation-configuration.md

        **FastAPI** provides the same `starlette.status` as `fastapi.status` just as a convenience for you, the developer. But it comes directly from Starlette.
    
    ## Tags
    
    You can add tags to your *path operation*, pass the parameter `tags` with a `list` of `str` (commonly just one `str`):
    
    === "Python 3.10+"
    
        ```Python hl_lines="15  20  25"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py

    import importlib
    import os
    from pathlib import Path
    
    import pytest
    
    from ...utils import needs_py310, needs_pydanticv1
    
    
    @needs_py310
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./test.db")
        if test_db.is_file():  # pragma: nocover
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 825 bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/background-tasks.md

    Dans votre *fonction de chemin*, passez votre fonction de tรขche ร  l'objet de type `BackgroundTasks` (`background_tasks` ici) grรขce ร  la mรฉthode `.add_task()` :
    
    
    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` reรงoit comme arguments :
    
    * Une fonction de tรขche ร  exรฉcuter en arriรจre-plan (`write_notification`).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 5.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/query-params-str-validations.md

    Both of those versions mean the same thing, `q` is a parameter that can be a `str` or `None`, and by default, it is `None`.
    
    Now let's jump to the fun stuff. ๐ŸŽ‰
    
    ## Add `Query` to `Annotated` in the `q` parameter
    
    Now that we have this `Annotated` where we can put more metadata, add `Query` to it, and set the parameter `max_length` to 50:
    
    === "Python 3.10+"
    
        ```Python hl_lines="9"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
Back to top