async def SetPhase(self, phase):
        '''
        phase : str
        Returns -> None
        '''
        # map input types to rpc msg
        _params = dict()
        msg = dict(type='MigrationMaster',
                   request='SetPhase',
                   version=1,
                   params=_params)
        _params['phase'] = phase
        reply = await self.rpc(msg)
        return reply
async def SetPhase ( self , phase ) : _params = dict ( ) msg = dict ( type = 'MigrationMaster' , request = 'SetPhase' , version = 1 , params = _params ) _params [ 'phase' ] = phase reply = await self . rpc ( msg ) return reply
phase : str
        Returns -> None