Browse Source

✏️ Update fastapi/.agents/skills/fastapi/SKILL.md

Co-authored-by: Sofie Van Landeghem <[email protected]>
pull/14982/head
Sebastián Ramírez 5 months ago
committed by GitHub
parent
commit
d9019655cc
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      fastapi/.agents/skills/fastapi/SKILL.md

2
fastapi/.agents/skills/fastapi/SKILL.md

@ -403,7 +403,7 @@ def get_user_me(username: UserNameDep):
Avoid creating class dependencies when possible.
If a class is needed, instead create a regular function dependency that return a class instance.
If a class is needed, instead create a regular function dependency that returns a class instance.
Do this:

Loading…
Cancel
Save