summaryrefslogtreecommitdiff
path: root/requests_cache/models
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2022-01-01 12:02:10 -0600
committerJordan Cook <jordan.cook@pioneer.com>2022-01-01 12:10:43 -0600
commit023b9bf36a4305f5edceece7ac6eabbd16e2e40d (patch)
treeb9238fb788560d94b2602c8996873750c5273abb /requests_cache/models
parent347048289ed25ec847a40dc5971ee8a538b4aebf (diff)
downloadrequests-cache-023b9bf36a4305f5edceece7ac6eabbd16e2e40d.tar.gz
Format using a more typical line length of 100
Diffstat (limited to 'requests_cache/models')
-rwxr-xr-xrequests_cache/models/response.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/requests_cache/models/response.py b/requests_cache/models/response.py
index 561d6c8..73b09fd 100755
--- a/requests_cache/models/response.py
+++ b/requests_cache/models/response.py
@@ -48,7 +48,10 @@ class CachedResponse(Response):
@classmethod
def from_response(
- cls, original_response: Union[Response, 'CachedResponse'], expires: datetime = None, **kwargs
+ cls,
+ original_response: Union[Response, 'CachedResponse'],
+ expires: datetime = None,
+ **kwargs,
):
"""Create a CachedResponse based on an original Response or another CachedResponse object"""
if isinstance(original_response, CachedResponse):