Sha256: 48fb0b6203edfa6748cd835a2cfcdf86823649a63ee493232e19afbbf13de692
Contents?: true
Size: 833 Bytes
Versions: 1
Compression:
Stored size: 833 Bytes
Contents
# frozen_string_literal: true require 'k_log' module Ad module AgentArchitecture module Report # Print workflow details class WorkflowListReport include KLog::Logging def print # tp query, :workflow_name, :workflow_description, :section_name, :section_description, :section_order, :step_name, :step_order, :step_prompt, :inputs, :outputs tp query, :workflow_name, :workflow_description, :section_name, :step_name, :step_prompt, :inputs, :outputs end def query Ad::AgentArchitecture::Database::SQLQuery.query(:workflow_details).map do |row| row[:inputs] = JSON.parse(row[:inputs]) if row[:inputs] row[:outputs] = JSON.parse(row[:outputs]) if row[:outputs] row end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ad-agent_architecture-0.0.8 | lib/ad/agent_architecture/report/workflow_list_report.rb |