Update 02_return_values.rst

minor doc typo fix
pull/419/head
Lorenz Diener 2025-08-19 10:03:33 +03:00 zatwierdzone przez GitHub
rodzic 4c8875a5c5
commit 3b6291d3a5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -28,7 +28,7 @@ and everything will work as intended. The class used for this is exposed as
Since version 2.0.0, Mastodon.py is fully typed - there are now classes for all
return types, and all functions have type hints. Note that the base class is still
the AttribAccessDict - this means that you can still access all returned values as
attributes, `even if a type does not define them.`. Lists have been split into lists
attributes, `even if a type does not define them`. Lists have been split into lists
that can be paginated (i.e. that have pagination attributes) and those that cannot.
All return values can be converted from and to JSON using the `to_json()` and `from_json()`
@ -412,3 +412,4 @@ Deprecated types
.. autoclass:: mastodon.return_types.IdentityProof
:members: