Files
hatchet/examples/python/fanout/test_fanout.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

11 lines
252 B
Python

import pytest
from examples.fanout.worker import ParentInput, parent_wf
@pytest.mark.asyncio(loop_scope="session")
async def test_run() -> None:
result = await parent_wf.aio_run(ParentInput(n=2))
assert len(result["spawn"]["results"]) == 2