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
│ └── generated/ # AUTO-GENERATED by ariadne-codegen — never edit manually
74
74
│ ├── __init__.py
@@ -324,6 +324,16 @@ async with httpx.AsyncClient() as http:
324
324
325
325
If no `http_client` is provided, the base client creates (and closes) a throwaway `httpx.AsyncClient` per request. This works but is inefficient for high-volume usage like library syncs.
326
326
327
+
### Audiobook ID Checking
328
+
329
+
The `check_audiobook_ids(album_ids)` method on `DeezerBaseClient` batch-checks whether album IDs are actually audiobooks. It builds a single aliased GraphQL query:
**Important**: Querying only `{ id }` is insufficient — the API echoes back the input ID for *any* valid album, regardless of whether it's an audiobook. The `displayTitle` field returns `null` (with `AudiobookNotFoundError`) for non-audiobooks, so the method checks `displayTitle is not None` to distinguish real audiobooks.
336
+
327
337
## Key Configuration
328
338
329
339
-**Python**: 3.12+ required (tested on 3.12, 3.13)
@@ -410,12 +420,13 @@ Use comments only to explain "why", not "what". Reserve inline comments for comp
0 commit comments