def METHOD_NAME(self):
    if self._schema_editor is None:
        schema_editor_cls = (
            SafePostgresDatabaseSchemaEditor if self.safe else PostgresDatabaseSchemaEditor
        )
        METHOD_NAME = schema_editor_cls(*self.args, **self.kwargs)
        METHOD_NAME.__enter__()
        self._schema_editor = METHOD_NAME
    return self._schema_editor