Skip to content

BucketSettings

Bases: BaseModel

Configuration for a bucket

Source code in reduct/bucket.py
36
37
38
39
40
41
42
43
44
45
46
47
48
49
class BucketSettings(BaseModel):
    """Configuration for a bucket"""

    max_block_size: Optional[int] = None
    """max block size in bytes"""

    max_block_records: Optional[int] = None
    """max number of records in a block"""

    quota_type: Optional[QuotaType] = None
    """quota type"""

    quota_size: Optional[int] = None
    """quota size in bytes"""

max_block_records: Optional[int] = None class-attribute instance-attribute

max number of records in a block

max_block_size: Optional[int] = None class-attribute instance-attribute

max block size in bytes

quota_size: Optional[int] = None class-attribute instance-attribute

quota size in bytes

quota_type: Optional[QuotaType] = None class-attribute instance-attribute

quota type