this post was submitted on 04 Jul 2023
1 points (100.0% liked)

Pythörhead

117 readers
2 users here now

A community to post announcements, updates, integrations and even memes about the first & best Lemmy Python Library

founded 1 year ago
MODERATORS
 

Hi, I'm looking for a bit of help getting a list of communities the authenticated user is subscribed to.

I'm getting the list like this:

communities = lemmy.community.list(type_=ListingType.Subscribed)

However despite specifying the _type as ListingType.Subscribed, I'm still getting back a list that includes items with the value:

'subscribed': 'NotSubscribed'

It's very possible that I'm interpreting how this works wrong, so if someone has any tips for doing this I'd be very appreciate.

Thanks!

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here