FreeRules, agents & hooks
TypeScript, React and Node.js rules
- 174174 downloads
- 225225 likes
- 237237 saves
- Cursor
Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans
Use this resource to write an asynchronous FastAPI API with Pydantic v2 and SQLAlchemy 2.0
New
Free
In a terminal, from the folder you want:
npx --yes palatekit@latest install python-fastapi-async-ruleFirst time: connect the CLI with
npx --yes palatekit@latest loginCursor uses def for synchronous work and async def for asynchronous operations, validates inputs with Pydantic, declares routes with return types, and handles edge cases first. It limits startup event handlers.
Mostly picked by
Updated November 2, 2026
You say
“Add the product search route, async, with a database call.”

Rule published by PatrickJS under the CC0-1.0 license, delivered in its original version.
Listed unmodified
« python-fastapi-best-practices-cursorrules-prompt-f » (PatrickJS, CC0-1.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.
–
No ratings yet
Loading reviews…