- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 880 for resync (0.04 seconds)
-
docs/fr/docs/tutorial/stream-json-lines.md
/// ### Fonctions de chemin d'accès non asynchrones { #non-async-path-operation-functions } Vous pouvez aussi utiliser des fonctions `def` classiques (sans `async`), et utiliser `yield` de la même manière. FastAPI s'assure qu'elle s'exécute correctement afin de ne pas bloquer la boucle d'événements. Comme dans ce cas la fonction n'est pas async, le bon type de retour serait `Iterable[Item]` :Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:33:45 GMT 2026 - 4.9K bytes - Click Count (0) -
docs/uk/docs/tutorial/testing.md
/// /// tip | Порада Якщо ви хочете викликати `async`-функції у ваших тестах, окрім відправлення запитів до вашого застосунку FastAPI (наприклад, асинхронні функції роботи з базою даних), перегляньте [Async Tests](../advanced/async-tests.md) у розширеному керівництві. /// ## Розділення тестів { #separating-tests }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 8.6K bytes - Click Count (0) -
tests/test_request_params/test_query/test_optional_str.py
# Without aliases @app.get("/optional-str") async def read_optional_str(p: str | None = None): return {"p": p} class QueryModelOptionalStr(BaseModel): p: str | None = None @app.get("/model-optional-str") async def read_model_optional_str(p: Annotated[QueryModelOptionalStr, Query()]): return {"p": p.p} @pytest.mark.parametrize(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 8.4K bytes - Click Count (0) -
docs/ko/docs/tutorial/request-files.md
* `close()`: 파일을 닫습니다. 상기 모든 메소드들이 `async` 메소드이기 때문에 “await”을 사용하여야 합니다. 예를들어, `async` *경로 처리 함수*의 내부에서 다음과 같은 방식으로 내용을 가져올 수 있습니다: ```Python contents = await myfile.read() ``` 만약 일반적인 `def` *경로 처리 함수*의 내부라면, 다음과 같이 `UploadFile.file` 에 직접 접근할 수 있습니다: ```Python contents = myfile.file.read() ``` /// note | `async` 기술 세부사항 `async` 메소드들을 사용할 때 **FastAPI**는 스레드풀에서 파일 메소드들을 실행하고 그들을 기다립니다.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 8.3K bytes - Click Count (0) -
docs/zh/docs/advanced/events.md
剩下的部分在 `yield` 之后,会在应用完成后执行。 ### 异步上下文管理器 { #async-context-manager } 如你所见,这个函数有一个装饰器 `@asynccontextmanager`。 它将函数转化为所谓的“**异步上下文管理器**”。 {* ../../docs_src/events/tutorial003_py310.py hl[1,13] *} 在 Python 中,**上下文管理器**是一个你可以在 `with` 语句中使用的东西,例如,`open()` 可以作为上下文管理器使用。 ```Python with open("file.txt") as file: file.read() ``` Python 的最近几个版本也有了一个**异步上下文管理器**,你可以通过 `async with` 来使用: ```PythonCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 7.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
} } else { log.warn("Async notify failed: {}", message.getErrorMessage()); } return null; } catch (Exception e) { throw new IOException("Witness async notify RPC failed", e); } } /** * Generates a registration ID from context handle and share name.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 12.1K bytes - Click Count (0) -
tests/test_request_params/test_body/test_optional_list.py
@app.post("/optional-list-str", operation_id="optional_list_str") async def read_optional_list_str( p: Annotated[list[str] | None, Body(embed=True)] = None, ): return {"p": p} class BodyModelOptionalListStr(BaseModel): p: list[str] | None = None @app.post("/model-optional-list-str", operation_id="model_optional_list_str") async def read_model_optional_list_str(p: BodyModelOptionalListStr):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 12.6K bytes - Click Count (0) -
docs/en/docs/js/termynal.js
/** * termynal.js * A lightweight, modern and extensible animated terminal window, using * async/await. * * @author Ines Montani <******@****.***> * @version 0.0.1 * @license MIT */ 'use strict'; /** Generate a terminal widget. */ class Termynal { /** * Construct the widget's settings. * @param {(string|Node)=} container - Query selector or container element. * @param {Object=} options - Custom settings.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Aug 31 10:32:57 GMT 2025 - 9.3K bytes - Click Count (0) -
docs/de/docs/tutorial/testing.md
Wenn Sie in Ihren Tests neben dem Senden von <abbr title="Request – Anfrage: Daten, die der Client zum Server sendet">Requests</abbr> an Ihre FastAPI-Anwendung auch `async`-Funktionen aufrufen möchten (z. B. asynchrone Datenbankfunktionen), werfen Sie einen Blick auf die [Async-Tests](../advanced/async-tests.md) im Handbuch für fortgeschrittene Benutzer. /// ## Tests separieren { #separating-tests }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 6.6K bytes - Click Count (0) -
tests/test_request_params/test_header/test_optional_list.py
# Without aliases @app.get("/optional-list-str") async def read_optional_list_str( p: Annotated[list[str] | None, Header()] = None, ): return {"p": p} class HeaderModelOptionalListStr(BaseModel): p: list[str] | None = None @app.get("/model-optional-list-str") async def read_model_optional_list_str( p: Annotated[HeaderModelOptionalListStr, Header()], ):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.6K bytes - Click Count (0)