From 9e15c01b00a7ea816368749e7162575d5e7b442c Mon Sep 17 00:00:00 2001 From: GREQUE273 <34404990+GREQUE273@users.noreply.github.com> Date: Mon, 29 Jan 2024 00:21:35 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20get=5Fpage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Изменен атрибут type_ на type --- yandex_music/search/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yandex_music/search/search.py b/yandex_music/search/search.py index 041c13d..628fc97 100644 --- a/yandex_music/search/search.py +++ b/yandex_music/search/search.py @@ -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']: """Получение определённой страницы поиска.