- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 163 for fsync (0.15 sec)
-
docs/en/docs/advanced/custom-response.md
```Python hl_lines="2 7 9" {!../../../docs_src/custom_response/tutorial006c.py!} ``` ### `StreamingResponse` Takes an async generator or a normal generator/iterator and streams the response body. ```Python hl_lines="2 14" {!../../../docs_src/custom_response/tutorial007.py!} ``` #### Using `StreamingResponse` with file-like objects
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.7K bytes - Viewed (0) -
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} ``` ## ๐ โ๏ธ โช๏ธโก๏ธ ๐ ๐ ๐ค โ๏ธ ๐ฅ, **๐ ๐** โ๏ธ ๐ . ๐ข ๐ ๐ ๐ *โก ๐ ๏ธ ๐ข*.
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) -
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) -
go.sum
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 21:52:58 GMT 2024 - 109K bytes - Viewed (0) -
docs/en/docs/how-to/async-sql-encode-databases.md
```Python hl_lines="42 45-47 50-52" {!../../../docs_src/async_sql_databases/tutorial001.py!} ``` ## Read notes Create the *path operation function* to read notes: ```Python hl_lines="55-58" {!../../../docs_src/async_sql_databases/tutorial001.py!} ``` !!! note Notice that as we communicate with the database using `await`, the *path operation function* is declared with `async`. ### Notice the `response_model=List[Note]`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.3K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
## To `async` or not to `async` As dependencies will also be called by **FastAPI** (the same as your *path operation functions*), the same rules apply while defining your functions. You can use `async def` or normal `def`. And you can declare dependencies with `async def` inside of normal `def` *path operation functions*, or `def` dependencies inside of `async def` *path operation functions*, etc.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.6K bytes - Viewed (0) -
docs/em/docs/advanced/dataclasses.md
๐, ๐ ๐ช ๐ `dataclasses` โฎ๏ธ ๐ฉ ๐ โ. 8๏ธโฃ. ๐ ๐ ๐ *โก ๐ ๏ธ ๐ข* โ๏ธ ๐ฅ `def` โฉ๏ธ `async def`. ๐ง, FastAPI ๐ ๐ช ๐ `def` & `async def` ๐ช. ๐ฅ ๐ ๐ช โ๏ธ ๐ ๐โ โ๏ธ โ, โ ๐ ๐ _"๐ โ" _ ๐ฉบ ๐ <a href="https://fastapi.tiangolo.com/async/#in-a-hurry" target="_blank" class="internal-link">`async` & `await`</a>. 9๏ธโฃ. ๐ *โก ๐ ๏ธ ๐ข* ๐ซ ๐ฌ ๐ป (๐ โซ๏ธ ๐ช), โ๏ธ ๐ ๐ โฎ๏ธ ๐ ๐ฝ.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 3.5K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/index.md
## `async` โ๏ธ ๐ซ `async` ๐ ๐ ๐ค **FastAPI** (๐ ๐ *โก ๐ ๏ธ ๐ข*), ๐ ๐ซ โ โช ๐ฌ ๐ ๐ข. ๐ ๐ช โ๏ธ `async def` โ๏ธ ๐ `def`. & ๐ ๐ช ๐ฃ ๐ โฎ๏ธ `async def` ๐ ๐ `def` *โก ๐ ๏ธ ๐ข*, โ๏ธ `def` ๐ ๐ `async def` *โก ๐ ๏ธ ๐ข*, โ๏ธ. โซ๏ธ ๐ซ ๐ค. **FastAPI** ๐ ๐ญ โซ๏ธโ. !!! note ๐ฅ ๐ ๐ซ ๐ญ, โ [๐: *"๐ โ" *](../../async.md){.internal-link target=_blank} ๐ ๐ `async` & `await` ๐ฉบ.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jun 24 14:47:15 GMT 2023 - 6.7K bytes - Viewed (0) -
docs/ko/docs/tutorial/dependencies/index.md
## `async`ํ๊ฒ, ํน์ `async`ํ์ง ์๊ฒ ์์กด์ฑ์ด (*๊ฒฝ๋ก ์๋ ํจ์*์์ ์ฒ๋ผ ๋๊ฐ์ด) **FastAPI**์ ์ํด ํธ์ถ๋ ์ ์์ผ๋ฉฐ, ํจ์๋ฅผ ์ ์ํ ๋ ๋์ผํ ๊ท์น์ด ์ ์ฉ๋ฉ๋๋ค. `async def`์ ์ฌ์ฉํ๊ฑฐ๋ ํน์ ์ผ๋ฐ์ ์ธ `def`๋ฅผ ์ฌ์ฉํ ์ ์์ต๋๋ค. ๊ทธ๋ฆฌ๊ณ ์ผ๋ฐ์ ์ธ `def` *๊ฒฝ๋ก ์๋ ํจ์* ์์ `async def`๋ก ์์กด์ฑ์ ์ ์ธํ ์ ์์ผ๋ฉฐ, `async def` *๊ฒฝ๋ก ์๋ ํจ์* ์์ `def`๋ก ์์กด์ฑ์ ์ ์ธํ๋ ๋ฑ์ ๋ฐฉ๋ฒ์ด ์์ต๋๋ค. ์๋ฌด ๋ฌธ์ ์์ต๋๋ค. **FastAPI**๋ ๋ฌด์์ ํ ์ง ์๊ณ ์์ต๋๋ค. !!! note "์ฐธ๊ณ "
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.6K bytes - Viewed (0) -
docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md
``` pip install async-exit-stack async-generator ``` ใใใซใใ<a href="https://github.com/sorcio/async_exit_stack" class="external-link" target="_blank">async-exit-stack</a>ใจ<a href="https://github.com/python-trio/async_generator" class="external-link" target="_blank">async-generator</a>ใใคใณในใใผใซใใใพใใ !!! note "ๆ่ก่ฉณ็ดฐ" ไปฅไธใจไธ็ทใซไฝฟ็จใงใใ้ขๆฐใชใไฝใงใๆๅนใงใ:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 12.5K bytes - Viewed (0)