diff --git a/freqtrade/rpc/api_server.py b/freqtrade/rpc/api_server.py index 1055a0553..46678466d 100644 --- a/freqtrade/rpc/api_server.py +++ b/freqtrade/rpc/api_server.py @@ -38,6 +38,12 @@ class ApiServer(RPC): thread = threading.Thread(target=self.run, daemon=True) thread.start() + def cleanup(self) -> None: + pass + + def send_msg(self, msg: Dict[str, str]) -> None: + pass + def register_rest_other(self): """ Registers flask app URLs that are not calls to functionality in rpc.rpc. @@ -84,12 +90,6 @@ class ApiServer(RPC): except Exception: logger.exception("Api server failed to start, exception message is:") - def cleanup(self) -> None: - pass - - def send_msg(self, msg: Dict[str, str]) -> None: - pass - """ Define the application methods here, called by app.add_url_rule each Telegram command should have a like local substitute