File tree Expand file tree Collapse file tree
union-production/{{cookiecutter.project_name}}/src
union-simple/{{cookiecutter.project_name}} Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 )
1818def say_hello (name : str ) -> str :
19- return f"Hello, { name } !"
19+ return f"Hello register , { name } !"
Original file line number Diff line number Diff line change 11"""Hello World"""
22
33import union
4- from .. tasks .say_hello import say_hello
4+ from tasks .say_hello import say_hello
55
66@union .workflow
77def hello_world_wf (name : str = "world" ) -> str :
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments