- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 491 for asyncId (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/tr/docs/tutorial/dependencies/dependencies-with-yield.md
{* ../../docs_src/dependencies/tutorial007_py310.py hl[4] *} Response'dan sonra `yield` satırını takip eden kod çalıştırılır: {* ../../docs_src/dependencies/tutorial007_py310.py hl[5:6] *} /// tip | İpucu `async` ya da normal fonksiyonlar kullanabilirsiniz. **FastAPI**, normal dependency'lerde olduğu gibi her ikisinde de doğru şekilde davranır. /// ## `yield` ve `try` ile Bir Dependency { #a-dependency-with-yield-and-try }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 13.4K bytes - Click Count (0) -
docs/pt/docs/deployment/manually.md
/// tip | Dica Adicionando o `standard`, o Uvicorn instalará e usará algumas dependências extras recomendadas. Isso inclui o `uvloop`, a substituição de alto desempenho para `asyncio`, que fornece um grande aumento de desempenho de concorrência. Quando você instala o FastAPI com algo como `pip install "fastapi[standard]"`, você já obtém `uvicorn[standard]` também. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 7.1K bytes - Click Count (0) -
fastapi/dependencies/utils.py
assert field_info_in == params.ParamTypes.cookie, ( f"non-body parameters must be in path, query, header or cookie: {field.name}" ) dependant.cookie_params.append(field) async def _solve_generator( *, dependant: Dependant, stack: AsyncExitStack, sub_values: dict[str, Any] ) -> Any: assert dependant.call if dependant.is_async_gen_callable:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 38.7K bytes - Click Count (3) -
docs/zh/docs/alternatives.md
使用 Python 类型以获得出色的编辑器支持。 拥有强大的依赖注入系统,并设法尽量减少代码重复。 /// ### [Sanic](https://sanic.readthedocs.io/en/latest/) { #sanic } 它是最早的一批基于 `asyncio` 的极速 Python 框架之一,且做得与 Flask 很相似。 /// note | 技术细节 它使用了 [`uvloop`](https://github.com/MagicStack/uvloop) 来替代 Python 默认的 `asyncio` 循环。这正是它如此之快的原因。 它显然启发了 Uvicorn 和 Starlette;在公开的基准测试中,它们目前比 Sanic 更快。 /// /// check | 启发 **FastAPI**: 找到实现疯狂性能的路径。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 20.1K bytes - Click Count (0) -
internal/http/server.go
// Take a copy of server fields. var tlsConfig *tls.Config if srv.TLSConfig != nil { tlsConfig = srv.TLSConfig.Clone() } handler := srv.Handler // if srv.Handler holds non-synced state -> possible data race // Create new HTTP listener. var listener *httpListener listener, listenErrs := newHTTPListener( listenCtx, srv.Addrs, srv.TCPOptions, ) var interfaceFound boolCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6.5K bytes - Click Count (0) -
tests/test_no_schema_split.py
class Message(BaseModel): input: str output: MessageOutput app = FastAPI(title="Minimal FastAPI App", version="1.0.0") @app.post("/messages", response_model=Message) async def create_message(input_message: str) -> Message: return Message( input=input_message, output=MessageOutput(body=f"Processed: {input_message}"), ) client = TestClient(app)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 14:34:02 GMT 2026 - 6.5K bytes - Click Count (0) -
docs/en/docs/deployment/manually.md
/// tip By adding the `standard`, Uvicorn will install and use some recommended extra dependencies. That including `uvloop`, the high-performance drop-in replacement for `asyncio`, that provides the big concurrency performance boost. When you install FastAPI with something like `pip install "fastapi[standard]"` you already get `uvicorn[standard]` as well. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.7K bytes - Click Count (0) -
docs/es/docs/deployment/manually.md
/// tip | Consejo Al añadir `standard`, Uvicorn instalará y usará algunas dependencias adicionales recomendadas. Eso incluye `uvloop`, el reemplazo de alto rendimiento para `asyncio`, que proporciona un gran impulso de rendimiento en concurrencia. Cuando instalas FastAPI con algo como `pip install "fastapi[standard]"` ya obtienes `uvicorn[standard]` también. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java
} catch (InterruptedException e) { e.printStackTrace(); } // despite all are back, we need to make sure all the events are processed (are async) // this one should block until all processed listener.transferSucceeded(new TransferEvent.Builder(session, resource) .setType(TransferEvent.EventType.SUCCEEDED)
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.6K bytes - Click Count (0) -
docs/uk/docs/tutorial/dependencies/dependencies-with-yield.md
Код після оператора `yield` виконується після відповіді: {* ../../docs_src/dependencies/tutorial007_py310.py hl[5:6] *} /// tip | Порада Можете використовувати як `async`, так і звичайні функції. **FastAPI** зробить усе правильно з кожною з них, так само як і зі звичайними залежностями. /// ## Залежність з `yield` та `try` { #a-dependency-with-yield-and-try }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 18.4K bytes - Click Count (0)