Skip to content

Commit 28d7351

Browse files
committed
minor
1 parent bd946cc commit 28d7351

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
@@ -30,6 +30,7 @@
3030
class DistributedSemaphore(BaseModel):
3131
"""
3232
Warning: This should only be used directly via the decorator
33+
3334
A distributed semaphore implementation using Redis.
3435
3536
This semaphore allows limiting the number of concurrent operations across
@@ -54,8 +55,6 @@ class DistributedSemaphore(BaseModel):
5455
# Model configuration
5556
model_config = {
5657
"arbitrary_types_allowed": True, # For RedisClientSDK
57-
"validate_assignment": True, # Validate on field assignment
58-
"extra": "forbid", # Prevent extra fields
5958
}
6059

6160
# Configuration fields with validation

0 commit comments

Comments
 (0)