Пример #1
0
 async def mkdir(self, container: FileContainer, path: str) -> None:
     await self.stub.mkdir(
         MkdirRequest(
             bundle_id=file_container_to_bundle_id_deprecated(container),
             path=path,
             container=file_container_to_grpc(container),
         ))
Пример #2
0
 async def mkdir(self, bundle_id: str, path: str) -> None:
     async with self.get_stub() as stub:
         await stub.mkdir(MkdirRequest(bundle_id=bundle_id, path=path))
Пример #3
0
 async def mkdir(self, container: FileContainer, path: str) -> None:
     await self.stub.mkdir(
         MkdirRequest(path=path,
                      container=file_container_to_grpc(container)))
Пример #4
0
async def client(client: CompanionClient, bundle_id: str, path: str) -> None:
    await client.stub.mkdir(MkdirRequest(bundle_id=bundle_id, path=path))
Пример #5
0
 async def mkdir(self, bundle_id: str, path: str) -> None:
     await self.stub.mkdir(MkdirRequest(bundle_id=bundle_id, path=path))