<#6311 [BUG] pyflyte run remote-task doesn't suppo...
# flytekit
c
#6311 [BUG] pyflyte run remote-task doesn't support boolean False parameters Issue created by cventus ### Describe the bug When a Task (or, Workflow, or Launch Plan) has a boolean input that's set to false you get an error from
pyflyte run remote-task
(and
remote-workflow
and
remote-launchplan
): $ pyflyte run remote-task example.example_task --no-flag TypeTransformerFailedError: Python value cannot be None, expected <class 'bool'>/Flyte Serialized object (LiteralType): simple: 4 I'm using flytekit 1.15.0 ### Expected behavior It should be possible to set boolean parameters to False using
pyflyte run remote-task
. It should work the same as
pyflyte run --remote
. ### Additional context to reproduce example.py from flytekit import task @task() def example_task(flag: bool) -> bool: return flag Works pyflyte run --remote example.py example_task --flag pyflyte run --remote example.py example_task --no-flag pyflyte run remote-task example.example_task --flag Fails pyflyte run remote-task example.example_task --no-flag ### Screenshots No response ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte