def list_dataset_replicas_vp(scope, name, deep=False): """ :param scope: The scope of the dataset. :param name: The name of the dataset. :param deep: Lookup at the file level. :returns: If VP exists a list of dicts of sites, otherwise a list of dicts of dataset replicas NOTICE: This is an RnD function and might change or go away at any time. """ return replica.list_dataset_replicas_vp(scope=scope, name=name, deep=deep)
def list_dataset_replicas_vp(scope, name, deep=False, vo='def'): """ :param scope: The scope of the dataset. :param name: The name of the dataset. :param deep: Lookup at the file level. :param vo: The vo to act on. :returns: If VP exists a list of dicts of sites, otherwise nothing NOTICE: This is an RnD function and might change or go away at any time. """ scope = InternalScope(scope, vo=vo) for r in replica.list_dataset_replicas_vp(scope=scope, name=name, deep=deep): yield api_update_return_dict(r)