Files
main/rules-v0-deprecated/graphical-apps-development-cursorrules-prompt-file/param-parameterized-class-rules.mdc
T
2025-03-03 23:40:27 +05:30

7 lines
358 B
Plaintext

---
description: Rules related to Param, to be applied when defining models. Models use Param to define parameters with validation and reactivity.
globs: /**/*_model.py
---
- Use Param to create parameterized classes.
- Param should handle type validation, default values, and constraints.
- Use Param's reactivity features (event handlers) to catch changes.