Skip to content

Commit

Permalink
fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshalX committed Oct 24, 2024
1 parent 55e5115 commit b7812fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/atproto_client/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ class Response:


def _convert_headers_to_dict(headers: httpx.Headers) -> t.Dict[str, str]:
"""Converts custom case-insensitive multi-dict of HTTPX to pure dict with lowercased keys.
"""Convert custom case-insensitive multi-dict of HTTPX to pure dict with lowercased keys.
Note:
Concatenate headers into a single comma separated value when a key occurs multiple times.
"""
return {key: value for key, value in headers.items()}
return dict(headers.items())


def _parse_response(response: httpx.Response) -> Response:
Expand Down

0 comments on commit b7812fb

Please sign in to comment.