Merge pull request #414 from codl/fix-typo

fix docstring typo
pull/419/head
Lorenz Diener 2025-07-29 11:16:25 +03:00 zatwierdzone przez GitHub
commit b4d46705e7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -80,7 +80,7 @@ class Mastodon(Internals):
@api_version("2.5.0", "2.5.0")
def stream_healthy(self) -> bool:
"""
Returns without True if streaming API is okay, False or raises an error otherwise.
Returns True if streaming API is okay, False or raises an error otherwise.
"""
api_okay = self.__api_request('GET', '/api/v1/streaming/health', base_url_override=self.__get_streaming_base(), parse=False)
if api_okay in [b'OK', b'success']: