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
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.
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
(andremote-workflow
andremote-launchplan
):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 aspyflyte run --remote
.Additional context to reproduce
example.py
Works
Fails
Screenshots
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: