Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 19, 2024
1 parent 4fc8010 commit b85d50e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiohttp/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def request(
return _RequestContextManager(self._request(method, url, **kwargs))

def _build_url(self, str_or_url: StrOrURL, **kwargs: Any) -> URL:
url = URL(str_or_url, encoded=kwargs.get('encode_url'))
url = URL(str_or_url, encoded=kwargs.get("encode_url"))
if self._base_url is None:
return url
else:
Expand Down Expand Up @@ -385,7 +385,7 @@ async def _request(
auto_decompress: Optional[bool] = None,
max_line_size: Optional[int] = None,
max_field_size: Optional[int] = None,
encode_url: Optional[bool] = False
encode_url: Optional[bool] = False,
) -> ClientResponse:
# NOTE: timeout clamps existing connect and read timeouts. We cannot
# set the default to None because we need to detect if the user wants
Expand Down

0 comments on commit b85d50e

Please sign in to comment.