File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " ozonapi-async"
7- version = " 0.15.0 "
7+ version = " 0.15.1 "
88description = " Асинхронный pydantic-интерфейс для Ozon Seller API c ограничением запросов и docstrings"
99readme = " readme.md"
1010keywords = [
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ async def get_product_info_limit():
3737from .seller import SellerAPI , SellerAPIConfig
3838
3939
40- __version__ = "0.15.0 "
40+ __version__ = "0.15.1 "
4141__author__ = "Alexander Ulianov"
4242__email__ = "a.v.ulianov@mail.ru"
4343__repository__ = "https://github.com/a-ulianov/OzonAPI"
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def __init__(
7070 self ._api_key = api_key or self ._config .api_key
7171 self ._token = token or self ._config .token
7272
73- if (self ._token is None and (self ._api_key is None or self ._api_key is None )):
73+ if (self ._token is None and (self ._api_key is None or self ._client_id is None )):
7474 raise ValueError (
7575 "Не предоставлены авторизационные данные. Проверьте указание token или client_id и api_key."
7676 )
You can’t perform that action at this time.
0 commit comments