You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context
def _get_data_service_response(self, service: str, api_params: Dict) -> requests.Response:
"""
Args:
service: string, e.g. 'getbatchstatus'
api_params: dict
"""
self._check_api_params()
if self.data_service_url is None:
raise ValueError("data_service_url must be set to use the data service!")
Hi,
Initially I edited a copy of the pvoutput.py module as a workaround.
But since then I have developed a pvoutput downloader lite.
I could dredge up my workaround if you are interested.
best
Julian
--
Julian Briggs
Research Software Developer
Sheffield Solar
Physics & Astronomy
University of Sheffield
In line with government advice, I am currently working remotely.
My preferred method of contact is email.
My normal working hours are 9:30-5 Mon-Thu
Describe the bug
_get_data_service_response incorrectly sets
api_url api_url = urljoin(self.data_service_url, "service/r2/{}.jsp".format(service))
should b
api_url api_url = urljoin(self.data_service_url, "data/r2/{}.jsp".format(service))
To Reproduce
Steps to reproduce the behavior:
Expected behavior
expect connectionpool _make_request 456 DEBUG https://pvoutput.org:443 "GET /data/r2/getstatus.jsp?
Additional context
def _get_data_service_response(self, service: str, api_params: Dict) -> requests.Response:
"""
Args:
service: string, e.g. 'getbatchstatus'
api_params: dict
"""
self._check_api_params()
if self.data_service_url is None:
raise ValueError("data_service_url must be set to use the data service!")
The text was updated successfully, but these errors were encountered: