Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SireInsectus committed Oct 10, 2022
1 parent d38a2a2 commit 122f1f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbacademy_gems/dbgems/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def is_generating_docs() -> bool:
return str(value).lower() == "true"


def stable_hash(*args, length):
def stable_hash(*args, length: int) -> str:
import hashlib
data = ":".join(args).encode("utf-8")
value = int(hashlib.md5(data).hexdigest(), 16)
Expand Down

0 comments on commit 122f1f6

Please sign in to comment.