[Core feature] add more intuitive methods to FlyteRemote
class for gate nodes
#3459
Open
2 tasks done
Labels
enhancement
New feature or request
flytekit
FlyteKit Python related issue
flyteremote
good first issue
Good for newcomers
UX
Issues that require UX-Design
Milestone
Motivation: Why do you think this is important?
The purpose of this issue is to make it more intuitive to use
FlyteRemote
for providing input values forwait_for_input
andapprove
gate nodes.Goal: What should the final outcome look like, ideally?
Proposal
Add three new methods:
FlyteRemote.approve(<signal_id>, <execution_name>, project=None, domain=None)
: sets this approve gate node to TrueFlyteRemote.reject(<signal_id>, <execution_name>, project=None, domain=None)
: sets this approve gate node to FalseFlyteRemote.set_input(<signal_id>, <execution_name>, <value>, project=None, domain=None, python_type=None, literal_type=None)
: sets the input of await_for_input
gate node to<value>
Describe alternatives you've considered
Continue with the currently
FlyteRemote.set_signal
implementation.Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: