[procedures] Store actions for YAML procedures.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabio Manganiello 2024-08-28 00:14:54 +02:00
parent 234963b069
commit d9916873cb
Signed by: blacklight
GPG key ID: D90FBA7F76362774
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