Skip to content

photo.getSizes() returns string #130

@Matthijz98

Description

@Matthijz98

Hi maybe i am doing something wrong but why does photo.getSizes() returns a string?

def test(photoset_id)
        photoset = flickr_api.Photoset(id=photoset_id)
        walker = flickr_api.Walker(photoset.getPhotos)

        # Loop through the pages
        for api_photo in walker:
                for size in api_photo.getSizes():
                    print(type(size))  # <class 'str'>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions