def __init__(self, observation_start, observation_end, real_time_start, real_time_end, api_key, series): self._url_template = "{url}/{endpoint}?api_key={api_key}" self._observation_start = observation_start self._observation_end = observation_end self._real_time_start = real_time_start self._real_time_end = real_time_end self.api_key = api_key self.series = series Database.__init__(self)
def __init__(self): path = get_db_path() Database.__init__(self, path)