mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: upgrade black (#19410)
This commit is contained in:
@@ -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