frostfs-testlib/src/frostfs_testlib/storage/grps_operations/client_wrappers.py
Dmitriy Zayakin 89defc47aa
Some checks reported warnings
DCO action / DCO (pull_request) Has been cancelled
[#283] New grpc realization for object operations
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2024-08-15 13:03:00 +03:00

14 lines
600 B
Python

from frostfs_testlib.cli.frostfs_cli.cli import FrostfsCli
from frostfs_testlib.storage.grps_operations import interfaces
from frostfs_testlib.storage.grps_operations.implementations import container, object
class CliClientWrapper(interfaces.GrpcClientWrapper):
def __init__(self, cli: FrostfsCli) -> None:
self.cli = cli
self.object: interfaces.ObjectInterface = object.ObjectOperations(self.cli)
self.container: interfaces.ContainerInterface = container.ContainerOperations(self.cli)
class RpcClientWrapper(interfaces.GrpcClientWrapper):
pass # The next series