first commit: running at working
This commit is contained in:
27
enteletaor_lib/modules/help/__init__.py
Normal file
27
enteletaor_lib/modules/help/__init__.py
Normal file
@@ -0,0 +1,27 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from libs.core.structs import CommonData
|
||||
from libs.core.models import FloatField
|
||||
from .. import IModule
|
||||
|
||||
|
||||
class ModuleModel(CommonData):
|
||||
start_execution = FloatField(default=1.0)
|
||||
end_execution = FloatField(default=1.2)
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
class HelpModule(IModule):
|
||||
"""
|
||||
Long description of module
|
||||
"""
|
||||
|
||||
__model__ = ModuleModel
|
||||
|
||||
name = "help"
|
||||
description = "long description"
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
def run(self, config):
|
||||
print("hoooola")
|
||||
|
||||
Reference in New Issue
Block a user