diff --git a/pyproject.toml b/pyproject.toml index 6d400b93..c152f6de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "shikithon" -version = "0.1.0" +version = "0.1.1" description = "Yet another Python wrapper for Shikimori API" authors = [ "SecondThundeR " diff --git a/shikithon/__init__.py b/shikithon/__init__.py index 7893fb6d..d508a79d 100644 --- a/shikithon/__init__.py +++ b/shikithon/__init__.py @@ -1,5 +1,5 @@ """Contains package version and some magic for importing API object.""" from shikithon.api import API -__version__ = '0.1.0' +__version__ = '0.1.1' __all__ = ['API'] diff --git a/shikithon/api.py b/shikithon/api.py index fb1bf38d..4f9d72f9 100644 --- a/shikithon/api.py +++ b/shikithon/api.py @@ -494,7 +494,7 @@ def _request( """ response: Union[Response, None] = None - logger.info(f'Making {request_type.value} request to {url}') + logger.info(f'{request_type.value} {url}') logger.debug(f'Request info details: {data=}, {headers=}, {query=}') if request_type == RequestType.GET: diff --git a/shikithon/models/anime.py b/shikithon/models/anime.py index 6e9074df..5b1f51d8 100644 --- a/shikithon/models/anime.py +++ b/shikithon/models/anime.py @@ -21,7 +21,7 @@ class Anime(BaseModel): russian: str image: Image url: str - kind: str + kind: Optional[str] score: float status: str episodes: int