mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 16:21:31 +00:00
Standardize imports: standard newline package newline tfw
This commit is contained in:
parent
a3fa75b676
commit
1e2ea0ed17
@ -1,6 +1,7 @@
|
|||||||
|
from functools import wraps
|
||||||
|
|
||||||
from watchdog.observers import Observer
|
from watchdog.observers import Observer
|
||||||
from watchdog.events import FileSystemEventHandler as FileSystemWatchdogEventHandler
|
from watchdog.events import FileSystemEventHandler as FileSystemWatchdogEventHandler
|
||||||
from functools import wraps
|
|
||||||
|
|
||||||
from tfw.networking.event_handlers.server_connector import ServerUplinkConnector
|
from tfw.networking.event_handlers.server_connector import ServerUplinkConnector
|
||||||
from tfw.components.decorators import RateLimiter
|
from tfw.components.decorators import RateLimiter
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
from os.path import dirname
|
||||||
|
|
||||||
from watchdog.observers import Observer
|
from watchdog.observers import Observer
|
||||||
from watchdog.events import PatternMatchingEventHandler
|
from watchdog.events import PatternMatchingEventHandler
|
||||||
from os.path import dirname
|
|
||||||
|
|
||||||
from tfw.components.mixins.callback_mixin import CallbackMixin
|
from tfw.components.mixins.callback_mixin import CallbackMixin
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import xmlrpc.client
|
import xmlrpc.client
|
||||||
from contextlib import suppress
|
|
||||||
from xmlrpc.client import Fault as SupervisorFault
|
from xmlrpc.client import Fault as SupervisorFault
|
||||||
|
from contextlib import suppress
|
||||||
from os import remove
|
from os import remove
|
||||||
|
|
||||||
from tfw.config import tfwenv
|
from tfw.config import tfwenv
|
||||||
|
@ -5,7 +5,6 @@ from collections import Iterable
|
|||||||
|
|
||||||
from tfw.event_handler_base import TriggerlessEventHandler
|
from tfw.event_handler_base import TriggerlessEventHandler
|
||||||
from tfw.components.directory_monitor import DirectoryMonitor
|
from tfw.components.directory_monitor import DirectoryMonitor
|
||||||
|
|
||||||
from tfw.config.logs import logging
|
from tfw.config.logs import logging
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
from typing import List
|
from typing import List
|
||||||
|
|
||||||
from transitions import Machine
|
from transitions import Machine
|
||||||
|
|
||||||
from tfw.components.mixins.callback_mixin import CallbackMixin
|
from tfw.components.mixins.callback_mixin import CallbackMixin
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
import zmq
|
|
||||||
from functools import partial
|
from functools import partial
|
||||||
|
|
||||||
|
import zmq
|
||||||
from zmq.eventloop.zmqstream import ZMQStream
|
from zmq.eventloop.zmqstream import ZMQStream
|
||||||
|
|
||||||
from tfw.networking.serialization import serialize_all
|
from tfw.networking.serialization import serialize_all
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
import zmq
|
import zmq
|
||||||
from zmq.eventloop.zmqstream import ZMQStream
|
from zmq.eventloop.zmqstream import ZMQStream
|
||||||
|
|
||||||
|
from tfw.networking.zmq_connector_base import ZMQConnectorBase
|
||||||
from tfw.networking.serialization import serialize_all
|
from tfw.networking.serialization import serialize_all
|
||||||
from tfw.config import tfwenv
|
from tfw.config import tfwenv
|
||||||
from tfw.config.logs import logging
|
from tfw.config.logs import logging
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
from tfw.networking.zmq_connector_base import ZMQConnectorBase
|
|
||||||
|
|
||||||
|
|
||||||
class EventHandlerDownlinkConnector(ZMQConnectorBase):
|
class EventHandlerDownlinkConnector(ZMQConnectorBase):
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
from tornado.web import Application
|
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
|
|
||||||
|
from tornado.web import Application
|
||||||
|
|
||||||
from tfw.networking.server.zmq_websocket_handler import ZMQWebSocketProxy
|
from tfw.networking.server.zmq_websocket_handler import ZMQWebSocketProxy
|
||||||
from tfw.networking.event_handlers.server_connector import ServerUplinkConnector
|
from tfw.networking.event_handlers.server_connector import ServerUplinkConnector
|
||||||
from tfw.message_sender import MessageSender
|
from tfw.message_sender import MessageSender
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
from tornado.websocket import WebSocketHandler
|
from tornado.websocket import WebSocketHandler
|
||||||
|
|
||||||
from tfw.networking.serialization import deserialize_all
|
from tfw.networking.serialization import deserialize_all
|
||||||
|
Loading…
Reference in New Issue
Block a user