def attachVolume(self, args={}):
        if not 'id' in args:
            raise RuntimeError("Missing required argument 'id'")
        if not 'virtualmachineid' in args:
            raise RuntimeError("Missing required argument 'virtualmachineid'")

        return self.request('attachVolume', args)
Testing the PUT review-requests/<id>/draft/ API
dataset/ETHPy150Open jasonhancock/cloudstack-python-client/CloudStack/Client.py/Client.attachVolume--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/tests/test_review_request_draft.py/ResourceTests.test_put_with_depends_on