<#1646 pyflyte run supports pickle> Pull request o...
# flyte-github
a
#1646 pyflyte run supports pickle Pull request opened by pingsutw TL;DR This allows pyflyte run to accept pickle file.
Copy code
from typing import Dict, Any
from flytekit import task, workflow

@task
def test(config: Dict[str, Any]) -> None:
    print(config)


@workflow
def wf(config: Dict[str, Any]) -> None:
    test(config=config)
Copy code
pyflyte --config ~/.flyte/config-remote.yaml --verbose run --remote test.py wf --config '{"hello": "world"}'
Type ☑︎ Bug Fix ☐ Feature ☐ Plugin Are all requirements met? ☑︎ Code completed ☑︎ Smoke tested ☑︎ Unit tests added ☐ Code documentation added ☐ Any pending items have an associated Issue Complete description ^^^ Tracking Issue https://flyte-org.slack.com/archives/CP2HDHKE1/p1684272325647759 Follow-up issue NA flyteorg/flytekit Codecov: 71.01% (-0.21%) compared to faf02b1 29 other checks have passed 29/30 successful checks