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

        return self.request('login', args)
Initialise the IronicClientWrapper for use.
dataset/ETHPy150Open jasonhancock/cloudstack-python-client/CloudStack/Client.py/Client.login--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/ironic/client_wrapper.py/IronicClientWrapper.__init__