deezer-python 7.3.0__py3-none-any.whl → 7.4.0__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.
- deezer/__init__.py +1 -1
- deezer/_mixin.py +3 -2
- {deezer_python-7.3.0.dist-info → deezer_python-7.4.0.dist-info}/METADATA +4 -3
- {deezer_python-7.3.0.dist-info → deezer_python-7.4.0.dist-info}/RECORD +7 -7
- {deezer_python-7.3.0.dist-info → deezer_python-7.4.0.dist-info}/WHEEL +1 -1
- {deezer_python-7.3.0.dist-info → deezer_python-7.4.0.dist-info}/licenses/LICENSE.txt +0 -0
- {deezer_python-7.3.0.dist-info → deezer_python-7.4.0.dist-info}/top_level.txt +0 -0
deezer/__init__.py
CHANGED
deezer/_mixin.py
CHANGED
|
@@ -75,8 +75,9 @@ class DeezerMixin:
|
|
|
75
75
|
if "id" not in result and resource_id is not None:
|
|
76
76
|
result["id"] = resource_id
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
resource_type_name = result.get("type")
|
|
79
|
+
if isinstance(resource_type_name, str) and resource_type_name in self.objects_types:
|
|
80
|
+
object_class = self.objects_types[resource_type_name]
|
|
80
81
|
elif "type" in result or (not resource_type and "id" in result):
|
|
81
82
|
object_class = self._resource_base_class
|
|
82
83
|
elif resource_type:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deezer-python
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.4.0
|
|
4
4
|
Summary: A friendly wrapper library for the Deezer API
|
|
5
5
|
Author-email: Bruno Alla <alla.brunoo@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -21,6 +21,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.13
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
24
25
|
Classifier: Topic :: Software Development :: Libraries
|
|
25
26
|
Requires-Python: >=3.10
|
|
26
27
|
Description-Content-Type: text/markdown
|
|
@@ -48,8 +49,8 @@ Dynamic: license-file
|
|
|
48
49
|
<a href="https://github.com/astral-sh/ruff">
|
|
49
50
|
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
|
|
50
51
|
</a>
|
|
51
|
-
<a href="https://github.com/
|
|
52
|
-
<img src="https://img.shields.io/
|
|
52
|
+
<a href="https://github.com/j178/prek">
|
|
53
|
+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json" alt="prek">
|
|
53
54
|
</a>
|
|
54
55
|
</p>
|
|
55
56
|
<p align="center">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
deezer/__init__.py,sha256=
|
|
2
|
-
deezer/_mixin.py,sha256
|
|
1
|
+
deezer/__init__.py,sha256=tkR6gRLB6tAUx-r2lX2nOcN7LAw3zxqP62wzP-ht7zA,556
|
|
2
|
+
deezer/_mixin.py,sha256=-dPTsPxEFZIJ6Copyi5BKW6LyE6A2jirKzJxZs7v58I,2897
|
|
3
3
|
deezer/auth.py,sha256=dtOC3_0tjtCPP8_5nFpsqDYDIsxfMlNW_0A2itQ9p5s,701
|
|
4
4
|
deezer/client.py,sha256=SDKEeMG4NvzKOOxI5jtO7GueibmYCdhDXnUjOkS6w-8,22343
|
|
5
5
|
deezer/dates.py,sha256=raTeUAAOkajl0TTzM2cupzieTY0amzTeZCaaT3gp_iU,648
|
|
@@ -35,8 +35,8 @@ deezer/resources/radio.py,sha256=moOdlSJABqCcluInvgbHSwIzSIhDvBQaVyDGdgeVr_0,805
|
|
|
35
35
|
deezer/resources/resource.py,sha256=4ma_lH6S0ZljBQ24MNdOxotGJFL3rGThLSnea-RSweg,5259
|
|
36
36
|
deezer/resources/track.py,sha256=e3DPTsYWq5yNCjMRQhGTrFQHfQUe3xn0mEVYbpL3O_0,1546
|
|
37
37
|
deezer/resources/user.py,sha256=kCgMUEbKt1QJzzBEpYxPNM3IbojMlm1fYYTSgqa4Sug,6899
|
|
38
|
-
deezer_python-7.
|
|
39
|
-
deezer_python-7.
|
|
40
|
-
deezer_python-7.
|
|
41
|
-
deezer_python-7.
|
|
42
|
-
deezer_python-7.
|
|
38
|
+
deezer_python-7.4.0.dist-info/licenses/LICENSE.txt,sha256=lGqKEubFaPBoiJVRoHOxg1LYlte1e5kLoq6zWUSRQzQ,1054
|
|
39
|
+
deezer_python-7.4.0.dist-info/METADATA,sha256=8C3mMEOyzf83i5u5HW7oYnyL9QuHVW_pRlg-py1I8rs,14094
|
|
40
|
+
deezer_python-7.4.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
41
|
+
deezer_python-7.4.0.dist-info/top_level.txt,sha256=yEWpBI2w2sX3SpyAi-ZGzg-lpP8apYE6uEgvnnb7S44,7
|
|
42
|
+
deezer_python-7.4.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|