<#5086 [BUG] pyflyte run limit not set properly> ...
# flytekit
a
#5086 [BUG] pyflyte run limit not set properly Issue created by novahow Describe the bug When executing pyflyte run remote-task, it shows an option
--limit
, which is in https://github.com/flyteorg/flytekit/blob/3642ec6771985f504c2b6a9dfd2598a84219ac58/flytekit/clis/sdk_in_container/run.py#L666. However, this option seems unused and can't control the number of tasks to retrieve. Instead, the option that controls the number lies in https://github.com/flyteorg/flytekit/blob/3642ec6771985f504c2b6a9dfd2598a84219ac58/flytekit/clis/sdk_in_container/run.py#L239, which is set as hidden. Expected behavior
pyflyte run --limit {number} {remote-task} {taskname}
Additional context to reproduce No response Screenshots image image Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte