- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 75 for plumbus (0.12 sec)
-
tests/test_tutorial/test_generate_clients/test_tutorial003.py
def test_get_items(): response = client.get("/items/") assert response.status_code == 200, response.text assert response.json() == [ {"name": "Plumbus", "price": 3}, {"name": "Portal Gun", "price": 9001}, ] def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 7.1K bytes - Viewed (0) -
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py310.py
assert response.json() == [ { "name": "Portal Gun", "description": "Device to travel through the multi-rick-verse", }, {"name": "Plumbus", "description": None}, ] @needs_py310 @needs_pydanticv2 def test_openapi_schema(client: TestClient) -> None: response = client.get("/openapi.json") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 4.9K bytes - Viewed (0) -
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001.py
assert response.json() == [ { "name": "Portal Gun", "description": "Device to travel through the multi-rick-verse", }, {"name": "Plumbus", "description": None}, ] @needs_pydanticv2 def test_openapi_schema(client: TestClient) -> None: response = client.get("/openapi.json") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 4.8K bytes - Viewed (0) -
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py39.py
assert response.json() == [ { "name": "Portal Gun", "description": "Device to travel through the multi-rick-verse", }, {"name": "Plumbus", "description": None}, ] @needs_py39 @needs_pydanticv2 def test_openapi_schema(client: TestClient) -> None: response = client.get("/openapi.json") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 4.9K bytes - Viewed (0) -
tests/test_tutorial/test_header_param_models/test_tutorial001.py
) ] } ) def test_header_param_model_extra(client: TestClient): response = client.get( "/items/", headers=[("save-data", "true"), ("tool", "plumbus")] ) assert response.status_code == 200, response.text assert response.json() == snapshot( { "host": "testserver", "save_data": True,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 8.7K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial012_an.py
"X-Key": "fake-super-secret-key", }, ) assert response.status_code == 200, response.text assert response.json() == [{"item": "Portal Gun"}, {"item": "Plumbus"}] def test_get_valid_headers_users(): response = client.get( "/users/", headers={ "X-Token": "fake-super-secret-token", "X-Key": "fake-super-secret-key",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 8.4K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py
"X-Key": "fake-super-secret-key", }, ) assert response.status_code == 200, response.text assert response.json() == [{"item": "Portal Gun"}, {"item": "Plumbus"}] @needs_py39 def test_get_valid_headers_users(client: TestClient): response = client.get( "/users/", headers={ "X-Token": "fake-super-secret-token",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 8.8K bytes - Viewed (0) -
tests/test_tutorial/test_query_param_models/test_tutorial001.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
* `ItemsService` * `UsersService` ### Client Method Names Right now the generated method names like `createItemItemsPost` don't look very clean: ```TypeScript ItemsService.createItemItemsPost({name: "Plumbus", price: 5}) ``` ...that's because the client generator uses the OpenAPI internal **operation ID** for each *path operation*.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.7K bytes - Viewed (0) -
docs/em/docs/advanced/generate-clients.md
π πΌ π βοΈ: * `ItemsService` * `UsersService` ### π©βπ» π©βπ¬ π βΆοΈοΈ π π π©βπ¬ π π `createItemItemsPost` π« π πΆ π§Ή: ```TypeScript ItemsService.createItemItemsPost({name: "Plumbus", price: 5}) ``` ...π β©οΈ π©βπ» π βοΈ π π **π οΈ π** π *β‘ π οΈ*. π π π π π οΈ π π π€ π *β‘ π οΈ*, FastAPI βοΈ **π’ π**, **β‘**, & **πΊπΈπ π©βπ¬/π οΈ** π π π οΈ π, β©οΈ π π β«οΈ πͺ β π π π οΈ π π.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.4K bytes - Viewed (0)