You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/01/19 20:22:19 UTC

[GitHub] [superset] hughhhh commented on a change in pull request #18093: feat: allow assets to be managed externally

hughhhh commented on a change in pull request #18093:
URL: https://github.com/apache/superset/pull/18093#discussion_r788107579



##########
File path: superset/connectors/base/models.py
##########
@@ -110,6 +110,8 @@ def name(self) -> str:
     params = Column(String(1000))
     perm = Column(String(1000))
     schema_perm = Column(String(1000))
+    is_managed_externally = Column(Boolean, default=False)
+    external_url = Column(Text, nullable=True)

Review comment:
       couldnt we just compute the `is_managed_externally` based upon the if `external_url` ? instead of having a seperate column?




-- 
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-unsubscribe@superset.apache.org

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



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