astrofrog / astrofrog/numtraits
Allow callback function to be specified
Open
enhancement
- Dominant language
- Python
- Stars
- 39
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Once the property has been validated, one may want to do some additional custom validation or trigger another action, so we could support a `callback=` argument that gets called with the class instance, the property name, and the property value after validation.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the property-validation implementation and the existing tests for validated properties. Add coverage for the callback argument and verify that it receives the class instance, property name, and property value after validation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100