Skip to content

Commit 12a5cb5

Browse files
committed
Resolve ruff findings
1 parent 6facc58 commit 12a5cb5

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎fastapi/.agents/skills/fastapi/references/dependencies.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def get_username():
5555
finally:
5656
print("Clean up before response is sent")
5757

58+
5859
UserNameDep = Annotated[str, Depends(get_username, scope="function")]
5960

6061
@app.get("/users/me")

‎fastapi/.agents/skills/fastapi/references/streaming.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ app = FastAPI()
7676
class PNGStreamingResponse(StreamingResponse):
7777
media_type = "image/png"
7878

79+
7980
@app.get("/image", response_class=PNGStreamingResponse)
8081
def stream_image_no_async_no_annotation():
8182
with read_image() as image_file:

0 commit comments

Comments
 (0)