astrofrog / astrofrog/numtraits

Allow callback function to be specified

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.