python-weather 2.2.0__py3-none-any.whl → 2.2.1__py3-none-any.whl

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.
python_weather/client.py CHANGED
@@ -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
python_weather/version.py CHANGED
@@ -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
@@ -1,13 +1,13 @@
1
1
  python_weather/__init__.py,sha256=2Slw4Eyvlg9kGcXsaklJwigp6dIKEgmlsM1VH__qNaw,744
2
2
  python_weather/base.py,sha256=R00IbSM_4LlFgM7W3DdVQfRYo5v0KzhkGb_tThkNHZg,2281
3
- python_weather/client.py,sha256=gKr-WLqE0Qu7k5MGFAIRd7Jf_sTIg3VAP1HJclqqCEA,6163
3
+ python_weather/client.py,sha256=L7AkVmJIrsf1f501MGTuL1pcP0uP2wS6tHOSPEmfQZs,6133
4
4
  python_weather/constants.py,sha256=Vz1I6x10bb-xYCegzC2rdCdp9hnLG6Opt4SIN7jfkqI,1378
5
5
  python_weather/enums.py,sha256=HQNcVjCjD_bLibnJOESoqPd33HUgeKJ5pSgcLhuwE-E,8336
6
6
  python_weather/errors.py,sha256=TbS-HlbFsINA289WcUlwoSWoUlt6teTCpvjU7C3HUTo,817
7
7
  python_weather/forecast.py,sha256=badR3x_ygegWo5J9xK0CN3YtDgnUF0SaqQ7OnV5U_vg,8441
8
- python_weather/version.py,sha256=HWdKs_cFOj9_sXL55M19PytV60N3YaJRKkOEHJ-DAig,95
9
- python_weather-2.2.0.dist-info/licenses/LICENSE,sha256=SDMQ_fK2dwWVC-3qqONf6VVMnBe-GtBtlfYZIN2SBXw,1080
10
- python_weather-2.2.0.dist-info/METADATA,sha256=cBd1eCwp2augwktiFuM759c17KL1iVITvymnm2hOpyA,3978
11
- python_weather-2.2.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
12
- python_weather-2.2.0.dist-info/top_level.txt,sha256=NDqLSO3dHB1tjjiNJfEg-a9_eoOmawAZynZsy9Yu48w,15
13
- python_weather-2.2.0.dist-info/RECORD,,
8
+ python_weather/version.py,sha256=2VgdXXjmfVslCFzfrOXLvyiGNJC9J2R4dcZgVopZKtY,95
9
+ python_weather-2.2.1.dist-info/licenses/LICENSE,sha256=SDMQ_fK2dwWVC-3qqONf6VVMnBe-GtBtlfYZIN2SBXw,1080
10
+ python_weather-2.2.1.dist-info/METADATA,sha256=kGUShia4zlO5NGKRewLfsBM0IjMzf5WIjMatduX2ARw,3978
11
+ python_weather-2.2.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
12
+ python_weather-2.2.1.dist-info/top_level.txt,sha256=NDqLSO3dHB1tjjiNJfEg-a9_eoOmawAZynZsy9Yu48w,15
13
+ python_weather-2.2.1.dist-info/RECORD,,