-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor logging to use lazy interpolation #2062
Labels
Comments
it would, totally agree |
A quick grep revealed the following places where
Will check off individual file as they are migrated to using lazy interpolation |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While not a bug, it seems like the logging behavior of Flask-AppBuilder is not very consistent. Some logging is done with
%
formatting, some with.format
function call, some with f-strings, and some with lazy interpolation, the last of which is pedantically the "correct" way to log.Would it make sense to refactor all logging function calls in Flask-AppBuilder to use lazy interpolation? Here is an example of lazy interpolation already being used:
Flask-AppBuilder/flask_appbuilder/models/sqla/filters.py
Line 254 in 4f9873a
The text was updated successfully, but these errors were encountered: