(request)
| 3 | |
| 4 | |
| 5 | async def get_sample_data(request): |
| 6 | return JSONResponse( |
| 7 | { |
| 8 | "data": [ |
| 9 | {"id": 1, "name": "Sample Item 1", "value": 100}, |
| 10 | {"id": 2, "name": "Sample Item 2", "value": 200}, |
| 11 | {"id": 3, "name": "Sample Item 3", "value": 300}, |
| 12 | ], |
| 13 | "total": 3, |
| 14 | "timestamp": "2024-01-01T00:00:00Z", |
| 15 | } |
| 16 | ) |
| 17 | |
| 18 | |
| 19 | async def get_item(request): |
nothing calls this directly
no outgoing calls
no test coverage detected