add .mdc file

This commit is contained in:
sanjeed5
2025-02-17 17:50:15 +05:30
parent 2087f9d628
commit 71ac7fc7cc
879 changed files with 7725 additions and 0 deletions
@@ -0,0 +1,7 @@
---
description: Specific rules for creating Pydantic models, focusing on versioning and usage within the project.
globs: **/models/*.py
---
- Use type hints for all function signatures. Prefer Pydantic models over raw dictionaries for input validation.
- Use Pydantic v2.
- Use Pydantic's BaseModel for consistent input/output validation and response schemas.