You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\Users\ericn\PycharmProjects\rssLemmyBot\main.py", line 106, in <module>
post(entries, lemmy, con)
File "C:\Users\ericn\PycharmProjects\rssLemmyBot\main.py", line 35, in post
response = GetCommunityResponse(api_response)
File "C:\Users\ericn\PycharmProjects\rssLemmyBot\venv\lib\site-packages\plemmy\responses.py", line 175, in __init__
self.community_view = CommunityView(response["community_view"])
File "C:\Users\ericn\PycharmProjects\rssLemmyBot\venv\lib\site-packages\plemmy\views.py", line 18, in __init__
self.parse()
File "C:\Users\ericn\PycharmProjects\rssLemmyBot\venv\lib\site-packages\plemmy\views.py", line 167, in parse
self.community = Community(**self._view["community"])
TypeError: Community.__init__() got an unexpected keyword argument 'visibility'
Process finished with exit code 1
It looks like new fields were added to the lemmy API. Not sure if this extends beyond just the community call, its the first one i ran into.
The text was updated successfully, but these errors were encountered:
Running a small bot with this library, and the most recent update to 19.5 broke the GetCommunityResponse call
fails with:
It looks like new fields were added to the lemmy API. Not sure if this extends beyond just the community call, its the first one i ran into.
The text was updated successfully, but these errors were encountered: