Module Import alias Import alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Str Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad orelse For NameStore Call AttributeLoad NameLoad attr NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad orelse Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad keyword BinOpMod Str NameLoad keyword Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Assign AttributeStore NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore NameLoad If Call NameLoad NameLoad Str body If CompareGt Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareNotEq NameLoad Str Num body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword BinOpMod Str NameLoad keyword BinOpMod Str NameLoad Assign AttributeStore NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Continue Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If Call NameLoad NameLoad Str body Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call NameLoad NameLoad If CompareIs NameLoad NameLoad body If Call NameLoad NameLoad Str body Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore ListLoad BinOpMod Str TupleLoad IfExp BoolOpAnd CompareIsNot NameLoad NameLoad CompareIs AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad Str Call AttributeLoad NameLoad attr Str Str If CompareNotIn SubscriptLoad NameLoad Index Num NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index Num Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If Call NameLoad NameLoad Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr ListComp BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad comprehension NameStore Call NameLoad Call AttributeLoad NameLoad attr Return BinOpMod Str Call NameLoad keyword Call NameLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Str Str TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list
N/A N/A six N/A logging N/A argparse _argparse structs AppSettings modules IModule config __banner__ data GlobalExecutionParameters N/A log N/A N/A logging getLogger setup_cmd N/A N/A N/A N/A N/A 
    Try to install activate-global-python-argcomplete to enable auto-completion
    for bash command line
     N/A N/A STBArgumentParser N/A N/A _argparse ArgumentParser N/A parse_args_and_run_hooks N/A N/A self args namespace N/A None None N/A N/A parsed_args N/A N/A N/A super N/A self __class__ self parse_args args namespace N/A N/A N/A self run_hooks parsed_args N/A parsed_args N/A run_hooks N/A N/A self parsed_args N/A N/A N/A 
        :param parsed_args: Argument Parser object already parsed
        :type parsed_args: `argparser.Namespace`
         N/A hook N/A N/A AppSettings hooks N/A config N/A N/A N/A N/A N/A N/A hook __name__ startswith test_ N/A N/A N/A hook parsed_args N/A N/A build_arg_parser N/A N/A config modules parser N/A None None None N/A N/A 
    Build the argparse object extracting information from the modules.

    :param modules: dict of Module instances
    :type modules: dict(str:model.IModule)
    
    :param config: instance or subinstance of CommonData object
    :type config: `libs.CommonData`
    
    :param parser: start point of parser to build it 
    :type parser: `ArgumentParser`

     N/A N/A modules None N/A N/A N/A N/A isinstance modules dict N/A N/A N/A TypeError N/A Expected list, got '%s' instead N/A type modules N/A N/A x N/A N/A six itervalues modules N/A N/A N/A N/A issubclass x IModule N/A N/A N/A TypeError N/A Expected IModule, got '%s' instead N/A type x N/A N/A modules N/A AppSettings modules N/A N/A config None N/A N/A config N/A GlobalExecutionParameters N/A N/A parser None N/A N/A parser N/A STBArgumentParser description N/A %s __banner__ epilog N/A _build_examples modules formatter_class N/A _argparse RawTextHelpFormatter N/A N/A _extract_parameters config parser N/A main_subparser N/A N/A parser add_subparsers help available commands: dest module_name N/A N/A main_subparser required True N/A N/A mod_name mod_class N/A N/A six iteritems modules N/A N/A mod_parser N/A N/A main_subparser add_parser N/A mod_class name help N/A mod_class description N/A sub_modules_enabled False N/A N/A hasattr mod_class __submodules__ N/A N/A N/A N/A len N/A x N/A x N/A mod_class __submodules__ N/A x default 0 N/A N/A sub_modules_enabled True N/A sub_module_actions N/A N/A mod_parser add_subparsers help N/A %s commands: mod_name dest N/A module_%s mod_name N/A N/A sub_module_actions required True N/A N/A x y N/A N/A six iteritems N/A mod_class __submodules__ N/A N/A N/A x default N/A N/A N/A sub_help N/A N/A y get help N/A sub_action N/A N/A y get cmd_args None N/A sub_sub_parser N/A N/A sub_module_actions add_parser x help sub_help N/A N/A hasattr mod_class __model__ N/A N/A N/A _extract_parameters N/A N/A mod_class __model__ sub_sub_parser mod_name N/A N/A sub_action None N/A N/A N/A sub_action sub_sub_parser N/A N/A sub_modules_enabled False N/A N/A N/A hasattr mod_class __model__ N/A N/A N/A _extract_parameters N/A N/A mod_class __model__ mod_parser mod_name N/A parser N/A _extract_parameters N/A N/A config parser prefix N/A None N/A N/A 
    Extract parameters from config and set into existent parser object
    :param config: instance or subinstance of CommonData object
    :type config: `libs.CommonData`

    :param parser: argparser instancer
    :type parser: Namedspace

    :param prefix: prefix name for parameter. Used for differentiate submodules params.
    :type prefix: str

     N/A used_opts N/A set N/A N/A x v N/A N/A six iteritems N/A config vars N/A N/A params N/A N/A --%s%s N/A N/A N/A N/A prefix None N/A N/A AppSettings parallel_running True N/A %s- prefix N/A N/A x replace _ - N/A N/A N/A x N/A 0 used_opts N/A N/A N/A N/A used_opts add N/A x N/A 0 N/A N/A N/A N/A AppSettings parallel_running False N/A prefix None N/A N/A N/A N/A params append N/A -%s N/A x N/A 0 N/A N/A action type_ N/A _resolve_action v N/A named_params N/A dict dest x help N/A str N/A v label default N/A v default action action required N/A v required N/A N/A type_ None N/A N/A N/A named_params N/A type type_ N/A N/A hasattr v choices N/A N/A N/A named_params N/A choices N/A N/A N/A dict N/A v choices keys N/A N/A N/A parser add_argument params named_params N/A _build_examples N/A N/A modules N/A N/A N/A 
    Create usage examples

    :return: string with examples
    :rtype: str

     N/A examples N/A N/A join N/A N/A 
  - %s.py %s ... N/A N/A AppSettings tool_name x N/A x N/A list N/A N/A modules keys N/A N/A 

Examples:%(examples)s
     N/A dict tool_name N/A str N/A AppSettings tool_name examples examples N/A _resolve_action N/A N/A field N/A N/A N/A 
    Resolve argparser action and type by Field type

    :param field: BaseType object
    :type field: model.BaseType

    :return: a tuple with string with argparser type and type, as format: (str, type)
    :rtype: (str, type)
     N/A type_maps N/A FloatField StringField SelectField IntegerField BoolField IncrementalIntegerField N/A store float N/A store str N/A store str N/A store int N/A store_true None N/A count None N/A in_type N/A N/A field __class__ __name__ N/A results N/A type_maps N/A in_type N/A results N/A