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 2020/03/24 06:17:11 UTC

[GitHub] [incubator-superset] mistercrunch commented on a change in pull request #9353: Implement dttm config

mistercrunch commented on a change in pull request #9353: Implement dttm config
URL: https://github.com/apache/incubator-superset/pull/9353#discussion_r396919888
 
 

 ##########
 File path: superset/connectors/sqla/models.py
 ##########
 @@ -1073,7 +1073,7 @@ def mutator(df: pd.DataFrame) -> None:
     def get_sqla_table_object(self) -> Table:
         return self.database.get_table(self.table_name, schema=self.schema)
 
-    def fetch_metadata(self) -> None:
+    def fetch_metadata(self, dttm_config={}) -> None:
 
 Review comment:
   Using mutable default args in python is a common gotcha https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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