def METHOD_NAME(filter_={}, *, session: "Session"):
    """
    Get distances between all the RSEs.
    :param filter_: dictionary to filter distances.
    :param session: The database session in use.
    """
    return [distance.to_dict() for distance in session.query(Distance).all()]