radical.asyncflow.utils¶
get_next_uid ¶
get_next_uid()
Return the next unique component ID.
Source code in doc_env/lib/python3.14/site-packages/radical/asyncflow/utils.py
9 10 11 | |
get_event_loop_or_raise ¶
get_event_loop_or_raise(context_name: str = 'AsyncWorkflowEngine') -> AbstractEventLoop
Get the current running event loop or raise a helpful error.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
context_name | str | Name of the class/context for error messages | 'AsyncWorkflowEngine' |
Returns:
| Type | Description |
|---|---|
AbstractEventLoop | asyncio.AbstractEventLoop: The current running event loop |
Raises:
| Type | Description |
|---|---|
RuntimeError | If no event loop is running with helpful guidance |
Source code in doc_env/lib/python3.14/site-packages/radical/asyncflow/utils.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | |