From a935134b70f1bd57da4085b97283fea6f1a74b05 Mon Sep 17 00:00:00 2001 From: "Jonathan M. Henson" Date: Mon, 6 Nov 2023 15:47:37 -0800 Subject: [PATCH] Update awscrt/s3.py add better documentation. Co-authored-by: Nate Prewitt --- awscrt/s3.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/awscrt/s3.py b/awscrt/s3.py index 2d3fc4258..5c7a3e63e 100644 --- a/awscrt/s3.py +++ b/awscrt/s3.py @@ -53,7 +53,14 @@ def crt_instance_lock_acquire(lock_scope_name): the lock is already held by another caller. Callers should use this value in a with block for automatic release when they're finished with it, or explicitly call release(). When the process exits, this lock will be released regardless of if - release has been invoked. """ + release has been invoked. + + Keyword Args: + lock_scope_name (str): Unique string identifying the caller holding the lock. + + Returns: + InstanceLock + """ return InstanceLock(_awscrt.s3_instance_lock_acquire(lock_scope_name))