@classmethod
    def _parse_database(self, database_filename):
        if getattr(self, '_database_cache', None) is None:
                self._database_cache = {}
        if self._database_cache.get(database_filename, None) is None:
            self._database_cache[database_filename] = parse_database(
                    database_filename)
        return database_filename, self._database_cache[database_filename]
dataset/ETHPy150Open openxc/openxc-python/openxc/generator/message_sets.py/JsonMessageSet._parse_database/original