Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for refresh (0.31 sec)

  1. docs/en/docs/tutorial/security/first-steps.md

        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="6"
        {!> ../../../docs_src/security/tutorial001.py!}
        ```
    
    !!! tip
        Here `tokenUrl="token"` refers to a relative URL `token` that we haven't created yet. As it's a relative URL, it's equivalent to `./token`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/concepts.md

    * A particular program while it is **running** on the operating system.
        * This doesn't refer to the file, nor to the code, it refers **specifically** to the thing that is being **executed** and managed by the operating system.
    * Any program, any code, **can only do things** when it is being **executed**. So, when there's a **process running**.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  3. docs/en/docs/python-types.md

    By declaring types for your variables, editors and tools can give you better support.
    
    This is just a **quick tutorial / refresher** about Python type hints. It covers only the minimum necessary to use them with **FastAPI**... which is actually very little.
    
    **FastAPI** is all based on these type hints, they give it many advantages and benefits.
    
    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)
  4. docs/en/docs/tutorial/dependencies/sub-dependencies.md

        ```Python hl_lines="1"
        async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
            return {"fresh_value": fresh_value}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="1"
        async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/sql-databases.md

    The steps are:
    
    * Create a SQLAlchemy model *instance* with your data.
    * `add` that instance object to your database session.
    * `commit` the changes to the database (so that they are saved).
    * `refresh` your instance (so that it contains any new data from the database, like the generated ID).
    
    ```Python hl_lines="18-24  31-36"
    {!../../../docs_src/sql_databases/sql_app/crud.py!}
    ```
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-operation-configuration.md

    === "Python 3.8+"
    
        ```Python hl_lines="21"
        {!> ../../../docs_src/path_operation_configuration/tutorial005.py!}
        ```
    
    !!! info
        Notice that `response_description` refers specifically to the response, the `description` refers to the *path operation* in general.
    
    !!! check
        OpenAPI specifies that each *path operation* requires a response description.
    
    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)
  7. docs/en/docs/history-design-future.md

    By the time I started creating **FastAPI** itself, most of the pieces were already in place, the design was defined, the requirements and tools were ready, and the knowledge about the standards and specifications was clear and fresh.
    
    ## Future
    
    By this point, it's already clear that **FastAPI** with its ideas is being useful for many people.
    
    It is being chosen over previous alternatives for suiting many use cases better.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. docs/en/docs/features.md

    ### Just Modern Python
    
    It's all based on standard **Python type** declarations (thanks to Pydantic). No new syntax to learn. Just standard modern Python.
    
    If you need a 2 minute refresher of how to use Python types (even if you don't use FastAPI), check the short tutorial: [Python Types](python-types.md){.internal-link target=_blank}.
    
    You write standard Python with types:
    
    ```Python
    from datetime import date
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/dependencies/sub-dependencies.md

    ๐Ÿง ๐Ÿ˜ ๐ŸŒโ” ๐Ÿ‘† ๐Ÿ’ญ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ”— ๐Ÿค™ ๐Ÿ”  ๐Ÿ” (๐ŸŽฒ ๐Ÿ’— ๐Ÿ•ฐ) ๐ŸŽ ๐Ÿ“จ โ†ฉ๏ธ โš™๏ธ "๐Ÿ’พ" ๐Ÿ’ฒ, ๐Ÿ‘† ๐Ÿ’ช โš’ ๐Ÿ”ข `use_cache=False` ๐Ÿ•โ” โš™๏ธ `Depends`:
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ## ๐ŸŒƒ
    
    โ†–๏ธ โšช๏ธโžก๏ธ ๐ŸŒ ๐ŸŽ€ ๐Ÿ”ค โš™๏ธ ๐Ÿ“ฅ, **๐Ÿ”— ๐Ÿ’‰** โš™๏ธ ๐Ÿ™….
    
    ๐Ÿ”ข ๐Ÿ‘ˆ ๐Ÿ‘€ ๐ŸŽ *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข*.
    
    โœ‹๏ธ, โšซ๏ธ ๐Ÿ“ถ ๐Ÿ‹๏ธ, & โœ” ๐Ÿ‘† ๐Ÿ“ฃ ๐ŸŽฒ ๐Ÿ™‡ ๐Ÿฆ ๐Ÿ”— "๐Ÿ“Š" (๐ŸŒฒ).
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/dependencies/sub-dependencies.md

    ้ซ˜ๅบฆใชใ‚ทใƒŠใƒชใ‚ชใงใฏใ€ใ€Œใ‚ญใƒฃใƒƒใ‚ทใƒฅใ•ใ‚ŒใŸใ€ๅ€คใ‚’ไฝฟใ†ใฎใงใฏใชใใ€ๅŒใ˜ใƒชใ‚ฏใ‚จใ‚นใƒˆใฎๅ„ใ‚นใƒ†ใƒƒใƒ—๏ผˆใŠใใ‚‰ใ่ค‡ๆ•ฐๅ›ž๏ผ‰ใงไพๅญ˜้–ขไฟ‚ใ‚’ๅ‘ผใณๅ‡บใ™ๅฟ…่ฆใŒใ‚ใ‚‹ใ“ใจใŒใ‚ใ‹ใฃใฆใ„ใ‚‹ๅ ดๅˆใ€`Depens`ใ‚’ไฝฟ็”จใ™ใ‚‹้š›ใซใ€`use_cache=False`ใจใ„ใ†ใƒ‘ใƒฉใƒกใƒผใ‚ฟใ‚’่จญๅฎšใ™ใ‚‹ใ“ใจใŒใงใใพใ™ใ€‚
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ## ใพใจใ‚
    
    ใ“ใ“ใงไฝฟใ‚ใ‚Œใฆใ„ใ‚‹ๆดพๆ‰‹ใช่จ€่‘‰ใฏๅˆฅใซใ—ใฆใ€**ไพๅญ˜ๆ€งๆณจๅ…ฅ** ใ‚ทใ‚นใƒ†ใƒ ใฏ้žๅธธใซใ‚ทใƒณใƒ—ใƒซใงใ™ใ€‚
    
    *path operation้–ขๆ•ฐ*ใจๅŒใ˜ใ‚ˆใ†ใซ่ฆ‹ใˆใ‚‹ใŸใ ใฎ้–ขๆ•ฐใงใ™ใ€‚
    
    ใ—ใ‹ใ—ใ€ใใ‚Œใงใ‚‚้žๅธธใซๅผทๅŠ›ใงใ€ไปปๆ„ใฎๆทฑใใƒใ‚นใƒˆใ•ใ‚ŒใŸไพๅญ˜้–ขไฟ‚ใ€Œใ‚ฐใƒฉใƒ•ใ€๏ผˆใƒ„ใƒชใƒผ๏ผ‰ใ‚’ๅฎฃ่จ€ใ™ใ‚‹ใ“ใจใŒใงใใพใ™ใ€‚
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 16:43:41 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top