Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
mski-iksm committed Nov 21, 2023
1 parent 5f37e57 commit 7673212
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gokart/run_with_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ def __call__(self, instance):
def __get__(self, instance, owner_class):
return partial(self.__call__, instance)

def __name__(self):
return self._func.__name__

@classmethod
def _run_with_lock(cls, func, output_list: list):
if len(output_list) == 0:
Expand Down

0 comments on commit 7673212

Please sign in to comment.