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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to