From fea67b47180923cc4d53d1b899c8bbe38fd93084 Mon Sep 17 00:00:00 2001 From: Ben Schulz <110361904+ben-schulz-mh@users.noreply.github.com> Date: Fri, 27 Dec 2024 13:29:36 +1000 Subject: [PATCH] fix up docstring --- singer_sdk/mapper.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/singer_sdk/mapper.py b/singer_sdk/mapper.py index 3e6895eb4..994ce0cb5 100644 --- a/singer_sdk/mapper.py +++ b/singer_sdk/mapper.py @@ -64,7 +64,13 @@ def md5(string: str) -> str: def sha256(value: str) -> str: - """Digest a string using SHA256. This is a function for inline calculations.""" + """Digest a string using SHA256. This is a function for inline calculations. + + Args: + string: String to digest. + Returns: + A string digested into SHA256. + """ return hashlib.sha256(value.encode("utf-8")).hexdigest()