def METHOD_NAME(cls, conditions: Union[str, List[str]]) -> Union[Filter, List[Filter]]:
    """Creates filter(s) from the given condition(s).
    Args:
        conditions (Union[str, List[str]]): filter condition(s)
    Returns:
        filter(s)
    Raises:
        DHError
    """
    conditions = to_sequence(conditions)
    try:
        filters = [
            cls(j_filter=j_filter)
            for j_filter in getattr(_JFilter, "from")(conditions).toArray()
        ]
        return filters if len(filters) != 1 else filters[0]
    except Exception as e:
        raise DHError(e, "failed to create filters.") from e