<#6404 [BUG] Cannot specific version from pyflyte ...
# flyte-github
a
#6404 [BUG] Cannot specific version from pyflyte run remote-workflow Issue created by CtfChan Describe the bug Documentation for remote-launchplan saids that we can invoke a version using : of a workflow. https://flyte--6382.org.readthedocs.build/en/6382/api/flytekit/pyflyte.html#pyflyte-run-remote-launchplan I was expecting this command to work
Copy code
pyflyte run \
  remote-workflow \
  workflow_name:workflow_version  \
  --input1 some_input
I go the following error
Copy code
FlyteEntityNotExistException: USER:EntityNotExist: error=Named entity Flyte Serialized object (NamedEntityIdentifier):
  project: flytesnacks
  domain: development
  name: workflow_name:workflow_version not found
Looking at the code we don't seem to be passing the version into the
.execute
function https://github.com/flyteorg/flytekit/blob/e28b0d810dac72ce47625e55ffee9c17aa6913a1/flytekit/remote/remote.py#L2052-L2067 Expected behavior We should be able to pass in version into pyflyte run remote-workflow Additional context to reproduce No response Screenshots No response Are you sure this issue hasn't been raised already? • Yes Have you read the Code of Conduct? • Yes flyteorg/flyte