kopia lustrzana https://github.com/branchwelder/embryoid
30 wiersze
687 B
Python
30 wiersze
687 B
Python
from app.planager.workflow.Action import Action
|
|
|
|
CONFIG = {
|
|
"displayName": "Embroidery",
|
|
"inports": {
|
|
"templateInput": {
|
|
"displayName": "TemplateAction",
|
|
"description": "TemplateAction",
|
|
}
|
|
},
|
|
"outports": {
|
|
"templateOutput": {
|
|
"displayName": "TemplateAction",
|
|
"description": "TemplateAction",
|
|
}
|
|
},
|
|
}
|
|
|
|
|
|
class Embroidery(Action):
|
|
def __init__(self):
|
|
Action.__init__(self, CONFIG)
|
|
|
|
def main(self):
|
|
"""The main loop; this is what runs when the action is run."""
|
|
print("main loop")
|
|
|
|
def templateActionMethod(self, options):
|
|
print("template method")
|