Skip to content

Commit 62526e4

Browse files
committed
doc
1 parent a0f1443 commit 62526e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/service-library/src/servicelib/redis/_project_lock.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,13 @@ def with_project_locked(
3434
project_uuid -- the project UUID
3535
status -- the project status
3636
owner -- the owner of the lock (default: {None})
37-
notification_cb -- a notification callback that will be called AFTER the project is locked and AFTER it was unlocked
37+
notification_cb -- an optional notification callback that will be called AFTER the project is locked and AFTER it was unlocked
3838
3939
Returns:
4040
the decorated function return value
41+
42+
Raises:
43+
raises anything from the decorated function and from the optional notification callback
4144
"""
4245

4346
def _decorator(

0 commit comments

Comments
 (0)