- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 462 for sync (0.02 sec)
-
README.md
<details markdown="1"> <summary>Or use <code>async def</code>...</summary> If your code uses `async` / `await`, use `async def`: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") async def read_item(item_id: int, q: Union[str, None] = None):
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 15:19:49 UTC 2025 - 24.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.1K bytes - Viewed (0) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), func Stat(string, *Stat_t) error pkg syscall (netbsd-arm64-cgo), func StringSlicePtr([]string) []*uint8 pkg syscall (netbsd-arm64-cgo), func Sync() error pkg syscall (netbsd-arm64-cgo), func Syscall6(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Aug 08 18:44:16 UTC 2019 - 452.6K bytes - Viewed (0) -
docs/en/docs/tutorial/background-tasks.md
It is just a standard function that can receive parameters. It can be an `async def` or normal `def` function, **FastAPI** will know how to handle it correctly. In this case, the task function will write to a file (simulating sending an email). And as the write operation doesn't use `async` and `await`, we define the function with normal `def`: {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.8K bytes - Viewed (0) -
docs/pt/docs/tutorial/background-tasks.md
É apenas uma função padrão que pode receber parâmetros. Pode ser uma função `async def` ou `def` normal, o **FastAPI** saberá como lidar com isso corretamente. Nesse caso, a função de tarefa gravará em um arquivo (simulando o envio de um e-mail). E como a operação de gravação não usa `async` e `await`, definimos a função com `def` normal: {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Nov 10 17:23:38 UTC 2024 - 5.1K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.13.md
* Fix tests to use fsync instead of sync ([#69755](https://github.com/kubernetes/kubernetes/pull/69755), [@mrunalp](https://github.com/mrunalp))
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Thu May 05 13:44:43 UTC 2022 - 273.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/first-steps.md
Neste caso, é uma função `assíncrona`. --- Você também pode defini-la como uma função normal em vez de `async def`: {* ../../docs_src/first_steps/tutorial003.py hl[7] *} /// note | Nota Se você não sabe a diferença, verifique o [Async: *"Com pressa?"*](../async.md#com-pressa){.internal-link target=_blank}. /// ### Passo 5: retorne o conteúdoRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Jan 09 20:41:07 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/CommonServerMessageBlockResponse.java
* * @author mbechler */ public interface CommonServerMessageBlockResponse extends CommonServerMessageBlock, Response { /** * Checks if this is an asynchronous response. * * @return is an async response */ boolean isAsync(); /** * * @return the next response */ @Override CommonServerMessageBlockResponse getNextResponse(); /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
docs/ja/docs/tutorial/first-steps.md
これは、Pythonの関数です。 この関数は、`GET`オペレーションを使ったURL「`/`」へのリクエストを受け取るたびに**FastAPI**によって呼び出されます。 この場合、この関数は`async`関数です。 --- `async def`の代わりに通常の関数として定義することもできます: {* ../../docs_src/first_steps/tutorial003.py hl[7] *} /// note | 備考 違いが分からない場合は、[Async: *"急いでいますか?"*](../async.md#_1){.internal-link target=_blank}を確認してください。 /// ### Step 5: コンテンツの返信Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 11K bytes - Viewed (0) -
docs/es/docs/tutorial/background-tasks.md
Es solo una función estándar que puede recibir parámetros. Puede ser una función `async def` o una función normal `def`, **FastAPI** sabrá cómo manejarla correctamente. En este caso, la función de tarea escribirá en un archivo (simulando el envío de un email). Y como la operación de escritura no usa `async` y `await`, definimos la función con un `def` normal: {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4.9K bytes - Viewed (0)