16 lines
561 B
Python
16 lines
561 B
Python
from frostfs_sdk import ContainerCreateParam, WaitParam, Container, PlacementPolicy, Replica, BasicAcl
|
|
|
|
|
|
class ParamsContainerHelper:
|
|
def create_params_container_create(self):
|
|
req_container_create = ContainerCreateParam(
|
|
container=Container(
|
|
placementPolicy=PlacementPolicy(
|
|
replicas=[Replica(count=1)],
|
|
unique=True,
|
|
backup_factory=0
|
|
)
|
|
),
|
|
wait_params=WaitParam()
|
|
)
|
|
return req_container_create
|