chore: upgrade black (#19410)

This commit is contained in:
Ville Brofeldt
2022-03-29 20:03:09 +03:00
committed by GitHub
parent 816a2c3e1e
commit a619cb4ea9
204 changed files with 2125 additions and 608 deletions

View File

@@ -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:
"""