def set_block_inputs(self, inputs: Dict[ObjectId, Dict[str, float]], block_id: int) -> SetInputsCommand: command = SetInputsCommand() command.set_inputs(inputs, block_id) response = self._client.run_command(command) if not response.result["acknowledged"]: raise NetworkProtocolException("Couldn't set block inputs.")