1
0
mirror of https://github.com/quay/quay.git synced 2026-01-27 18:42:52 +03:00
Files
quay/buildman/component/basecomponent.py
2020-02-05 19:55:07 -08:00

18 lines
452 B
Python

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
def kind(self):
raise NotImplementedError