(self, contents: str, template_paths: List[str] = None, source: str = None, version: str = None)
**Parameters:**
        - **contents** (_str_) - the raw text contents of a spec
        - **template_paths** (_list_) - a sequence of directories that will take precedence when looking for templates
        - **source** (_str_) - a textual representation of what the spec refers to, usually an integration name
        - **version** (_str_) - the version of the spec to default to if the spec does not define one
**Parameters:**
        - **contents** (_str_) - the raw text contents of a spec
        - **template_paths** (_list_) - a sequence of directories that will take precedence when looking for templates
        - **source** (_str_) - a textual representation of what the spec refers to, usually an integration name
        - **version** (_str_) - the version of the spec to default to if the spec does not define one
** Parameters : ** - ** contents ** ( _str_ ) - the raw text contents of a spec - ** template_paths ** ( _list_ ) - a sequence of directories that will take precedence when looking for templates - ** source ** ( _str_ ) - a textual representation of what the spec refers to usually an integration name - ** version ** ( _str_ ) - the version of the spec to default to if the spec does not define one
def __init__(self, contents: str, template_paths: List[str] = None, source: str = None, version: str = None):
        """
        **Parameters:**
        - **contents** (_str_) - the raw text contents of a spec
        - **template_paths** (_list_) - a sequence of directories that will take precedence when looking for templates
        - **source** (_str_) - a textual representation of what the spec refers to, usually an integration name
        - **version** (_str_) - the version of the spec to default to if the spec does not define one
        """
        self.contents = contents
        self.source = source
        self.version = version
        self.templates = ConfigTemplates(template_paths)
        self.data: Union[dict, None] = None
        self.errors = []
def __init__ ( self , contents : str , template_paths : List [ str ] = None , source : str = None , version : str = None ) : self . contents = contents self . source = source self . version = version self . templates = ConfigTemplates ( template_paths ) self . data : Union [ dict , None ] = None self . errors = [ ]