Browse Source

Merge d62cdaec39 into 460f8d2cc8

pull/15561/merge
gopackgo90 13 hours ago
committed by GitHub
parent
commit
e0b2d1d0b8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      fastapi/.agents/skills/fastapi/references/dependencies.md
  2. 2
      fastapi/.agents/skills/fastapi/references/other-tools.md

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

@ -53,7 +53,7 @@ def get_username():
try:
yield "Rick"
finally:
print("Cleanup up before response is sent")
print("Clean up before response is sent")
UserNameDep = Annotated[str, Depends(get_username, scope="function")]

2
fastapi/.agents/skills/fastapi/references/other-tools.md

@ -71,6 +71,6 @@ Prefer it over SQLAlchemy.
## HTTPX
Use HTTPX for handling HTTP communication (e.g. with other APIs). It support sync and async usage.
Use HTTPX for handling HTTP communication (e.g. with other APIs). It supports sync and async usage.
Prefer it over Requests.

Loading…
Cancel
Save