- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for union_ (0.03 sec)
-
docs/ru/docs/deployment/docker.md
* Создайте файл `main.py` и заполните его: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` ### Dockerfile
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Dec 12 22:48:28 UTC 2024 - 57.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 123); // _infop, retval when(mockNdrBuffer.dec_ndr_short()).thenReturn((int) (short) 0); // union discriminant queryInfoPolicy.decode_out(mockNdrBuffer); verify(mockInfo).decode(mockNdrBuffer); assertEquals(123, queryInfoPolicy.retval); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
*/ static int maxSize(Set<?> set) { return set instanceof SetView ? ((SetView<?>) set).maxSize() : set.size(); } } /** * Returns an unmodifiable <b>view</b> of the union of two sets. The returned set contains all * elements that are contained in either backing set. Iterating over the returned set iterates
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0) -
cmd/iam-store.go
for _, p := range policiesToUpdate.ToSlice() { if _, found := cache.iamPolicyDocsMap[p]; !found { err = errNoSuchPolicy return } } newPolicySet = existingPolicySet.Union(policiesToUpdate) } else { // policies to detach => inputPolicies ∩ existing (intersection) policiesToUpdate = policiesToUpdate.Intersection(existingPolicySet)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 86.7K bytes - Viewed (0)