[procedures] Store actions
for YAML procedures.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
234963b069
commit
d9916873cb
2 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,7 @@ if not is_defined('procedure'):
|
||||||
module = Column(String)
|
module = Column(String)
|
||||||
source = Column(String)
|
source = Column(String)
|
||||||
line = Column(Integer)
|
line = Column(Integer)
|
||||||
|
actions = Column(JSON)
|
||||||
|
|
||||||
__table_args__ = {'keep_existing': True}
|
__table_args__ = {'keep_existing': True}
|
||||||
__mapper_args__ = {
|
__mapper_args__ = {
|
||||||
|
|
|
@ -38,6 +38,7 @@ class ProceduresPlugin(RunnablePlugin, ProcedureEntityManager):
|
||||||
source=metadata.get('source'),
|
source=metadata.get('source'),
|
||||||
line=metadata.get('line'),
|
line=metadata.get('line'),
|
||||||
args=metadata.get('args', []),
|
args=metadata.get('args', []),
|
||||||
|
actions=metadata.get('actions', []),
|
||||||
)
|
)
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
|
Loading…
Reference in a new issue