- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,918 for nope (0.02 sec)
-
tests/test_tutorial/test_query_params_str_validations/test_tutorial015.py
"name": "The Hitchhiker's Guide to the Galaxy", } def test_get_item_does_not_exist(client: TestClient): response = client.get("/items?id=isbn-nope") assert response.status_code == 200, response.text assert response.json() == {"id": "isbn-nope", "name": None} def test_get_invalid_item(client: TestClient): response = client.get("/items?id=wtf-yes") assert response.status_code == 422, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 5K bytes - Viewed (0) -
docs_src/handling_errors/tutorial004_py39.py
return PlainTextResponse(message, status_code=400) @app.get("/items/{item_id}") async def read_item(item_id: int): if item_id == 3: raise HTTPException(status_code=418, detail="Nope! I don't like 3.")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 920 bytes - Viewed (0) -
tests/test_tutorial/test_handling_errors/test_tutorial006.py
} ] } def test_get_http_error(): response = client.get("/items/3") assert response.status_code == 418, response.text assert response.json() == {"detail": "Nope! I don't like 3."} def test_get(): response = client.get("/items/2") assert response.status_code == 200, response.text assert response.json() == {"item_id": 2} def test_openapi_schema():Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 3.6K bytes - Viewed (0) -
docs_src/handling_errors/tutorial006_py39.py
return await request_validation_exception_handler(request, exc) @app.get("/items/{item_id}") async def read_item(item_id: int): if item_id == 3: raise HTTPException(status_code=418, detail="Nope! I don't like 3.")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 928 bytes - Viewed (0) -
tests/test_tutorial/test_handling_errors/test_tutorial004.py
assert "Field: ('path', 'item_id')" in response.text def test_get_http_error(): response = client.get("/items/3") assert response.status_code == 418, response.text assert response.content == b"Nope! I don't like 3." def test_get(): response = client.get("/items/2") assert response.status_code == 200, response.text assert response.json() == {"item_id": 2} def test_openapi_schema():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
assertSame(a3, l3.getNextAddress()); assertFalse(l3.hasNextAddress()); // UnknownHostException yields CIFSException when(nsc.getAllByName("badhost", true)).thenThrow(new UnknownHostException("nope")); SmbResourceLocatorImpl bad = locator("smb://badhost/"); CIFSException ex = assertThrows(CIFSException.class, bad::getAddress); assertTrue(ex.getMessage().contains("Failed to lookup address")); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
// The result of Arrays.asList() is mutable otherWay.set(0, "FOO"); assertEquals("FOO", otherWay.get(0)); // But it can't grow assertThrows(UnsupportedOperationException.class, () -> otherWay.add("nope")); // And it can't shrink assertThrows(UnsupportedOperationException.class, () -> otherWay.remove(2)); } @J2ktIncompatible @GwtIncompatible // SerializableTester
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
docs/fr/docs/async.md
### Est-ce que la concurrence est mieux que le parallélisme ? Nope ! C'est ça la morale de l'histoire.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 25.4K bytes - Viewed (0) -
docs/en/docs/async.md
### Is concurrency better than parallelism? { #is-concurrency-better-than-parallelism } Nope! That's not the moral of the story.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 24K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Node.java
*/ @Nullable Dependency getDependency(); /** * Gets the child nodes of this node. * * @return the child nodes of this node, never {@code null} */ @Nonnull List<Node> getChildren(); /** * @return repositories of this node */ @Nonnull List<RemoteRepository> getRemoteRepositories(); /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Mar 24 14:10:11 UTC 2025 - 4.2K bytes - Viewed (0)