mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 11:52:54 +00:00 
			
		
		
		
	Refactor whole importing hell into a nice and clean API
This commit is contained in:
		@@ -1,3 +1,4 @@
 | 
			
		||||
# Copyright (C) 2018 Avatao.com Innovative Learning Kft.
 | 
			
		||||
# All Rights Reserved. See LICENSE file for details.
 | 
			
		||||
 | 
			
		||||
from .server_connector import ServerConnector, ServerUplinkConnector, ServerDownlinkConnector
 | 
			
		||||
 
 | 
			
		||||
@@ -6,9 +6,9 @@ from functools import partial
 | 
			
		||||
import zmq
 | 
			
		||||
from zmq.eventloop.zmqstream import ZMQStream
 | 
			
		||||
 | 
			
		||||
from tfw.networking.serialization import serialize_all
 | 
			
		||||
from tfw.networking import serialize_all
 | 
			
		||||
from tfw.networking import ZMQConnectorBase
 | 
			
		||||
from tfw.config import TFWENV
 | 
			
		||||
from tfw.networking.zmq_connector_base import ZMQConnectorBase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class ServerDownlinkConnector(ZMQConnectorBase):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user