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
ifperson_idisNoneandusernameisNone:
raiseException("LemmyLib: Either person_id or username must be set")
response=self.call_api(LemmyApiMethod.GET, f'person', params={'person_id': person_id, 'username': username})
ifresponseisNone:
returnNone# TODO return a GetPersonResponseViewModeldefget_community(self, community_id: int|None=None, name: str|None=None):
self._logger.debug("LemmyLib get_community")
The text was updated successfully, but these errors were encountered:
https://github.com/LemmyWorld/lemmy-lib/blob/7b803d553329c65a7464f78f02c658e88a1ae310/lemmylib/lib.py#L247
The text was updated successfully, but these errors were encountered: