mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
[flake8] Resolving Q??? errors (#3847)
This commit is contained in:
committed by
Maxime Beauchemin
parent
630604bc6b
commit
ac57780607
@@ -122,7 +122,7 @@ class Query(Model):
|
||||
tab = (self.tab_name.replace(' ', '_').lower()
|
||||
if self.tab_name else 'notab')
|
||||
tab = re.sub(r'\W+', '', tab)
|
||||
return "sqllab_{tab}_{ts}".format(**locals())
|
||||
return 'sqllab_{tab}_{ts}'.format(**locals())
|
||||
|
||||
|
||||
class SavedQuery(Model, AuditMixinNullable):
|
||||
|
||||
Reference in New Issue
Block a user