Skip to content

Commit

Permalink
client: Disable asyncio logger
Browse files Browse the repository at this point in the history
  • Loading branch information
netanelc305 committed Apr 11, 2024
1 parent 8d258d7 commit afc1907
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rpcclient/rpcclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,8 @@ def interactive(self, additional_namespace: typing.Mapping = None):
c = Config()
c.IPCompleter.use_jedi = False
c.InteractiveShellApp.exec_lines = [
'''IPython.get_ipython().events.register('pre_run_cell', p._ipython_run_cell_hook)'''
'''IPython.get_ipython().events.register('pre_run_cell', p._ipython_run_cell_hook)''',
'''logging.getLogger('asyncio').disabled = True'''
]
c.TerminalInteractiveShell.autoformatter = None
c.BaseIPythonApplication.profile = 'rpcclient'
Expand Down

0 comments on commit afc1907

Please sign in to comment.