mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2025-12-30 21:29:44 -06:00
* api changes * doc changes * move docs * generated * generate * pkg * backmerge main * revert to main * revert main * race? * remove go tests
17 lines
379 B
Python
17 lines
379 B
Python
import asyncio
|
|
|
|
from .workflows.first_task import SimpleInput, first_task
|
|
|
|
|
|
async def main() -> None:
|
|
result = await first_task.aio_run(SimpleInput(message="Hello World!"))
|
|
|
|
print(
|
|
"Finished running task, and got the transformed message! The transformed message is:",
|
|
result.transformed_message,
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
asyncio.run(main())
|