Module Expr Str Import alias Import alias ImportFrom alias alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str orelse If SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call NameLoad SubscriptLoad NameLoad Index Str attr attr Str orelse Assign NameStore Dict For NameStore SubscriptLoad NameLoad Index Str body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str If CompareLt Call NameLoad NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Continue If CompareLt Call NameLoad NameLoad Call NameLoad NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Continue Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad If SubscriptLoad NameLoad Index Str body If Call NameLoad NameLoad NameLoad body For NameStore NameLoad body Expr Yield BinOpAdd Call NameLoad NameLoad Str orelse Expr Yield BinOpAdd Call NameLoad NameLoad Str orelse If SubscriptLoad NameLoad Index Str body Expr Yield BinOpAdd Call NameLoad NameLoad Str orelse Expr Yield BinOpAdd Call NameLoad NameLoad Str decorator_list
N/A N/A 
implementation of the action cli command
 N/A sys N/A json ckanapi.cli.utils compact_json pretty_json ckanapi.errors CLIError action N/A N/A ckan arguments stdin N/A None N/A N/A 
    call an action with KEY=STRING, KEY:JSON or JSON args, yield the result
     N/A N/A stdin None N/A N/A stdin N/A getattr N/A sys stdin buffer N/A sys stdin N/A N/A arguments N/A --input-json N/A N/A action_args N/A N/A json loads N/A N/A N/A N/A stdin read decode utf-8 N/A N/A N/A arguments N/A --input N/A N/A action_args N/A N/A json loads N/A N/A N/A N/A N/A open N/A arguments N/A --input read decode utf-8 N/A N/A action_args N/A N/A kv N/A arguments N/A KEY=STRING N/A N/A N/A skey p svalue N/A N/A kv partition = N/A N/A jkey p jvalue N/A N/A kv partition : N/A N/A N/A len skey N/A len jkey N/A N/A N/A action_args N/A skey svalue N/A N/A N/A N/A len jkey N/A len skey N/A N/A N/A N/A value N/A N/A json loads jvalue N/A N/A N/A ValueError N/A N/A N/A CLIError N/A KEY:JSON argument %r has invalid JSON value %r N/A jkey jvalue N/A N/A action_args N/A jkey value N/A N/A N/A CLIError N/A argument not in the form KEY=STRING or KEY:JSON %r kv N/A result N/A N/A ckan call_action N/A arguments N/A ACTION_NAME action_args N/A N/A arguments N/A --output-jsonl N/A N/A N/A isinstance result list N/A N/A r result N/A N/A N/A N/A N/A compact_json r N/A N/A N/A N/A N/A compact_json result N/A N/A N/A arguments N/A --output-json N/A N/A N/A N/A N/A compact_json result N/A N/A N/A N/A N/A pretty_json result N/A