def sync_media(self, hkey: str, endpoint: str) -> None: self._run_command( pb.BackendInput(sync_media=pb.SyncMediaIn( hkey=hkey, endpoint=endpoint, )), release_gil=True, )
def sync_media(self, *, hkey: str, endpoint: str) -> pb.Empty: input = pb.SyncMediaIn(hkey=hkey, endpoint=endpoint) output = pb.Empty() output.ParseFromString(self._run_command(56, input)) return output