[procedures] Store actions for YAML procedures.

This commit is contained in:
Fabio Manganiello 2024-08-28 00:14:54 +02:00
parent 42d672ab5e
commit 62980cc9e2
2 changed files with 2 additions and 0 deletions

View file

@ -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__ = {

View file

@ -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