Skip to content

Commit

Permalink
rename simple example
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 8, 2023
1 parent 887f6e9 commit 6926df4
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 3 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
"""A simple Flyte example."""
"""A basic Flyte example."""

import typing
from flytekit import task, workflow


@task
def say_hello(name: str) -> str:
"""A simple Flyte task to say "hello".
"""A Flyte task to say "hello".
The @task decorator allows Flyte to use this function as a Flyte task, which
is executed as an isolated, containerized unit of compute.
Expand Down
2 changes: 1 addition & 1 deletion templates.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{"template_name": "mnist-training", "workflow_name": "mnist_workflow_cpu"},
{"template_name": "mnist-training", "workflow_name": "mnist_workflow_gpu"},
{"template_name": "simple-example", "workflow_name": "wf"},
{"template_name": "basic-example-dockerfile", "workflow_name": "wf"},
{"template_name": "wine-classification", "workflow_name": "training_workflow"},
{"template_name": "basic-example-imagespec", "workflow_name": "wf"}
]

0 comments on commit 6926df4

Please sign in to comment.