Files
hatchet/examples/python/quickstart/run.py
Gabe Ruttner 8e80faf2d6 Fe overhaul docs (#1640)
* api changes

* doc changes

* move docs

* generated

* generate

* pkg

* backmerge main

* revert to main

* revert main

* race?

* remove go tests
2025-04-30 14:10:09 -07:00

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())