Skip to content

Commit

Permalink
update steps
Browse files Browse the repository at this point in the history
Signed-off-by: nikki everett <nikki@union.ai>
  • Loading branch information
nikki everett committed Dec 11, 2023
1 parent 1181312 commit 4a2e91a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions basic-example-imagespec/workflows/example.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""A simple Flyte example."""

import typing
from flytekit import task, workflow, ImageSpec
from flytekit import task, workflow

"""
ImageSpec is a way to specify a container image configuration without a
Expand All @@ -26,8 +26,9 @@
"""

# Uncomment the ImageSpec definition below and modify with your
# image definition requirements
# then set the container_image parameter on tasks that require the image
# image definition requirements,
# then set the container_image parameter on tasks that require the image.
# You will also need to import ImageSpec from flytekit.
"""
image_definition = ImageSpec(
name="flytekit", # rename this to your docker image name
Expand Down

0 comments on commit 4a2e91a

Please sign in to comment.