Skip to content

Commit

Permalink
MNT: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
genematx committed Dec 2, 2024
1 parent 76ffe55 commit 10619d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion tiled/client/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ def __getitem__(self, item_):
self.context.http_client.get(
self._link,
headers={"Accept": MSGPACK_MIME_TYPE},
params={**parse_qs(urlparse(self._link).query), "page[offset]": offset, "page[limit]": limit},
params={
**parse_qs(urlparse(self._link).query),
"page[offset]": offset,
"page[limit]": limit,
},
)
).json()
(result,) = content["data"]
Expand Down
2 changes: 1 addition & 1 deletion tiled/client/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def __getitem__(self, keys, _ignore_inlined_contents=False):
self.context.http_client.get(
link,
headers={"Accept": MSGPACK_MIME_TYPE},
params={**parse_qs(urlparse(link).query),**params},
params={**parse_qs(urlparse(link).query), **params},
)
).json()
self._cached_len = (
Expand Down

0 comments on commit 10619d0

Please sign in to comment.