Skip to content

Commit

Permalink
Change method name to exec_python
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Mar 5, 2024
1 parent c91fa10 commit fded067
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def _wait_for_result(ws) -> Result:

return result

def execute(self, code: str) -> Result:
def exec_python(self, code: str) -> Result:
ws = self._connect_kernel()
ws.send(json.dumps(self._send_execute_request(code)))
result = self._wait_for_result(ws)
Expand Down

0 comments on commit fded067

Please sign in to comment.