Files
hatchet/examples/python/streaming/sync_stream.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

18 lines
267 B
Python

import time
from examples.streaming.worker import streaming_workflow
def main() -> None:
ref = streaming_workflow.run_no_wait()
time.sleep(1)
stream = ref.stream()
for chunk in stream:
print(chunk)
if __name__ == "__main__":
main()