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