Skip to content

file add_albums.py / Use album.artists.set(artists) instead of album.artists = artists #10

Description

@oussema-azzebi

Error in line 46 (before the last one) :
album.artists = artists

  • The error message in the python console :
    Direct assignment to the forward side of a many-to-many set is prohibited. Use artists.set()
    instead.

  • Replace with:
    album.artists.set(artists)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions