chore: Update pylint to 2.17.4 (#24700)

Co-authored-by: John Bodley <john.bodley@gmail.com>
This commit is contained in:
EugeneTorap
2023-07-25 03:13:49 +03:00
committed by GitHub
parent c17accc0b4
commit fc89718d48
99 changed files with 297 additions and 336 deletions

View File

@@ -299,14 +299,13 @@ class Query(
def default_endpoint(self) -> str:
return ""
@staticmethod
def get_extra_cache_keys(query_obj: dict[str, Any]) -> list[Hashable]:
def get_extra_cache_keys(self, query_obj: dict[str, Any]) -> list[Hashable]:
return []
@property
def tracking_url(self) -> Optional[str]:
"""
Transfrom tracking url at run time because the exact URL may depends
Transform tracking url at run time because the exact URL may depend
on query properties such as execution and finish time.
"""
transform = current_app.config.get("TRACKING_URL_TRANSFORMER")