From 8993882dcb1434b0f938ac45eee23cb4e4c5f915 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 5 Apr 2019 06:39:33 +0200 Subject: [PATCH] Sort imports --- freqtrade/rpc/api_server.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/freqtrade/rpc/api_server.py b/freqtrade/rpc/api_server.py index a0532a3b3..20850a3a1 100644 --- a/freqtrade/rpc/api_server.py +++ b/freqtrade/rpc/api_server.py @@ -1,14 +1,11 @@ -import json -import threading import logging -# import json +import threading +from ipaddress import IPv4Address from typing import Dict -from flask import Flask, request, jsonify -# from flask_restful import Resource, Api -from freqtrade.rpc.rpc import RPC, RPCException -from ipaddress import IPv4Address +from flask import Flask, jsonify, request +from freqtrade.rpc.rpc import RPC, RPCException logger = logging.getLogger(__name__) app = Flask(__name__) @@ -42,6 +39,7 @@ class ApiServer(RPC): logger.info("Stopping API Server") def send_msg(self, msg: Dict[str, str]) -> None: + """We don't push to endpoints at the moment. Look at webhooks for that.""" pass def rest_dump(self, return_value):