diff --git a/requests_util/__init__.py b/requests_util/__init__.py index 716e893..cfd9096 100644 --- a/requests_util/__init__.py +++ b/requests_util/__init__.py @@ -9,10 +9,10 @@ their specific use cases, as the library most likely has a better understanding of the ratelimiting and caching behaviour of their associated websites than the user has. """ -import logging -import pathlib -import os import datetime +import logging +import os +import pathlib import requests @@ -42,8 +42,7 @@ CACHE_PATH_FROM_HOME = '.local/share/usagi-keiretsu/fin_data/http_cache' def initialize_session() -> requests.Session: - """ - Creates Session with or without caching depending upon current + """Creates Session with or without caching depending upon current capabilities. """ logger.info('Setting up session') @@ -73,8 +72,7 @@ def setup_limiter( expire_after: datetime.datetime | None = None, **limiter_args, ) -> requests.Session: - """ - Initializes limiter on session for the given domain with the given + """Initializes limiter on session for the given domain with the given settings. Will always return the given session itself. diff --git a/requests_util/_version.py b/requests_util/_version.py index 47e46d9..850505a 100644 --- a/requests_util/_version.py +++ b/requests_util/_version.py @@ -1 +1 @@ -__version__ = '0.1.10' \ No newline at end of file +__version__ = '0.1.10'