<#2977 Failed to create a launch plan for FlyteWor...
# flytekit
c
#2977 Failed to create a launch plan for FlyteWorkflow Issue created by pingsutw ### Motivation: Why do you think this is important? For now, we can only create a launch plan for WorkflowBase, and we'll get the following error if we try to create LP for FlyteWorkflow (The workflow fetched by flyte remote)
Copy code
File "/Users/.../lib/python3.7/site-packages/flytekit/core/launch_plan.py", line 143, in create
    native_types=workflow.python_interface.inputs,
AttributeError: 'NoneType' object has no attribute 'inputs'
Code snippet: from flytekit import LaunchPlan flyte_workflow = remote.fetch_workflow( name="my_workflow", version="v1", project="flytesnacks", domain="development" ) launch_plan = LaunchPlan.get_or_create(name="my_launch_plan", workflow=flyte_workflow) ### Goal: What should the final outcome look like, ideally? Should be able to create a launch plan for FlyteWorkflow ### Describe alternatives you've considered NA ### Propose: Link/Inline OR Additional context https://flyte-org.slack.com/archives/CP2HDHKE1/p1665377001295529 ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte