1
submitted 1 year ago* (last edited 1 year ago) by HorseFD@lemmy.buzz to c/pythorhead@lemmy.dbzer0.com

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
this post was submitted on 04 Jul 2023
1 points (100.0% liked)

Pythörhead

116 readers
4 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