Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

In method update_album 'ids' are optional in the API but compulsory here #102

@fernand0

Description

@fernand0

Well, I know this library is abandoned but just in case it is useful for somebody:

In file:
https://github.com/Imgur/imgurpython/blob/48abc45a143ee9d2485c22a63b7cd55701d8163c/imgurpython/client.py
In method: update_album you can find:

 if isinstance(post_data['ids'], list):
        post_data['ids'] = ','.join(post_data['ids'])

In the API ids[] is an optional parameter.

Workaround: add '{ids=None, ... } ` to your dictionary when calling this method. You just need it for this parameter, the others are not checked if not present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions