(self, path, **kwargs)
return None
Read file input into memory, returning deserialized objects

        :param path: Path of file to read
Read file input into memory, returning deserialized objects
Read file input into memory returning deserialized objects
def read_file(self, path, **kwargs):
        """Read file input into memory, returning deserialized objects

        :param path: Path of file to read
        """
        try:
            with open(path, "r") as handle:
                parsed_data = yaml.safe_load(handle)
                return parsed_data
        except IOError:
            LOGGER.warning(
                "Error reading file: {0}".format(path),
                type="autoapi",
                subtype="not_readable",
            )
        except TypeError:
            LOGGER.warning(
                "Error reading file: {0}".format(path),
                type="autoapi",
                subtype="not_readable",
            )
        return None
def read_file ( self , path , * * kwargs ) : try : with open ( path , "r" ) as handle : parsed_data = yaml . safe_load ( handle ) return parsed_data except IOError : LOGGER . warning ( "Error reading file: {0}" . format ( path ) , type = "autoapi" , subtype = "not_readable" , ) except TypeError : LOGGER . warning ( "Error reading file: {0}" . format ( path ) , type = "autoapi" , subtype = "not_readable" , ) return None