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 bd946cc commit 28d7351Copy full SHA for 28d7351
packages/service-library/src/servicelib/redis/_semaphore.py
@@ -30,6 +30,7 @@
30
class DistributedSemaphore(BaseModel):
31
"""
32
Warning: This should only be used directly via the decorator
33
+
34
A distributed semaphore implementation using Redis.
35
36
This semaphore allows limiting the number of concurrent operations across
@@ -54,8 +55,6 @@ class DistributedSemaphore(BaseModel):
54
55
# Model configuration
56
model_config = {
57
"arbitrary_types_allowed": True, # For RedisClientSDK
- "validate_assignment": True, # Validate on field assignment
58
- "extra": "forbid", # Prevent extra fields
59
}
60
61
# Configuration fields with validation
0 commit comments