Pipe utils
read_from_pipe(input_pipe)
¶
Reads data from the input pipe.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
input_pipe |
str
|
The path to the input pipe. |
required |
Returns:
Type | Description |
---|---|
Optional[Union[dict, list]]
|
Optional[Union[dict, list]]: The data read from the input pipe, or None if there was an error. |
Source code in lib/python/src/aria/ops/pipe_utils.py
write_to_pipe(output_pipe, result)
¶
Writes data to the output pipe.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
output_pipe |
str
|
The path to the output pipe. |
required |
result |
Optional[Union[dict, list]]
|
The data to write to the output pipe. |
required |