- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for Gomes (0.23 sec)
-
maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java
assertNull(beerPhase); } @Test void testFindLastInPhaseMisc() throws Exception { MavenExecutionPlan plan = LifecycleExecutionPlanCalculatorStub.getProjectAExecutionPlan(); assertNull(plan.findLastInPhase("pacXkage")); // Beer comes straight after package in stub, much like real life.
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.8K bytes - Viewed (0) -
docs_src/extra_models/tutorial004_py39.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str items = [ {"name": "Foo", "description": "There comes my hero"}, {"name": "Red", "description": "It's my aeroplane"}, ] @app.get("/items/", response_model=list[Item]) async def read_items():
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 356 bytes - Viewed (0) -
docs/en/docs/tutorial/middleware.md
A "middleware" is a function that works with every **request** before it is processed by any specific *path operation*. And also with every **response** before returning it. * It takes each **request** that comes to your application. * It can then do something to that **request** or run any needed code. * Then it passes the **request** to be processed by the rest of the application (by some *path operation*).
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 2.9K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy
} def "validates present section links"() { given: sampleDoc << """ [[prior_section]] Text === Valid Section Links This section comes earlier: <<prior_section>> This section comes later: <<subsequent_section>> [[subsequent_section]] More text """ when: run('checkDeadInternalLinks').build() then: assertNoDeadLinks()
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Mon Nov 28 22:01:54 GMT 2022 - 7.8K bytes - Viewed (0) -
docs_src/extra_models/tutorial004.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str items = [ {"name": "Foo", "description": "There comes my hero"}, {"name": "Red", "description": "It's my aeroplane"}, ] @app.get("/items/", response_model=List[Item]) async def read_items():
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 381 bytes - Viewed (0) -
docs/pt/docs/tutorial/body-nested-models.md
## Modelos aninhados Cada atributo de um modelo Pydantic tem um tipo. Mas esse tipo pode ser outro modelo Pydantic. Portanto, você pode declarar "objects" JSON profundamente aninhados com nomes, tipos e validações de atributos específicos. Tudo isso, aninhado arbitrariamente. ### Defina um sub-modelo Por exemplo, nós podemos definir um modelo `Image`: ```Python hl_lines="9-11"
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.4K bytes - Viewed (0) -
tests/test_tutorial/test_extra_models/test_tutorial004.py
client = TestClient(app) def test_get_items(): response = client.get("/items/") assert response.status_code == 200, response.text assert response.json() == [ {"name": "Foo", "description": "There comes my hero"}, {"name": "Red", "description": "It's my aeroplane"}, ] def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.9K bytes - Viewed (0) -
tests/test_tutorial/test_extra_models/test_tutorial004_py39.py
@needs_py39 def test_get_items(client: TestClient): response = client.get("/items/") assert response.status_code == 200, response.text assert response.json() == [ {"name": "Foo", "description": "There comes my hero"}, {"name": "Red", "description": "It's my aeroplane"}, ] @needs_py39 def test_openapi_schema(client: TestClient): response = client.get("/openapi.json")
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.1K bytes - Viewed (0) -
docs/en/docs/tutorial/static-files.md
You could also use `from starlette.staticfiles import StaticFiles`. **FastAPI** provides the same `starlette.staticfiles` as `fastapi.staticfiles` just as a convenience for you, the developer. But it actually comes directly from Starlette. ### What is "Mounting" "Mounting" means adding a complete "independent" application in a specific path, that then takes care of handling all the sub-paths.
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 19:56:09 GMT 2024 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractValueGraph.java
private static <N, V> Map<EndpointPair<N>, V> edgeValueMap(final ValueGraph<N, V> graph) { return Maps.asMap( graph.edges(), edge -> // requireNonNull is safe because the endpoint pair comes from the graph. requireNonNull(graph.edgeValueOrDefault(edge.nodeU(), edge.nodeV(), null))); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 17 13:59:28 GMT 2023 - 4K bytes - Viewed (0)