def run(self) -> None:
    self.validate()
    for (file_name, content) in self.contents.items():
        logger.info('Importing dashboard from file %s', file_name)
        import_dashboards(db.session, content, self.database_id)
def run(self) -> None:
    self.validate()
    for (file_name, content) in self.contents.items():
        logger.info('Importing dashboard from file %s', file_name)
        import_dashboards(db.session, content, self.database_id)