watson.data_validation_report.DvrPreparer.DvrUrlBuilder
- class watson.data_validation_report.DvrPreparer.DvrUrlBuilder
Bases:
ABC
Base class to prepare the DVR url for a given mission id
- __init__()
Methods
__init__
()prepare
(id, sectors, download_dir)Prepares the DVR url for a given mission id :param int id: the id of the target in the given mission :param List[int] sectors: the sectors/quarters/campaigns of the DVR :param str download_dir: the directory to store the resulting files :return List[str]: The DVR paths
- abstract prepare(id: int, sectors: List[int], download_dir: str) str
Prepares the DVR url for a given mission id :param int id: the id of the target in the given mission :param List[int] sectors: the sectors/quarters/campaigns of the DVR :param str download_dir: the directory to store the resulting files :return List[str]: The DVR paths