python-weather 2.2.0__tar.gz → 2.2.1__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.
Files changed (19) hide show
  1. {python_weather-2.2.0/python_weather.egg-info → python_weather-2.2.1}/PKG-INFO +1 -1
  2. {python_weather-2.2.0 → python_weather-2.2.1}/pyproject.toml +1 -1
  3. {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/client.py +1 -3
  4. {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/version.py +1 -1
  5. {python_weather-2.2.0 → python_weather-2.2.1/python_weather.egg-info}/PKG-INFO +1 -1
  6. {python_weather-2.2.0 → python_weather-2.2.1}/LICENSE +0 -0
  7. {python_weather-2.2.0 → python_weather-2.2.1}/MANIFEST.in +0 -0
  8. {python_weather-2.2.0 → python_weather-2.2.1}/README.md +0 -0
  9. {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/__init__.py +0 -0
  10. {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/base.py +0 -0
  11. {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/constants.py +0 -0
  12. {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/enums.py +0 -0
  13. {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/errors.py +0 -0
  14. {python_weather-2.2.0 → python_weather-2.2.1}/python_weather/forecast.py +0 -0
  15. {python_weather-2.2.0 → python_weather-2.2.1}/python_weather.egg-info/SOURCES.txt +0 -0
  16. {python_weather-2.2.0 → python_weather-2.2.1}/python_weather.egg-info/dependency_links.txt +0 -0
  17. {python_weather-2.2.0 → python_weather-2.2.1}/python_weather.egg-info/requires.txt +0 -0
  18. {python_weather-2.2.0 → python_weather-2.2.1}/python_weather.egg-info/top_level.txt +0 -0
  19. {python_weather-2.2.0 → python_weather-2.2.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-weather
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: A free and asynchronous weather API wrapper made in Python, for Python.
5
5
  Author: null8626
6
6
  License-Expression: MIT
@@ -3,7 +3,7 @@ requires = ["setuptools"]
3
3
 
4
4
  [project]
5
5
  name = "python-weather"
6
- version = "2.2.0"
6
+ version = "2.2.1"
7
7
  description = "A free and asynchronous weather API wrapper made in Python, for Python."
8
8
  readme = "README.md"
9
9
  license = "MIT"
@@ -182,9 +182,7 @@ class Client:
182
182
 
183
183
  resp.raise_for_status()
184
184
 
185
- return Forecast(
186
- await resp.json(content_type='application/text'), unit, locale
187
- )
185
+ return Forecast(await resp.json(content_type='text/plain'), unit, locale)
188
186
  except ClientResponseError:
189
187
  if attempts == self._max_retries:
190
188
  raise RequestError(status, reason) from None
@@ -1,4 +1,4 @@
1
1
  # SPDX-License-Identifier: MIT
2
2
  # SPDX-FileCopyrightText: 2021-2026 null8626
3
3
 
4
- VERSION = '2.2.0'
4
+ VERSION = '2.2.1'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-weather
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: A free and asynchronous weather API wrapper made in Python, for Python.
5
5
  Author: null8626
6
6
  License-Expression: MIT
File without changes
File without changes
File without changes