Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
rodja committed Dec 31, 2024
1 parent 07fb259 commit e9b3cf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nicegui/native/native.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def expose(self, function: Callable) -> None: # type: ignore # pylint: disable=

def _send(self, *args: Any, **kwargs: Any) -> None:
name = inspect.currentframe().f_back.f_code.co_name # type: ignore
assert method_queue is not None
method_queue.put((name, args, kwargs))

async def _request(self, *args: Any, **kwargs: Any) -> Any:
Expand Down

0 comments on commit e9b3cf3

Please sign in to comment.