docs(docs): in-code fixes for documentation

This commit is contained in:
Scott Lyons 2024-09-05 13:43:08 -07:00
commit 3611849c00
11 changed files with 1523 additions and 193 deletions

View file

@ -1,4 +1,4 @@
from .szurubooru_client import *
__doc__ = szurubooru_client.__doc__
__all__ = ["SzurubooruSyncClient", "SzurubooruAsyncClient", "SzuruPyClientError"]
__all__ = ["SzurubooruSyncClient", "SzurubooruAsyncClient", "SzuruClientError", "PagedResult"]

View file

@ -29,6 +29,6 @@ UserAvatarStyle = _models.UserAvatarStyle
UserRank = _models.UserRank
UserResource = _models.UserResource
__doc__ = szurubooru_client.models.__doc__
if hasattr(szurubooru_client.models, "__all__"):
__all__ = szurubooru_client.models.__all__
__doc__ = _models.__doc__
#if hasattr(_models, "__all__"):
# __all__ = getattr(_models, "__all__")

View file

@ -19,5 +19,5 @@ UserNamedToken = _tokens.UserNamedToken
UserSortToken = _tokens.UserSortToken
__doc__ = _tokens.__doc__
if hasattr(_tokens, "__all__"):
__all__ = getattr(_tokens, "__all__")
#if hasattr(_tokens, "__all__"):
# __all__ = getattr(_tokens, "__all__")