Skip to content

Commit

Permalink
Исправлен get_page
Browse files Browse the repository at this point in the history
Изменен атрибут type_ на type
  • Loading branch information
nyashkin authored Jan 28, 2024
1 parent 3593ec6 commit 9e15c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yandex_music/search/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def get_page(self, page: int, *args, **kwargs) -> Optional['Search']:
Returns:
:obj:`yandex_music.Search` | :obj:`None`: Страница результата поиска или :obj:`None`.
"""
return self.client.search(self.text, self.nocorrect, self.type_, page, *args, **kwargs)
return self.client.search(self.text, self.nocorrect, self.type, page, *args, **kwargs)

async def get_page_async(self, page: int, *args, **kwargs) -> Optional['Search']:
"""Получение определённой страницы поиска.
Expand Down

0 comments on commit 9e15c01

Please sign in to comment.