python-esios 0.2.3__tar.gz → 0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-esios
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: A Python wrapper for the ESIOS API
5
5
  Home-page: https://github.com/datons/python-esios
6
6
  Author: Jesús López
@@ -45,6 +45,7 @@ class Archive:
45
45
  raise ValueError("Either 'date', or 'start' and 'end' dates must be provided")
46
46
 
47
47
  endpoint = f"archives/{self.id}"
48
+
48
49
  response = self.client._get(endpoint, self.client.public_headers, params=params)
49
50
 
50
51
  self.metadata = response
@@ -71,7 +72,7 @@ class Archive:
71
72
  The path to the extracted file.
72
73
  """
73
74
 
74
- response = requests.get(self.url_download, headers=self.client.public_headers)
75
+ response = requests.get(self.url_download)
75
76
  response.raise_for_status()
76
77
 
77
78
  zip_file = BytesIO(response.content)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-esios
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: A Python wrapper for the ESIOS API
5
5
  Home-page: https://github.com/datons/python-esios
6
6
  Author: Jesús López
@@ -7,7 +7,7 @@ long_description = (this_directory / "README.md").read_text(encoding='utf-8')
7
7
 
8
8
  setup(
9
9
  name='python-esios',
10
- version='0.2.3',
10
+ version='0.2.4',
11
11
  packages=find_packages(),
12
12
  install_requires=[
13
13
  'requests',
File without changes
File without changes
File without changes