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 Nov 8, 2024
1 parent 5800604 commit 47a8560
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions znsocket/objects/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,6 @@ def on_refresh(self, callback: t.Callable[[RefreshDataTypeDict], None]) -> None:

self.socket.refresh_callbacks[self.key] = callback


def update(self, *args, **kwargs):
"""Update the dict with another dict or iterable."""
if len(args) > 1:
Expand All @@ -497,7 +496,7 @@ def update(self, *args, **kwargs):
else:
other = kwargs

pipeline = self.redis.pipeline()
pipeline = self.redis.pipeline()
for key, value in other.items():
if isinstance(value, Dict):
if value.key == self.key:
Expand Down

0 comments on commit 47a8560

Please sign in to comment.