Browse Source

🎨 Auto format

pull/15144/head
pre-commit-ci-lite[bot] 4 months ago
committed by GitHub
parent
commit
16f3717171
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      tests/test_tutorial/test_path_params/test_tutorial006.py

2
tests/test_tutorial/test_path_params/test_tutorial006.py

@ -3,10 +3,12 @@ from fastapi.testclient import TestClient
app = FastAPI()
@app.get("/items/{item_id}")
def read_item(item_id: int = Path(..., ge=1, le=1000)):
return {"item_id": item_id}
client = TestClient(app)

Loading…
Cancel
Save