-
Notifications
You must be signed in to change notification settings - Fork 337
Uploads response models #987
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededv2-modelspydantic response models effort (#307)pydantic response models effort (#307)
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededv2-modelspydantic response models effort (#307)pydantic response models effort (#307)
Part of #307. Base branch:
ytmusicapi-2. Read the contributor guide from #982 before starting.Good first issue — three methods, one parser file, no dependency on the trickier core models.
Scope
get_library_upload_songsget_library_upload_artistget_library_upload_albumModels go in a new module alongside the others; parsing lives in
ytmusicapi/parsers/uploads.py.Watch out for
Uploaded items are similar to but not the same as regular songs — they carry an
entityIdand lack several fields that YTM-hosted songs have. Reuse the song model from #983 only where the shape genuinely matches, otherwise define upload-specific models.upload_songanddelete_upload_entityreturn raw responses and are out of scope here (see #995).Definition of done
mypy --strictclean.