kopia lustrzana https://github.com/bugout-dev/moonstream
Black formating.
rodzic
612da984a7
commit
7b3df0912c
|
@ -624,6 +624,8 @@ def query_parameter_hash(params: Dict[str, Any]) -> str:
|
|||
Generate a hash of the query parameters
|
||||
"""
|
||||
|
||||
hash = hashlib.md5(json.dumps(OrderedDict(params), sort_keys=True).encode("utf-8")).hexdigest()
|
||||
hash = hashlib.md5(
|
||||
json.dumps(OrderedDict(params), sort_keys=True).encode("utf-8")
|
||||
).hexdigest()
|
||||
|
||||
return hash
|
||||
|
|
Ładowanie…
Reference in New Issue