mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 13:02:55 +00:00 
			
		
		
		
	Resolve Python circular import hell - hopefully forever
This commit is contained in:
		@@ -6,7 +6,7 @@ from datetime import datetime
 | 
			
		||||
 | 
			
		||||
from transitions import Machine, MachineError
 | 
			
		||||
 | 
			
		||||
from tfw.mixins import CallbackMixin
 | 
			
		||||
from tfw.mixins.callback_mixin import CallbackMixin
 | 
			
		||||
from tfw.config.logs import logging
 | 
			
		||||
 | 
			
		||||
LOG = logging.getLogger(__name__)
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,7 @@
 | 
			
		||||
 | 
			
		||||
from transitions import State
 | 
			
		||||
 | 
			
		||||
from .fsm_base import FSMBase
 | 
			
		||||
from tfw.fsm.fsm_base import FSMBase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class LinearFSM(FSMBase):
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@ import yaml
 | 
			
		||||
import jinja2
 | 
			
		||||
from transitions import State
 | 
			
		||||
 | 
			
		||||
from .fsm_base import FSMBase
 | 
			
		||||
from tfw.fsm.fsm_base import FSMBase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class YamlFSM(FSMBase):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user