- Sort Score
- Result 10 results
- Languages All
Results 2291 - 2300 of 4,243 for getS (0.02 sec)
-
docs_src/security/tutorial007_py39.py
status_code=status.HTTP_401_UNAUTHORIZED, detail="Incorrect username or password", headers={"WWW-Authenticate": "Basic"}, ) return credentials.username @app.get("/users/me") def read_current_user(username: str = Depends(get_current_username)):Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.1K bytes - Viewed (0) -
docs_src/dependencies/tutorial008b_py39.py
class OwnerError(Exception): pass def get_username(): try: yield "Rick" except OwnerError as e: raise HTTPException(status_code=400, detail=f"Owner error: {e}") @app.get("/items/{item_id}") def get_item(item_id: str, username: str = Depends(get_username)): if item_id not in data: raise HTTPException(status_code=404, detail="Item not found") item = data[item_id]
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 735 bytes - Viewed (0) -
docs_src/metadata/tutorial001_1_py39.py
"url": "http://x-force.example.com/contact/", "email": "******@****.***", }, license_info={ "name": "Apache 2.0", "identifier": "MIT", }, ) @app.get("/items/") async def read_items():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 767 bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public fun equals (Ljava/lang/Object;)Z public final fun fragment ()Ljava/lang/String; public static final fun get (Ljava/lang/String;)Lokhttp3/HttpUrl; public static final fun get (Ljava/net/URI;)Lokhttp3/HttpUrl; public static final fun get (Ljava/net/URL;)Lokhttp3/HttpUrl; public fun hashCode ()I public final fun host ()Ljava/lang/String; public final fun isHttps ()Z
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.2K bytes - Viewed (0) -
docs_src/dataclasses_/tutorial002_py39.py
@dataclass class Item: name: str price: float tags: list[str] = field(default_factory=list) description: Union[str, None] = None tax: Union[float, None] = None app = FastAPI() @app.get("/items/next", response_model=Item) async def read_next_item(): return { "name": "Island In The Moon", "price": 12.99, "description": "A place to be playin' and havin' fun",Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 543 bytes - Viewed (0) -
docs_src/path_operation_advanced_configuration/tutorial002_py39.py
from fastapi import FastAPI from fastapi.routing import APIRoute app = FastAPI() @app.get("/items/") async def read_items(): return [{"item_id": "Foo"}] def use_route_names_as_operation_ids(app: FastAPI) -> None: """ Simplify operation IDs so that generated API clients have simpler function names. Should be called only after all routes have been added. """ for route in app.routes:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 572 bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
WitnessNotification.WitnessIPAddress newIPv4 = newAddresses.get(0); assertEquals(ipv4, newIPv4.getAddress()); assertTrue(newIPv4.isIPv4()); assertFalse(newIPv4.isIPv6()); assertEquals(WitnessNotification.WitnessIPAddress.IPV4, newIPv4.getFlags()); // Check IPv6 address WitnessNotification.WitnessIPAddress newIPv6 = newAddresses.get(1); assertEquals(ipv6, newIPv6.getAddress());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
return finishToValueAndCloser(closingFuture).get(); } @Override void assertFinallyFailsWithException(ClosingFuture<?> closingFuture) { assertThatFutureFailsWithException(closingFuture.statusFuture()); ValueAndCloser<?> valueAndCloser = finishToValueAndCloser(closingFuture); try { valueAndCloser.get(); fail(); } catch (ExecutionException expected) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java
Collection<V> collection = multimap().get(key); multimap().clear(); assertEmpty(collection); } } @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testClearPropagatesToAsMapGet() { for (K key : sampleKeys()) { resetContainer(); Collection<V> collection = multimap().asMap().get(key); if (collection != null) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 4.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java
assertNotNull(res.getClasspath(), "null classpath after runtime transform"); assertEquals(4, res.getClasspath().size(), "runtime classpath should have 4 entries"); ArtifactMetadata md = res.getClasspath().get(3); assertEquals("1.1", md.getVersion(), "runtime artifact version should be 1.1"); } // ------------------------------------------------------------------------------------------ @Test
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0)