Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 222 for dependsOn (0.07 sec)

  1. docs/em/docs/tutorial/dependencies/index.md

    & โคด๏ธ โšซ๏ธ ๐Ÿ“จ `dict` โš— ๐Ÿ“š ๐Ÿ’ฒ.
    
    ### ๐Ÿ—„ `Depends`
    
    {* ../../docs_src/dependencies/tutorial001.py hl[3] *}
    
    ### ๐Ÿ“ฃ ๐Ÿ”—, "โš“๏ธ"
    
    ๐ŸŽ ๐ŸŒŒ ๐Ÿ‘† โš™๏ธ `Body`, `Query`, โ™’๏ธ. โฎ๏ธ ๐Ÿ‘† *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข* ๐Ÿ”ข, โš™๏ธ `Depends` โฎ๏ธ ๐Ÿ†• ๐Ÿ”ข:
    
    {* ../../docs_src/dependencies/tutorial001.py hl[15,20] *}
    
    ๐Ÿ‘ ๐Ÿ‘† โš™๏ธ `Depends` ๐Ÿ”ข ๐Ÿ‘† ๐Ÿ”ข ๐ŸŽ ๐ŸŒŒ ๐Ÿ‘† โš™๏ธ `Body`, `Query`, โ™’๏ธ, `Depends` ๐Ÿ‘ท ๐Ÿ‘„ ๐ŸŽ.
    
    ๐Ÿ‘† ๐Ÿ•ด ๐Ÿค `Depends` ๐Ÿ‘ ๐Ÿ”ข.
    
    ๐Ÿ‘‰ ๐Ÿ”ข ๐Ÿ”œ ๐Ÿ•ณ ๐Ÿ’– ๐Ÿ”ข.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/dependencies/index.md

    ///
    
    ### `Depends` ๋ถˆ๋Ÿฌ์˜ค๊ธฐ
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### "์˜์กด์ž"์— ์˜์กด์„ฑ ๋ช…์‹œํ•˜๊ธฐ
    
    *๊ฒฝ๋กœ ์ž‘๋™ ํ•จ์ˆ˜*์˜ ๋งค๊ฐœ๋ณ€์ˆ˜๋กœ `Body`, `Query` ๋“ฑ์„ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ์‹๊ณผ ๊ฐ™์ด ์ƒˆ๋กœ์šด ๋งค๊ฐœ๋ณ€์ˆ˜๋กœ `Depends`๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}
    
    ๋น„๋ก `Body`, `Query` ๋“ฑ์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ๊ณผ ๊ฐ™์€ ๋ฐฉ์‹์œผ๋กœ ์—ฌ๋Ÿฌ๋ถ„์˜ ํ•จ์ˆ˜์˜ ๋งค๊ฐœ๋ณ€์ˆ˜์— ์žˆ๋Š” `Depends`๋ฅผ ์‚ฌ์šฉํ•˜์ง€๋งŒ, `Depends`๋Š” ์•ฝ๊ฐ„ ๋‹ค๋ฅด๊ฒŒ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.
    
    `Depends`์— ๋‹จ์ผ ๋งค๊ฐœ๋ณ€์ˆ˜๋งŒ ์ „๋‹ฌํ–ˆ์Šต๋‹ˆ๋‹ค.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/security/oauth2-scopes.md

    ๐Ÿ‘‰, ๐Ÿ‘ฅ ๐Ÿ—„ & โš™๏ธ `Security` โšช๏ธโžก๏ธ `fastapi`.
    
    ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ `Security` ๐Ÿ“ฃ ๐Ÿ”— (๐Ÿ’– `Depends`), โœ‹๏ธ `Security` ๐Ÿ“จ ๐Ÿ”ข `scopes` โฎ๏ธ ๐Ÿ“‡ โ†” (๐ŸŽป).
    
    ๐Ÿ‘‰ ๐Ÿ’ผ, ๐Ÿ‘ฅ ๐Ÿšถโ€โ™€๏ธ ๐Ÿ”— ๐Ÿ”ข `get_current_active_user` `Security` (๐ŸŽ ๐ŸŒŒ ๐Ÿ‘ฅ ๐Ÿ”œ โฎ๏ธ `Depends`).
    
    โœ‹๏ธ ๐Ÿ‘ฅ ๐Ÿšถโ€โ™€๏ธ `list` โ†”, ๐Ÿ‘‰ ๐Ÿ’ผ โฎ๏ธ 1๏ธโƒฃ โ†”: `items` (โšซ๏ธ ๐Ÿ’ช โœ”๏ธ ๐ŸŒ…).
    
    & ๐Ÿ”— ๐Ÿ”ข `get_current_active_user` ๐Ÿ’ช ๐Ÿ“ฃ ๐ŸŽง-๐Ÿ”—, ๐Ÿšซ ๐Ÿ•ด โฎ๏ธ `Depends` โœ‹๏ธ โฎ๏ธ `Security`. ๐Ÿ“ฃ ๐Ÿšฎ ๐Ÿ‘ ๐ŸŽง-๐Ÿ”— ๐Ÿ”ข (`get_current_user`), & ๐ŸŒ– โ†” ๐Ÿ“„.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:03:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    Let's focus on the parameters declared:
    
    * Even though this function is a dependency ("dependable") itself, it also declares another dependency (it "depends" on something else).
        * It depends on the `query_extractor`, and assigns the value returned by it to the parameter `q`.
    * It also declares an optional `last_query` cookie, as a `str`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/security/oauth2-scopes.md

    /// info | Technical Details
    
    `Security` is actually a subclass of `Depends`, and it has just one extra parameter that we'll see later.
    
    But by using `Security` instead of `Depends`, **FastAPI** will know that it can declare security scopes, use them internally, and document the API with OpenAPI.
    
    But when you import `Query`, `Path`, `Depends`, `Security` and others from `fastapi`, those are actually functions that return special classes.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/security/oauth2-scopes.md

    `Security` ist tatsรคchlich eine Unterklasse von `Depends` und hat nur noch einen zusรคtzlichen Parameter, den wir spรคter kennenlernen werden.
    
    Durch die Verwendung von `Security` anstelle von `Depends` weiรŸ **FastAPI** jedoch, dass es Sicherheits-Scopes deklarieren, intern verwenden und die API mit OpenAPI dokumentieren kann.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/security/oauth2-scopes.md

    /// info | Informaciรณn Tรฉcnica
    
    `Security` es en realidad una subclase de `Depends`, y tiene solo un parรกmetro extra que veremos mรกs adelante.
    
    Pero al usar `Security` en lugar de `Depends`, **FastAPI** sabrรก que puede declarar scopes de seguridad, usarlos internamente y documentar la API con OpenAPI.
    
    Pero cuando importas `Query`, `Path`, `Depends`, `Security` y otros de `fastapi`, en realidad son funciones que devuelven clases especiales.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/dependencies/sub-dependencies.md

    //// tab | Python 3.6+
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.6+ ะฑะตะท Annotated
    
    /// tip | ะŸะพะดัะบะฐะทะบะฐ
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

    //// tab | Python 3.8+
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip | Dica
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/dependencies/sub-dependencies.md

    //// tab | Python 3.8+
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.8+ sin Anotaciones
    
    /// tip | Consejo
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top