Skip to content

Commit 80fe510

Browse files
committed
Clean arguments
1 parent 9aa92d8 commit 80fe510

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nbclient/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ async def async_setup_kernel(self, **kwargs):
450450
if cleanup_kc:
451451
await self._async_cleanup_kernel()
452452

453-
async def async_execute(self, **kwargs):
453+
async def async_execute(self, reset_kc, **kwargs):
454454
"""
455455
Executes each code cell.
456456
@@ -469,7 +469,6 @@ async def async_execute(self, **kwargs):
469469
nb : NotebookNode
470470
The executed notebook.
471471
"""
472-
reset_kc = kwargs.pop('reset_kc', False)
473472
if reset_kc and self.km:
474473
await self._async_cleanup_kernel()
475474
self.reset_execution_trackers()

0 commit comments

Comments
 (0)