mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
chore: upgrade black (#19410)
This commit is contained in:
committed by
Ville Brofeldt
parent
1edd5f1343
commit
a70f4dc52f
@@ -341,7 +341,11 @@ class QueryObject: # pylint: disable=too-many-instance-attributes
|
||||
|
||||
def __repr__(self) -> str:
|
||||
# we use `print` or `logging` output QueryObject
|
||||
return json.dumps(self.to_dict(), sort_keys=True, default=str,)
|
||||
return json.dumps(
|
||||
self.to_dict(),
|
||||
sort_keys=True,
|
||||
default=str,
|
||||
)
|
||||
|
||||
def cache_key(self, **extra: Any) -> str:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user