(item_id: int)
| 21 | |
| 22 | @api_bp.get("/api/items/<int:item_id>") |
| 23 | def get_item(item_id: int): |
| 24 | return jsonify( |
| 25 | { |
| 26 | "item": { |
| 27 | "id": item_id, |
| 28 | "name": f"Sample Item {item_id}", |
| 29 | "value": item_id * 100, |
| 30 | }, |
| 31 | "timestamp": "2024-01-01T00:00:00Z", |
| 32 | } |
| 33 | ) |
nothing calls this directly
no outgoing calls
no test coverage detected