From f212fcc989b1ef337b2873aadaa783048f23cb54 Mon Sep 17 00:00:00 2001
From: Raventric <78981416+Ravencentric@users.noreply.github.com>
Date: Wed, 27 Mar 2024 09:11:23 +0530
Subject: [PATCH] chore(release): 0.3.1 (#11)
---
README.md | 2 +-
docs/index.md | 2 +-
poetry.lock | 24 ++++++++++++------------
pyproject.toml | 8 ++++----
src/pyanilist/_clients/_async.py | 8 ++++----
src/pyanilist/_clients/_sync.py | 8 ++++----
6 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/README.md b/README.md
index 3913f88..659c3d6 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
- Simple Anilist API wrapper to fetch data about it's media
+ Simple Anilist API wrapper to fetch media data
diff --git a/docs/index.md b/docs/index.md
index d70e9ad..b4d7cc6 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -4,7 +4,7 @@
- Simple Anilist API wrapper to fetch data about it's media
+ Simple Anilist API wrapper to fetch media data
diff --git a/poetry.lock b/poetry.lock
index b52974c..b6285d3 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -245,18 +245,18 @@ test = ["pytest (>=6)"]
[[package]]
name = "filelock"
-version = "3.13.1"
+version = "3.13.3"
description = "A platform independent file lock."
optional = false
python-versions = ">=3.8"
files = [
- {file = "filelock-3.13.1-py3-none-any.whl", hash = "sha256:57dbda9b35157b05fb3e58ee91448612eb674172fab98ee235ccb0b5bee19a1c"},
- {file = "filelock-3.13.1.tar.gz", hash = "sha256:521f5f56c50f8426f5e03ad3b281b490a87ef15bc6c526f168290f0c7148d44e"},
+ {file = "filelock-3.13.3-py3-none-any.whl", hash = "sha256:5ffa845303983e7a0b7ae17636509bc97997d58afeafa72fb141a17b152284cb"},
+ {file = "filelock-3.13.3.tar.gz", hash = "sha256:a79895a25bbefdf55d1a2a0a80968f7dbb28edcd6d4234a0afb3f37ecde4b546"},
]
[package.extras]
-docs = ["furo (>=2023.9.10)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1.24)"]
-testing = ["covdefaults (>=2.3)", "coverage (>=7.3.2)", "diff-cover (>=8)", "pytest (>=7.4.3)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)", "pytest-timeout (>=2.2)"]
+docs = ["furo (>=2023.9.10)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1.25.2)"]
+testing = ["covdefaults (>=2.3)", "coverage (>=7.3.2)", "diff-cover (>=8.0.1)", "pytest (>=7.4.3)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)", "pytest-timeout (>=2.2)"]
typing = ["typing-extensions (>=4.8)"]
[[package]]
@@ -565,13 +565,13 @@ mkdocs = ">=1.1"
[[package]]
name = "mkdocs-material"
-version = "9.5.14"
+version = "9.5.15"
description = "Documentation that simply works"
optional = false
python-versions = ">=3.8"
files = [
- {file = "mkdocs_material-9.5.14-py3-none-any.whl", hash = "sha256:a45244ac221fda46ecf8337f00ec0e5cb5348ab9ffb203ca2a0c313b0d4dbc27"},
- {file = "mkdocs_material-9.5.14.tar.gz", hash = "sha256:2a1f8e67cda2587ab93ecea9ba42d0ca61d1d7b5fad8cf690eeaeb39dcd4b9af"},
+ {file = "mkdocs_material-9.5.15-py3-none-any.whl", hash = "sha256:e5c96dec3d19491de49ca643fc1dbb92b278e43cdb816c775bc47db77d9b62fb"},
+ {file = "mkdocs_material-9.5.15.tar.gz", hash = "sha256:39f03cca45e82bf54eb7456b5a18bd252eabfdd67f237a229471484a0a4d4635"},
]
[package.dependencies]
@@ -783,13 +783,13 @@ testing = ["pytest", "pytest-benchmark"]
[[package]]
name = "pre-commit"
-version = "3.6.2"
+version = "3.7.0"
description = "A framework for managing and maintaining multi-language pre-commit hooks."
optional = false
python-versions = ">=3.9"
files = [
- {file = "pre_commit-3.6.2-py2.py3-none-any.whl", hash = "sha256:ba637c2d7a670c10daedc059f5c49b5bd0aadbccfcd7ec15592cf9665117532c"},
- {file = "pre_commit-3.6.2.tar.gz", hash = "sha256:c3ef34f463045c88658c5b99f38c1e297abdcc0ff13f98d3370055fbbfabc67e"},
+ {file = "pre_commit-3.7.0-py2.py3-none-any.whl", hash = "sha256:5eae9e10c2b5ac51577c3452ec0a490455c45a0533f7960f993a0d01e59decab"},
+ {file = "pre_commit-3.7.0.tar.gz", hash = "sha256:e209d61b8acdcf742404408531f0c37d49d2c734fd7cff2d6076083d191cb060"},
]
[package.dependencies]
@@ -1444,4 +1444,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p
[metadata]
lock-version = "2.0"
python-versions = ">=3.9"
-content-hash = "f5138cbf88977bea07513a6b87f707a3ffb7014fed12711f18b2639a9e495006"
+content-hash = "bc47bc07c6a9e49f738d6088769a7396e979d6ca27b50c443bda5398fe73d8ca"
diff --git a/pyproject.toml b/pyproject.toml
index 4a39195..a060fc9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,7 +1,7 @@
[tool.poetry]
name = "pyanilist"
-version = "0.3.0"
-description = "Simple Anilist API wrapper to fetch data about it's media"
+version = "0.3.1"
+description = "Simple Anilist API wrapper to fetch media data"
authors = ["Raventric "]
license = "Unlicense"
readme = "README.md"
@@ -50,10 +50,10 @@ mypy = "^1.9.0"
types-boltons = "^23.1.0.20240310"
pytest = "^8.1.1"
pytest-asyncio = "^0.23.5.post1"
-pre-commit = "^3.6.2"
+pre-commit = "^3.7.0"
[tool.poetry.group.docs.dependencies]
-mkdocs-material = "^9.5.14"
+mkdocs-material = "^9.5.15"
mkdocstrings = {extras = ["python"], version = "^0.24.0"}
mkdocs-autorefs = "^1.0.1"
diff --git a/src/pyanilist/_clients/_async.py b/src/pyanilist/_clients/_async.py
index 4f2974c..630c543 100644
--- a/src/pyanilist/_clients/_async.py
+++ b/src/pyanilist/_clients/_async.py
@@ -23,7 +23,7 @@ def __init__(
Parameters
----------
api_url : str, optional
- The URL of the Anilist API. Default is "https://graphql.anilist.co".
+ The URL of the Anilist API. Default is `https://graphql.anilist.co`.
retries : int, optional
Number of times to retry a failed request before raising an error. Default is 5.
kwargs : HTTPXAsyncClientKwargs, optional
@@ -50,7 +50,7 @@ async def _post_request(
Parameters
----------
id : AnilistID, optional
- Anilist ID of the media as found in the URL: https://anilist.co/{type}/{id}. Default is None.
+ Anilist ID of the media as found in the URL: `https://anilist.co/{type}/{id}`. Default is None.
season : MediaSeason | None, optional
The season the media was initially released in. Default is None.
season_year : AnilistYear | None, optional
@@ -177,7 +177,7 @@ async def search(
Parameters
----------
- title : AnilistTitle | None, optional
+ title : AnilistTitle
The string used for searching on Anilist.
season : MediaSeason | None, optional
The season the media was initially released in. Default is None.
@@ -224,7 +224,7 @@ async def get(self, id: AnilistID) -> Media:
Parameters
----------
id : int
- Anilist ID of the media as found in the URL: https://anilist.co/{type}/{id}.
+ Anilist ID of the media as found in the URL: `https://anilist.co/{type}/{id}`.
Raises
------
diff --git a/src/pyanilist/_clients/_sync.py b/src/pyanilist/_clients/_sync.py
index 02c5cd3..2e130ba 100644
--- a/src/pyanilist/_clients/_sync.py
+++ b/src/pyanilist/_clients/_sync.py
@@ -23,7 +23,7 @@ def __init__(
Parameters
----------
api_url : str, optional
- The URL of the Anilist API. Default is "https://graphql.anilist.co".
+ The URL of the Anilist API. Default is `https://graphql.anilist.co`.
retries : int, optional
Number of times to retry a failed request before raising an error. Default is 5.
kwargs : HTTPXClientKwargs, optional
@@ -50,7 +50,7 @@ def _post_request(
Parameters
----------
id : AnilistID, optional
- Anilist ID of the media as found in the URL: https://anilist.co/{type}/{id}. Default is None.
+ Anilist ID of the media as found in the URL: `https://anilist.co/{type}/{id}`. Default is None.
season : MediaSeason | None, optional
The season the media was initially released in. Default is None.
season_year : AnilistYear | None, optional
@@ -176,7 +176,7 @@ def search(
Parameters
----------
- title : AnilistTitle | None, optional
+ title : AnilistTitle
The string used for searching on Anilist.
season : MediaSeason | None, optional
The season the media was initially released in. Default is None.
@@ -223,7 +223,7 @@ def get(self, id: AnilistID) -> Media:
Parameters
----------
id : int
- Anilist ID of the media as found in the URL: https://anilist.co/{type}/{id}.
+ Anilist ID of the media as found in the URL: `https://anilist.co/{type}/{id}`.
Raises
------