mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 18:21:31 +00:00
Move fsm stuff to a separate directory in lib
This commit is contained in:
parent
52b2adb9c4
commit
8c6a14cef5
@ -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):
|
Loading…
Reference in New Issue
Block a user