Skip to content

Commit cf94228

Browse files
committed
clean up
1 parent 8e0cddb commit cf94228

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

union-production/{{cookiecutter.project_name}}/src/tasks/say_hello.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
# The name of the image. This image will be used by the say_hello task
1111
name="say-hello-image",
1212

13-
# List of packages to install on the image
14-
packages=["union"],
13+
# Lock file with dependencies to install in image
14+
requirements="uv.lock"
1515
)
1616

1717
@union.task(container_image=image_spec)
1818
def say_hello(name: str) -> str:
19-
return f"Hello, {name}!"
19+
return f"Hello register, {name}!"

union-production/{{cookiecutter.project_name}}/src/workflows/hello_world.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Hello World"""
22

33
import union
4-
from ..tasks.say_hello import say_hello
4+
from tasks.say_hello import say_hello
55

66
@union.workflow
77
def hello_world_wf(name: str = "world") -> str:

union-simple/{{cookiecutter.project_name}}/src/hello_world.py renamed to union-simple/{{cookiecutter.project_name}}/hello_world.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# The name of the image. This image will be used byt he say_hello task
1111
name="say-hello-image",
1212

13-
# Lock file to use to determine dependencies to install in image
13+
# Lock file with dependencies to install in image
1414
requirements="uv.lock",
1515
)
1616

union-simple/{{cookiecutter.project_name}}/src/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)