πŸ“„ To List By Hyphen SpaceΒΆ

Note

ID: processors.to_list_by_hyphen_space | Type: SequentialOperator

{
    "__type__": "sequential_operator",
    "steps": [
        {
            "__type__": "post_process",
            "operator": {
                "__type__": "regex_split",
                "by": "(?:^|\n)- "
            }
        },
        {
            "__type__": "post_process",
            "operator": {
                "__type__": "remove_values",
                "unallowed_values": [
                    "",
                    " "
                ]
            }
        }
    ]
}

Explanation about SequentialOperatorΒΆ

A class representing a sequential operator in the streaming system.

A sequential operator is a type of MultiStreamOperator that applies a sequence of other operators to a MultiStream. It maintains a list of StreamingOperator`s and applies them in order to the `MultiStream.

Explanation about RemoveValuesΒΆ

Removes elements in a field, which must be a list, using a given list of unallowed.

Args:

unallowed_values (list) - values to be removed.

Read more about catalog usage here.