<#3266 support FlyteRemote.execute with no inputs>...
# flyte-github
c
#3266 support FlyteRemote.execute with no inputs Pull request opened by cosmicBboy ## Why are the changes needed? If I have tasks/workflows that don't take any input, I should be able to run them on
FlyteRemote
without specifying an
inputs
arg: FlyteRemote.execute(my_task_with_no_inputs) # currently users have to pass in an empty dict FlyteRemote.execute(my_task_with_no_inputs, inputs={}) ## What changes were proposed in this pull request? Changes the signatures of the
FlyteRemote
execute methods so that
inputs
is an optional argument that defaults to None. ## How was this patch tested? Unit tests were added. ### Setup process ### Screenshots ## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ## Related PRs ## Docs link https://bito.ai#summarystart| ### Summary by Bito This pull request enhances the FlyteRemote class by making the 'inputs' argument optional in its execute methods, allowing users to run tasks and workflows without passing an empty dictionary. Unit tests have been added to verify the new functionality. flyteorg/flytekit