Skip to content

Commit

Permalink
Merge pull request #151 from anvilistas/fix/sort-kws
Browse files Browse the repository at this point in the history
fix sort takes kws
  • Loading branch information
s-cork authored Oct 18, 2024
2 parents 0b1bb9c + 793b42d commit a087d08
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 a087d08

Please sign in to comment.