(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
        """
        dir_root = kwargs.get("dir_root")
        try:
            if self._use_implicit_namespace:
                parsed_data = Parser().parse_file_in_namespace(path, dir_root)
            else:
                parsed_data = Parser().parse_file(path)
            return parsed_data
        except (IOError, TypeError, ImportError):
            LOGGER.debug("Reason:", exc_info=True)
            LOGGER.warning(
                "Unable to read file: {0}".format(path),
                type="autoapi",
                subtype="not_readable",
            )
        return None
def read_file ( self , path , * * kwargs ) : dir_root = kwargs . get ( "dir_root" ) try : if self . _use_implicit_namespace : parsed_data = Parser ( ) . parse_file_in_namespace ( path , dir_root ) else : parsed_data = Parser ( ) . parse_file ( path ) return parsed_data except ( IOError , TypeError , ImportError ) : LOGGER . debug ( "Reason:" , exc_info = True ) LOGGER . warning ( "Unable to read file: {0}" . format ( path ) , type = "autoapi" , subtype = "not_readable" , ) return None