Skip to content

Commit 614efa6

Browse files
committed
docs
1 parent aaca17c commit 614efa6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ class DistributedSemaphore(BaseModel):
9898
),
9999
] = DEFAULT_FACTORY
100100

101+
# Private state attributes (not part of the model)
101102
_acquire_script: AsyncScript
102103
_count_script: AsyncScript
103104
_release_script: AsyncScript
@@ -130,8 +131,6 @@ def holder_key(self) -> str:
130131
"""Redis key for this instance's holder entry."""
131132
return f"{SEMAPHORE_HOLDER_KEY_PREFIX}{self.key}:{self.instance_id}"
132133

133-
# Private state attributes (not part of the model)
134-
135134
# Additional validation
136135
@field_validator("ttl")
137136
@classmethod

0 commit comments

Comments
 (0)