Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Assign NameStore TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore TupleLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ClassDef bases NameLoad body Assign NameStore Call NameLoad Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Print NameLoad orelse If NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Dict Assign NameStore ListLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Return For NameStore NameLoad body If CompareNotEq NameLoad NameLoad body Assign NameStore BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body If BoolOpAnd CompareNotIn NameLoad NameLoad CompareNotIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr orelse If CompareNotEq NameLoad Str body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad Call AttributeLoad NameLoad attr attr Str body Return NameLoad orelse If Call AttributeLoad Call AttributeLoad NameLoad attr attr TupleLoad Str Str body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Call NameLoad Str Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Raise Call NameLoad keyword BinOpAdd BinOpMod Call NameLoad Str Dict Str AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr orelse Raise Call NameLoad keyword BinOpAdd Call NameLoad Str Call AttributeLoad Str attr Call AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Assign NameStore BinOpMod Call NameLoad Str Dict Str AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A logging N/A os toscaparser.common.exception ExceptionCollector toscaparser.common.exception InvalidTemplateVersion toscaparser.common.exception MissingRequiredFieldError toscaparser.common.exception UnknownFieldError toscaparser.common.exception ValidationError toscaparser.elements.entity_type update_definitions toscaparser.extensions.exttools ExtTools N/A toscaparser.imports toscaparser.prereq.csar CSAR toscaparser.topology_template TopologyTemplate toscaparser.tpl_relationship_graph ToscaGraph toscaparser.utils.gettextutils _ N/A toscaparser.utils.yamlparser N/A SECTIONS N/A DEFINITION_VERSION DEFAULT_NAMESPACE TEMPLATE_NAME TOPOLOGY_TEMPLATE TEMPLATE_AUTHOR TEMPLATE_VERSION DESCRIPTION IMPORTS DSL_DEFINITIONS NODE_TYPES RELATIONSHIP_TYPES RELATIONSHIP_TEMPLATES CAPABILITY_TYPES ARTIFACT_TYPES DATA_TYPES POLICY_TYPES GROUP_TYPES REPOSITORIES N/A tosca_definitions_version tosca_default_namespace template_name topology_template template_author template_version description imports dsl_definitions node_types relationship_types relationship_templates capability_types artifact_types data_types policy_types group_types repositories N/A SPECIAL_SECTIONS METADATA metadata N/A log N/A N/A logging getLogger tosca.model N/A YAML_LOADER N/A N/A N/A toscaparser utils yamlparser load_yaml ToscaTemplate N/A object N/A N/A exttools N/A ExtTools N/A VALID_TEMPLATE_VERSIONS N/A tosca_simple_yaml_1_0 N/A N/A N/A VALID_TEMPLATE_VERSIONS extend N/A N/A exttools get_versions N/A ADDITIONAL_SECTIONS N/A tosca_simple_yaml_1_0 SPECIAL_SECTIONS N/A N/A N/A ADDITIONAL_SECTIONS update N/A N/A exttools get_sections N/A Load the template data. __init__ N/A N/A self path parsed_params a_file yaml_dict_tpl N/A None None True None N/A N/A N/A N/A ExceptionCollector start N/A N/A self a_file a_file N/A N/A self input_path None N/A N/A self path None N/A N/A self tpl None N/A path N/A N/A N/A self input_path path N/A N/A self path N/A N/A self _get_path path N/A N/A self path N/A N/A N/A self tpl N/A YAML_LOADER N/A self path N/A self a_file N/A yaml_dict_tpl N/A N/A msg N/A _ Both path and yaml_dict_tpl arguments were provided. Using path and ignoring yaml_dict_tpl. N/A N/A N/A log info msg N/A msg N/A N/A yaml_dict_tpl N/A N/A N/A self tpl yaml_dict_tpl N/A N/A N/A N/A ExceptionCollector appendException N/A ValueError N/A _ No path or yaml_dict_tpl was provided. There is nothing to parse. N/A N/A self tpl N/A N/A N/A self parsed_params parsed_params N/A N/A N/A self _validate_field N/A N/A self version N/A N/A self _tpl_version N/A N/A self relationship_types N/A N/A self _tpl_relationship_types N/A N/A self description N/A N/A self _tpl_description N/A N/A self topology_template N/A N/A self _topology_template N/A N/A N/A self topology_template tpl N/A N/A N/A self inputs N/A N/A self _inputs N/A N/A self relationship_templates N/A N/A self _relationship_templates N/A N/A self nodetemplates N/A N/A self _nodetemplates N/A N/A self outputs N/A N/A self _outputs N/A N/A self graph N/A ToscaGraph N/A self nodetemplates N/A N/A N/A ExceptionCollector stop N/A N/A N/A self verify_template N/A _topology_template N/A N/A self N/A N/A N/A N/A TopologyTemplate N/A N/A self _tpl_topology_template N/A N/A self _get_all_custom_defs N/A self relationship_types N/A self parsed_params N/A _inputs N/A N/A self N/A N/A N/A N/A N/A self topology_template inputs N/A _nodetemplates N/A N/A self N/A N/A N/A N/A N/A self topology_template nodetemplates N/A _relationship_templates N/A N/A self N/A N/A N/A N/A N/A self topology_template relationship_templates N/A _outputs N/A N/A self N/A N/A N/A N/A N/A self topology_template outputs N/A _tpl_version N/A N/A self N/A N/A N/A N/A N/A N/A self tpl get DEFINITION_VERSION N/A _tpl_description N/A N/A self N/A N/A N/A desc N/A N/A N/A self tpl get DESCRIPTION N/A desc N/A N/A N/A N/A desc rstrip N/A _tpl_imports N/A N/A self N/A N/A N/A N/A N/A N/A self tpl get IMPORTS N/A _tpl_relationship_types N/A N/A self N/A N/A N/A N/A N/A self _get_custom_types RELATIONSHIP_TYPES N/A _tpl_relationship_templates N/A N/A self N/A N/A N/A topology_template N/A N/A self _tpl_topology_template N/A N/A N/A topology_template get RELATIONSHIP_TEMPLATES N/A _tpl_topology_template N/A N/A self N/A N/A N/A N/A N/A N/A self tpl get TOPOLOGY_TEMPLATE N/A _get_all_custom_defs N/A N/A self imports N/A None N/A N/A types N/A IMPORTS NODE_TYPES CAPABILITY_TYPES RELATIONSHIP_TYPES DATA_TYPES POLICY_TYPES GROUP_TYPES N/A custom_defs_final N/A N/A custom_defs N/A N/A self _get_custom_types types imports N/A custom_defs N/A N/A N/A N/A custom_defs_final update custom_defs N/A N/A N/A custom_defs get IMPORTS N/A N/A import_defs N/A N/A self _get_all_custom_defs N/A N/A custom_defs get IMPORTS N/A N/A N/A custom_defs_final update import_defs N/A N/A N/A custom_defs_final pop IMPORTS None N/A custom_defs_final N/A _get_custom_types N/A N/A self type_definitions imports N/A None N/A N/A Handle custom types defined in imported template files

        This method loads the custom type definitions referenced in "imports"
        section of the TOSCA YAML template.
         N/A custom_defs N/A N/A type_defs N/A N/A N/A N/A isinstance type_definitions list N/A N/A N/A N/A type_defs append type_definitions N/A N/A type_defs type_definitions N/A N/A imports N/A N/A imports N/A N/A self _tpl_imports N/A imports N/A N/A custom_defs N/A N/A N/A N/A N/A toscaparser imports ImportsLoader imports N/A self path type_defs N/A self tpl get_custom_defs N/A N/A custom_defs N/A N/A N/A type_def type_defs N/A N/A N/A type_def IMPORTS N/A N/A inner_custom_types N/A N/A N/A N/A self tpl get type_def N/A N/A inner_custom_types N/A N/A N/A N/A custom_defs update inner_custom_types N/A custom_defs N/A _validate_field N/A N/A self N/A N/A N/A version N/A N/A self _tpl_version N/A N/A version N/A N/A N/A N/A ExceptionCollector appendException N/A MissingRequiredFieldError what Template required DEFINITION_VERSION N/A N/A N/A N/A self _validate_version version N/A N/A self version version N/A name N/A self tpl N/A N/A N/A N/A name SECTIONS N/A name N/A N/A N/A self ADDITIONAL_SECTIONS get version N/A N/A N/A N/A N/A ExceptionCollector appendException N/A UnknownFieldError what Template field name N/A _validate_version N/A N/A self version N/A N/A N/A N/A version N/A self VALID_TEMPLATE_VERSIONS N/A N/A N/A N/A ExceptionCollector appendException N/A InvalidTemplateVersion what version valid_versions N/A N/A ,  join N/A self VALID_TEMPLATE_VERSIONS N/A N/A N/A version tosca_simple_yaml_1_0 N/A N/A N/A update_definitions version N/A _get_path N/A N/A self path N/A N/A N/A N/A N/A N/A N/A path lower endswith .yaml N/A N/A path N/A N/A N/A N/A N/A N/A path lower endswith N/A .zip .csar N/A N/A csar N/A CSAR path N/A self a_file N/A N/A N/A csar validate N/A N/A N/A N/A csar decompress N/A N/A self a_file True N/A N/A N/A N/A os path join N/A csar temp_dir N/A N/A csar get_main_template N/A N/A N/A N/A ExceptionCollector appendException N/A ValueError N/A N/A _ "%(path)s" is not a valid file. N/A path path N/A verify_template N/A N/A self N/A N/A N/A N/A N/A ExceptionCollector exceptionsCaught N/A N/A N/A self input_path N/A N/A N/A ValidationError message N/A N/A N/A _ 
The input "%(path)s" failed validation with the following error(s): 

	 N/A path N/A self input_path N/A N/A join N/A N/A ExceptionCollector getExceptionsReport N/A N/A N/A ValidationError message N/A N/A _ 
The pre-parsed input failed validation with the following error(s): 

	 N/A N/A join N/A N/A ExceptionCollector getExceptionsReport N/A N/A N/A self input_path N/A N/A msg N/A N/A _ The input "%(path)s" successfully passed validation. N/A path N/A self input_path N/A N/A msg N/A _ The pre-parsed input successfully passed validation. N/A N/A N/A log info msg N/A N/A