We want to add a Python decorator abstracting the core functionality of get approval method:
@phantasm.require_approval()
@phantasm.require_approval_with_parameters()
Potential Solution
require_approval() should only care if the function is approved or not.
require_approval_with_parameters() should support inserting parameters from the approvers.
Additional Context
I want the usage to be similar with this from HumanLayer
Feature Description
We want to add a Python decorator abstracting the core functionality of get approval method:
@phantasm.require_approval()
@phantasm.require_approval_with_parameters()
Potential Solution
require_approval()
should only care if the function is approved or not.require_approval_with_parameters()
should support inserting parameters from the approvers.Additional Context
I want the usage to be similar with this from HumanLayer