from typing import List
from typing import Any
from pathlib import Path


def get_specific_robot_files_by_paths(reldirpaths: List[str]) -> List[Any]:
    """Returns list of Paths of all .robot files in provided list of relative paths.
    
    Arguments:
        reldirpaths {List[str]} -- list of relative paths to .robot files
    
    Returns:
        List[Any] -- Paths to .robot files
    """
    output: List[Any] = []
    for path in reldirpaths:
        # pylint: disable=expression-not-assigned
        [output.append(path_) for path_ in list(Path(path).rglob("*.robot"))]  # type: ignore
    return output