Skip to content

Commit

Permalink
Remove heartbeat import from repl scope
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddyGuthridge committed Apr 7, 2024
1 parent 304bfd6 commit deb2d58
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flapi/cli/repl.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
init,
try_init,
disable,
hello,
fl_exec,
fl_eval,
fl_print,
Expand All @@ -39,7 +38,6 @@
"enable": enable,
"init": init,
"disable": disable,
"heartbeat": hello,
"fl_exec": fl_exec,
"fl_eval": fl_eval,
"fl_print": fl_print,
Expand Down Expand Up @@ -244,7 +242,7 @@ def repl(
print("Then, run `init()` to create the connection.")

print("Imported functions:")
print("enable, init, disable, heartbeat, fl_exec, fl_eval")
print(", ".join(SHELL_SCOPE.keys()))

if shell == "python":
return start_python_shell()
Expand Down

0 comments on commit deb2d58

Please sign in to comment.