From 33cd26a6c15676079090fcc40ee67e8aa6606d52 Mon Sep 17 00:00:00 2001 From: RLAlpha49 <75044176+RLAlpha49@users.noreply.github.com> Date: Wed, 9 Oct 2024 13:02:19 -0500 Subject: [PATCH] Update .gitignore and exceptions.py --- .gitignore | 3 ++- AniLinkPy/exceptions.py | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index cd2ef81..d5ae6a5 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ .env token dist -site \ No newline at end of file +site +__pycache__ \ No newline at end of file diff --git a/AniLinkPy/exceptions.py b/AniLinkPy/exceptions.py index ae71917..ec5ab53 100644 --- a/AniLinkPy/exceptions.py +++ b/AniLinkPy/exceptions.py @@ -7,10 +7,10 @@ class RequestError(Exception): def __init__(self, errors: Union[str, List[str]]) -> None: """ Initialize a RequestError instance. - + Args: errors (Union[str, List[str]]): A string or list of strings representing the error(s) encountered during the request. - + Returns: None: This method doesn't return anything, it initializes the object. """ @@ -23,10 +23,10 @@ class UnsupportedMethodError(Exception): def __init__(self, method: str) -> None: """Initialize an UnsupportedMethodError exception. - + Args: method (str): The unsupported HTTP method. - + Returns: None: This method doesn't return anything. """