コード例 #1
0
 def get_action_db(self, action_id):
     """
     Wrapper for call to the shipyard database to get an action
     :returns: a dictionary of action details.
     """
     return SHIPYARD_DB.get_action_by_id(action_id=action_id)
コード例 #2
0
 def get_action_command_audit_db(self, action_id):
     """
     Wrapper for call to the shipyard db to get the history of
     action command audit records
     """
     return SHIPYARD_DB.get_command_audit_by_action_id(action_id)