BMAD-METHOD/.claude/rules/cursorrules-file-cursor-ai-.../fastapi-blocking-operations...

8 lines
383 B
Plaintext

---
description: Limits blocking operations in routes, favoring asynchronous and non-blocking flows.
globs: **/routers/*.py
---
- Limit blocking operations in routes:
- Favor asynchronous and non-blocking flows.
- Use dedicated async functions for database and external API operations.
- Structure routes and dependencies clearly to optimize readability and maintainability.