Ошибка в слове verificate

This commit is contained in:
Rationess
2026-02-03 20:41:34 +03:00
parent c9a5dcad10
commit af0b2a1acc

View File

@@ -281,9 +281,24 @@ class Client:
return [UserFollower.model_validate(user) for user in res.json()['data']['users']], Pagination.model_validate(res.json()['data']['pagination']) return [UserFollower.model_validate(user) for user in res.json()['data']['users']], Pagination.model_validate(res.json()['data']['pagination'])
@deprecated("verificate устарел используйте verify")
@refresh_on_error @refresh_on_error
def verificate(self, file_url: str) -> Verification: def verificate(self, file_url: str) -> Verification:
"""Отправить запрос на верификацию
Args:
file_url (str): Ссылка на видео
Raises:
PendingRequestExists: Запрос уже отправлен
Returns:
Verification: Верификация
"""
return self.verify(file_url)
@refresh_on_error
def verify(self, file_url: str) -> Verification:
"""Отправить запрос на верификацию """Отправить запрос на верификацию
Args: Args:
@@ -314,7 +329,6 @@ class Client:
return VerificationStatus.model_validate(res.json()) return VerificationStatus.model_validate(res.json())
@refresh_on_error @refresh_on_error
def get_who_to_follow(self) -> list[UserWhoToFollow]: def get_who_to_follow(self) -> list[UserWhoToFollow]:
"""Получить список популярнык пользователей (кого читать) """Получить список популярнык пользователей (кого читать)