Skip to content

Commit

Permalink
client: Add ipython profile
Browse files Browse the repository at this point in the history
  • Loading branch information
netanelc305 committed Apr 11, 2024
1 parent b739055 commit 8d258d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rpcclient/rpcclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ def interactive(self, additional_namespace: typing.Mapping = None):
'''IPython.get_ipython().events.register('pre_run_cell', p._ipython_run_cell_hook)'''
]
c.TerminalInteractiveShell.autoformatter = None
c.BaseIPythonApplication.profile = 'rpcclient'
namespace = globals()
namespace.update({'p': self, 'symbols': self.symbols})
if additional_namespace is not None:
Expand Down

0 comments on commit 8d258d7

Please sign in to comment.