Better organize the source file structure of the build manager and change it to choose a lifecycle manager based on the config
This commit is contained in:
parent
c48559ee3d
commit
660a640de6
12 changed files with 34 additions and 20 deletions
10
buildman/component/basecomponent.py
Normal file
10
buildman/component/basecomponent.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
from autobahn.asyncio.wamp import ApplicationSession
|
||||
|
||||
class BaseComponent(ApplicationSession):
|
||||
""" Base class for all registered component sessions in the server. """
|
||||
def __init__(self, config, **kwargs):
|
||||
ApplicationSession.__init__(self, config)
|
||||
self.server = None
|
||||
self.parent_manager = None
|
||||
self.build_logs = None
|
||||
self.user_files = None
|
Reference in a new issue