def METHOD_NAME(self, database_path: str) -> None:
    if database_path != ":memory:":
        database_path = self.abspath(database_path)
    self.databases[0].config["args"]["database"] = database_path