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

        return self.request('createSnapshot', args)
Checks the type of object passed to query relations.
dataset/ETHPy150Open jasonhancock/cloudstack-python-client/CloudStack/Client.py/Client.createSnapshot--crossover with--dataset/ETHPy150Open django/django/django/db/models/sql/query.py/Query.check_related_objects