- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for Lifespan (0.04 sec)
-
docs/en/docs/advanced/async-tests.md
/// /// warning If your application relies on lifespan events, the `AsyncClient` won't trigger these events. To ensure they are triggered, use `LifespanManager` from <a href="https://github.com/florimondmanca/asgi-lifespan#usage" class="external-link" target="_blank">florimondmanca/asgi-lifespan</a>. /// ## Other Asynchronous Function Calls { #other-asynchronous-function-calls }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.9K bytes - Viewed (0) -
docs/de/docs/advanced/async-tests.md
/// /// warning | Achtung Falls Ihre Anwendung auf Lifespan-Events angewiesen ist, der `AsyncClient` löst diese Events nicht aus. Um sicherzustellen, dass sie ausgelöst werden, verwenden Sie `LifespanManager` von <a href="https://github.com/florimondmanca/asgi-lifespan#usage" class="external-link" target="_blank">florimondmanca/asgi-lifespan</a>. /// ## Andere asynchrone Funktionsaufrufe
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (1) -
docs/zh/docs/advanced/async-tests.md
请注意,我们正在将 async/await 与新的 `AsyncClient` 一起使用——请求是异步的。 /// /// warning 如果您的应用程序依赖于生命周期事件, `AsyncClient` 将不会触发这些事件。为了确保它们被触发,请使用 <a href="https://github.com/florimondmanca/asgi-lifespan#usage" class="external-link" target="_blank">florimondmanca/asgi-lifespan</a> 中的 `LifespanManager` 。 /// ## 其他异步函数调用 由于测试函数现在是异步的,因此除了在测试中向 FastAPI 应用程序发送请求之外,您现在还可以调用(和使用 `await` 等待)其他 `async` 异步函数,就和您在代码中的其他任何地方调用它们的方法一样。 /// tip
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 17 21:49:06 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/es/llm-prompt.md
* on the fly: sobre la marcha (do not translate to "al vuelo") * terminal: terminal (femenine, as in "la terminal") * terminals: terminales (plural femenine, as in "las terminales") * lifespan: lifespan (do not translate to "vida útil" or "tiempo de vida") * unload: quitar de memoria (do not translate to "descargar") * mount (noun): mount (do not translate to "montura") * mount (verb): montar
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Jul 26 18:57:50 UTC 2025 - 5.3K bytes - Viewed (0) -
docs/ko/docs/advanced/async-tests.md
/// /// warning | 경고 만약의 어플리케이션이 Lifespan 이벤트에 의존성을 갖고 있다면 `AsyncClient` 가 이러한 이벤트를 실행시키지 않습니다. `AsyncClient` 가 테스트를 실행시켰다는 것을 확인하기 위해 `LifespanManager` from <a href="https://github.com/florimondmanca/asgi-lifespan#usage" class="external-link" target="_blank">florimondmanca/asgi-lifespan</a>.확인해주세요. /// ## 그 외의 비동기 함수 호출
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 10 11:03:16 UTC 2024 - 4.7K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/MojoExecutionScoped.java
import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Indicates that the annotated bean has a lifespan limited to a given mojo execution, * which means each mojo execution will result in a different instance being injected. * <p> * The following objects will be bound to the mojo execution scope: * <ul>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Sep 12 06:14:46 UTC 2024 - 1.7K bytes - Viewed (0) -
docs/en/docs/deployment/https.md
The domains are securely verified and the certificates are generated automatically. This also allows automating the renewal of these certificates.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 19:34:08 UTC 2025 - 14.3K bytes - Viewed (0) -
docs/en/docs/deployment/docker.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 29.5K bytes - Viewed (1) -
docs/es/docs/deployment/docker.md
```Dockerfile # ⛔️ No hagas esto CMD fastapi run app/main.py --port 80 ``` Asegúrate de siempre usar la **forma exec** para garantizar que FastAPI pueda cerrarse de manera adecuada y que [los eventos de lifespan](../advanced/events.md){.internal-link target=_blank} sean disparados.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri May 30 13:15:52 UTC 2025 - 31K bytes - Viewed (0) -
docs/en/docs/release-notes.md
ml_models = {} @asynccontextmanager async def lifespan(app: FastAPI): # Load the ML model ml_models["answer_to_everything"] = fake_answer_to_everything_ml_model yield # Clean up the ML models and release the resources ml_models.clear() app = FastAPI(lifespan=lifespan) @app.get("/predict") async def predict(x: float):
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Sep 05 12:48:45 UTC 2025 - 544.1K bytes - Viewed (0)