mistercrunch commented on code in PR #28378:
URL: https://github.com/apache/superset/pull/28378#discussion_r1594561278


##########
superset/models/core.py:
##########
@@ -1071,9 +1069,22 @@ def get_oauth2_config(self) -> OAuth2ClientConfig | None:
         return self.db_engine_spec.get_oauth2_config()
 
 
-sqla.event.listen(Database, "after_insert", 
security_manager.database_after_insert)

Review Comment:
   I like the idea of centralizing them there, but screams circular imports, 
let me see



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to