Open eqperes opened 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 74.65%. Comparing base (
c65e067
) to head (e8140f7
). Report is 5 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
Similar to update_model on Flask-Admin, isolating the call to
form.update_obj
to a separate method allows the step to be easily overridden. Currently, the methods exposed can access either the form (process_form
, for example) or the item (pre_add
,pre_update
, for example), but not both. Depending on the behavior to be implemented, access to both can be really useful.ADDITIONAL INFORMATION