- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 43 for read_user (0.04 sec)
-
docs_src/path_params/tutorial003b_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 193 bytes - Viewed (0) -
docs_src/dependencies/tutorial001_an_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 473 bytes - Viewed (0) -
docs_src/path_operation_configuration/tutorial002_py39.py
async def create_item(item: Item): return item @app.get("/items/", tags=["items"]) async def read_items(): return [{"name": "Foo", "price": 42}] @app.get("/users/", tags=["users"]) async def read_users():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 575 bytes - Viewed (0) -
docs_src/dependencies/tutorial001_02_an_py310.py
CommonsDep = Annotated[dict, Depends(common_parameters)] @app.get("/items/") async def read_items(commons: CommonsDep): return commons @app.get("/users/") async def read_users(commons: CommonsDep):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 447 bytes - Viewed (0) -
docs_src/path_operation_configuration/tutorial006_py39.py
from fastapi import FastAPI app = FastAPI() @app.get("/items/", tags=["items"]) async def read_items(): return [{"name": "Foo", "price": 42}] @app.get("/users/", tags=["users"]) async def read_users(): return [{"username": "johndoe"}] @app.get("/elements/", tags=["items"], deprecated=True) async def read_elements():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 365 bytes - Viewed (0) -
docs_src/dependencies/tutorial001_py310.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 404 bytes - Viewed (0) -
tests/test_tutorial/test_path_params/test_tutorial003b.py
from docs_src.path_params.tutorial003b_py39 import app, read_users2 client = TestClient(app) def test_get_users(): response = client.get("/users") assert response.status_code == 200, response.text assert response.json() == ["Rick", "Morty"] def test_read_users2(): # Just for coverage assert asyncio.run(read_users2()) == ["Bean", "Elfo"] def test_openapi_schema():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 1.3K bytes - Viewed (0) -
docs_src/dependencies/tutorial001_an_py310.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 454 bytes - Viewed (0) -
docs_src/dependencies/tutorial012_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 696 bytes - Viewed (0) -
docs_src/path_operation_configuration/tutorial002b_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 323 bytes - Viewed (0)