Skip to content

Commit ce554cc

Browse files
committed
fix: don't show ipython banner
1 parent b42f6e0 commit ce554cc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • bec_ipython_client/bec_ipython_client

bec_ipython_client/bec_ipython_client/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838

3939

4040
class CLIBECClient(BECClient):
41-
4241
def _wait_for_server(self):
4342
super()._wait_for_server()
4443

@@ -54,7 +53,6 @@ def _wait_for_server(self):
5453

5554

5655
class BECIPythonClient:
57-
5856
# local_only_types is a container for objects that should not be resolved through
5957
# the CLIBECClient but directly through the BECIPythonClient. While this is not
6058
# needed for normal usage, it is required, e.g. for mocks.
@@ -398,6 +396,7 @@ def main():
398396
main_dict["startup_file"] = args.post_startup_file
399397

400398
app = TerminalIPythonApp()
399+
app.display_banner = False
401400
app.interact = True
402401
app.initialize(argv=["-i", os.path.join(os.path.dirname(__file__), "bec_startup.py")])
403402

0 commit comments

Comments
 (0)