Skip to content

Commit

Permalink
fix sort takes kws
Browse files Browse the repository at this point in the history
  • Loading branch information
s-cork committed Oct 18, 2024
1 parent 0b1bb9c commit 793b42d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client_code/atomic/atoms.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,10 @@ def __repr__(self):


def _method(meth: str, convert_args=None):
def fn(self, *args):
def fn(self, *args, **kws):
if convert_args is not None:
args = convert_args(self, *args)
ret = getattr(list, meth)(self, *args)
ret = getattr(list, meth)(self, *args, **kws)
self._request_render()
return ret

Expand Down

0 comments on commit 793b42d

Please sign in to comment.