You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: