mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 06:32:55 +00:00 
			
		
		
		
	Move fsm stuff to a separate directory in lib
This commit is contained in:
		@@ -2,6 +2,4 @@
 | 
				
			|||||||
# All Rights Reserved. See LICENSE file for details.
 | 
					# All Rights Reserved. See LICENSE file for details.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
from .event_handler_base import EventHandlerBase, FSMAwareEventHandler, BroadcastingEventHandler
 | 
					from .event_handler_base import EventHandlerBase, FSMAwareEventHandler, BroadcastingEventHandler
 | 
				
			||||||
from .fsm_base import FSMBase
 | 
					from .fsm import FSMBase, LinearFSM, YamlFSM
 | 
				
			||||||
from .linear_fsm import LinearFSM
 | 
					 | 
				
			||||||
from .yaml_fsm import YamlFSM
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										6
									
								
								lib/tfw/fsm/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								lib/tfw/fsm/__init__.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					# Copyright (C) 2018 Avatao.com Innovative Learning Kft.
 | 
				
			||||||
 | 
					# All Rights Reserved. See LICENSE file for details.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					from .fsm_base import FSMBase
 | 
				
			||||||
 | 
					from .linear_fsm import LinearFSM
 | 
				
			||||||
 | 
					from .yaml_fsm import YamlFSM
 | 
				
			||||||
@@ -9,7 +9,7 @@ import yaml
 | 
				
			|||||||
import jinja2
 | 
					import jinja2
 | 
				
			||||||
from transitions import State
 | 
					from transitions import State
 | 
				
			||||||
 | 
					
 | 
				
			||||||
from tfw import FSMBase
 | 
					from .fsm_base import FSMBase
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class YamlFSM(FSMBase):
 | 
					class YamlFSM(FSMBase):
 | 
				
			||||||
		Reference in New Issue
	
	Block a user