dpgaspar commented on a change in pull request #8766: Re-enable pylint for
superset/utils folder
URL:
https://github.com/apache/incubator-superset/pull/8766#discussion_r354914996
##########
File path: superset/utils/import_datasource.py
##########
@@ -30,7 +29,7 @@ def import_datasource(
superset instances. Audit metadata isn't copies over.
"""
make_transient(i_datasource)
- logging.info("Started import of the datasource:
{}".format(i_datasource.to_json()))
+ logging.info("Started import of the datasource: %s",
i_datasource.to_json())
Review comment:
Can we use f strings instead?
----------------------------------------------------------------
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]