From 10619d03a1810552201f7cd4e9882e4e5b21877e Mon Sep 17 00:00:00 2001 From: Eugene M Date: Mon, 2 Dec 2024 17:45:51 -0500 Subject: [PATCH] MNT: lint --- tiled/client/base.py | 6 +++++- tiled/client/container.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tiled/client/base.py b/tiled/client/base.py index 03ef52827..a4395692f 100644 --- a/tiled/client/base.py +++ b/tiled/client/base.py @@ -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"] diff --git a/tiled/client/container.py b/tiled/client/container.py index 30e227a54..a521ef2a9 100644 --- a/tiled/client/container.py +++ b/tiled/client/container.py @@ -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 = (