- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 623 for acceptX (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/fr/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
## Ajouter `dependencies` au *décorateur de chemin d'accès* { #add-dependencies-to-the-path-operation-decorator } Le *décorateur de chemin d'accès* accepte un argument optionnel `dependencies`. Il doit s'agir d'une `list` de `Depends()` : {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[19] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 3.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
assertNotNull(readRequest); } @Test @DisplayName("Should accept null file ID in constructor") void testConstructorWithNullFileId() { assertDoesNotThrow(() -> new Smb2ReadRequest(mockConfig, null, outputBuffer, 0)); } @Test @DisplayName("Should accept empty file ID in constructor") void testConstructorWithEmptyFileId() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt
openJavaCompilationUnitsByFile .computeIfAbsent(apiSourceFile.currentFile) { JavaParser().parse(it).getResult().get() } .accept(query.visitor, null) ?: query.defaultValue fun <T : Any?> executeQuery(apiSourceFile: ApiSourceFile.Kotlin, transform: (KtFile) -> T): T = apiSourceFile.normalizedPath.let { sourceNormalizedPath ->Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Apr 28 14:56:52 GMT 2025 - 4.1K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/11-language-change.yml
id: generics-proposal attributes: label: Is this about generics? description: If so, how does this relate to the accepted design and other generics proposals? placeholder: | Yes or No If yes, 1. how does this relate to the accepted design and other generics proposals? validations: required: true - type: textarea id: proposal attributes:Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Aug 08 19:02:29 GMT 2024 - 4.7K bytes - Click Count (0) -
docs_src/websockets_/tutorial002_an_py310.py
async def websocket_endpoint( *, websocket: WebSocket, item_id: str, q: int | None = None, cookie_or_token: Annotated[str, Depends(get_cookie_or_token)], ): await websocket.accept() while True: data = await websocket.receive_text() await websocket.send_text( f"Session cookie or query token value is: {cookie_or_token}" ) if q is not None:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 12:34:37 GMT 2026 - 2.8K bytes - Click Count (0) -
docs_src/websockets_/tutorial002_py310.py
@app.websocket("/items/{item_id}/ws") async def websocket_endpoint( websocket: WebSocket, item_id: str, q: int | None = None, cookie_or_token: str = Depends(get_cookie_or_token), ): await websocket.accept() while True: data = await websocket.receive_text() await websocket.send_text( f"Session cookie or query token value is: {cookie_or_token}" ) if q is not None:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 12:34:37 GMT 2026 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Converter.java
} else { return unsafeDoBackward(b); } } /* * LegacyConverter violates the contract of Converter by allowing its doForward and doBackward * methods to accept null. We could avoid having unchecked casts in Converter.java itself if we * could perform a cast to LegacyConverter, but we can't because it's an internal-only class. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 21:43:06 GMT 2025 - 22.8K bytes - Click Count (0) -
docs/en/docs/advanced/advanced-python-types.md
```Python say_hi() # Oh, no, this throws an error! 😱 ``` The `name` parameter is **still required** (not *optional*) because it doesn't have a default value. Still, `name` accepts `None` as the value: ```Python say_hi(name=None) # This works, None is valid 🎉 ``` The good news is, in most cases, you will be able to simply use `|` to define unions of types: ```python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
} } } private fun readAndWriteFrames() { check(socket == null) val socket = serverSocket!!.accept()!! this.socket = socket // Bail out now if this instance was closed while waiting for the socket to accept. synchronized(this) { if (executor.isShutdown) { socket.close() return } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K bytes - Click Count (0) -
docs/zh/docs/tutorial/cors.md
* `allow_origin_regex` - 一个正则表达式字符串,匹配的源允许跨域请求。例如 `'https://.*\.example\.org'`。 * `allow_methods` - 一个允许跨域请求的 HTTP 方法列表。默认为 `['GET']`。你可以使用 `['*']` 来允许所有标准方法。 * `allow_headers` - 一个允许跨域请求的 HTTP 请求头列表。默认为 `[]`。你可以使用 `['*']` 允许所有的请求头。`Accept`、`Accept-Language`、`Content-Language` 以及 `Content-Type` 这几个请求头在[简单 CORS 请求](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests)中总是被允许。 * `allow_credentials` - 指示跨域请求支持 cookies。默认是 `False`。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 4.9K bytes - Click Count (0)