We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaca17c commit 614efa6Copy full SHA for 614efa6
packages/service-library/src/servicelib/redis/_semaphore.py
@@ -98,6 +98,7 @@ class DistributedSemaphore(BaseModel):
98
),
99
] = DEFAULT_FACTORY
100
101
+ # Private state attributes (not part of the model)
102
_acquire_script: AsyncScript
103
_count_script: AsyncScript
104
_release_script: AsyncScript
@@ -130,8 +131,6 @@ def holder_key(self) -> str:
130
131
"""Redis key for this instance's holder entry."""
132
return f"{SEMAPHORE_HOLDER_KEY_PREFIX}{self.key}:{self.instance_id}"
133
- # Private state attributes (not part of the model)
134
-
135
# Additional validation
136
@field_validator("ttl")
137
@classmethod
0 commit comments