cuddly-jelly-27016
05/14/2025, 12:13 AMFile "/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/flytecuddly-jelly-27016
05/14/2025, 12:13 AM