- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 214 for Kuwait (0.15 sec)
-
docs/em/docs/index.md
def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` <details markdown="1"> <summary>โ๏ธ โ๏ธ <code>async def</code>...</summary> ๐ฅ ๐ ๐ โ๏ธ `async` / `await`, โ๏ธ `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"}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 17.1K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
By doing it this way, we can put it in a `with` block, and that way, ensure that it is closed after finishing. !!! tip Notice that here as we are using standard `open()` that doesn't support `async` and `await`, we declare the path operation with normal `def`. ### `FileResponse` Asynchronously streams a file as the response. Takes a different set of arguments to instantiate than the other response types:
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) -
src/main/resources/fess_indices/fess/fr/stopwords.txt
fusse fusses fรปt fussions fussiez fussent ayant eu eue eues eus ai as avons avez ont aurai auras aura aurons aurez auront aurais aurait aurions auriez auraient avais avait avions aviez avaient eut eรปmes eรปtes eurent aie aies ait ayons ayez aient eusse eusses eรปt eussions
Plain Text - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Mon Nov 27 12:59:36 GMT 2023 - 977 bytes - Viewed (0) -
docs/em/docs/advanced/custom-response.md
, โซ๏ธ ๐ ๐ข ๐ ๐จ "๐ญ" ๐ท ๐ณ ๐ ๐. ๐จ โซ๏ธ ๐ ๐, ๐ฅ ๐ช ๐ฎ โซ๏ธ `with` ๐ซ, & ๐ ๐, ๐ ๐ โซ๏ธ ๐ช โฎ๏ธ ๐. !!! tip ๐ ๐ ๐ฅ ๐ฅ โ๏ธ ๐ฉ `open()` ๐ ๐ซ ๐โ๐ฆบ `async` & `await`, ๐ฅ ๐ฃ โก ๐ ๏ธ โฎ๏ธ ๐ `def`. ### `FileResponse` ๐ ๐ ๐ ๐จ. โ ๐ โ โ ๐ ๐ ๐ ๐จ ๐: * `path` - ๐ ๐ ๐. * `headers` - ๐ ๐ ๐ ๐, ๐.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 9.8K bytes - Viewed (0) -
docs/en/docs/advanced/websockets.md
**FastAPI** provides the same `WebSocket` directly just as a convenience for you, the developer. But it comes directly from Starlette. ## Await for messages and send messages In your WebSocket route you can `await` for messages and send messages. ```Python hl_lines="48-52" {!../../../docs_src/websockets/tutorial001.py!} ``` You can receive and send binary, text, and JSON data.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 6.2K bytes - Viewed (0) -
docs/en/docs/tutorial/request-files.md
* `seek(offset)`: Goes to the byte position `offset` (`int`) in the file. * E.g., `await myfile.seek(0)` would go to the start of the file. * This is especially useful if you run `await myfile.read()` once and then need to read the contents again. * `close()`: Closes the file. As all these methods are `async` methods, you need to "await" them. For example, inside of an `async` *path operation function* you can get the contents with:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 10.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
} /** For testing: force this web socket to release its threads. */ @Throws(InterruptedException::class) fun tearDown() { taskQueue.shutdown() taskQueue.idleLatch().await(10, TimeUnit.SECONDS) } @Synchronized fun sentPingCount(): Int = sentPingCount @Synchronized fun receivedPingCount(): Int = receivedPingCount
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 22.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/AsyncDns.kt
allExceptions.add(e) } latch.countDown() } }, ) } latch.await() // No mutations should be possible after this point if (allAddresses.isEmpty()) { val first = allExceptions.firstOrNull() ?: UnknownHostException("No results for $hostname")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 3.5K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.13.md
* Scale max-inflight limits together with master VM sizes. ([#73268](https://github.com/kubernetes/kubernetes/pull/73268), [@wojtek-t](https://github.com/wojtek-t)) * kubeadm: explicitly wait for `etcd` to have grown when joining a new control plane ([#72984](https://github.com/kubernetes/kubernetes/pull/72984), [@ereslibre](https://github.com/ereslibre))
Plain Text - Registered: Fri May 03 09:05:14 GMT 2024 - Last Modified: Thu May 05 13:44:43 GMT 2022 - 273.1K bytes - Viewed (0) -
api/go1.16.txt
pkg syscall (darwin-arm64), const SYS_SEM_UNLINK ideal-int pkg syscall (darwin-arm64), const SYS_SEM_WAIT = 271 pkg syscall (darwin-arm64), const SYS_SEM_WAIT ideal-int pkg syscall (darwin-arm64), const SYS_SEM_WAIT_NOCANCEL = 420 pkg syscall (darwin-arm64), const SYS_SEM_WAIT_NOCANCEL ideal-int pkg syscall (darwin-arm64), const SYS_SENDFILE = 337 pkg syscall (darwin-arm64), const SYS_SENDFILE ideal-int
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Viewed (0)