def METHOD_NAME(self):
    database_url = self.options.get("database_url")
    if database_url:
        return nullcontext(enter_result=database_url)
    else:
        return self._temp_database_url()