juju/client/_client3.py
async def SetUpgradeSeriesUnitStatus(self, params=None):
        '''
        SetUpgradeSeriesUnitStatus sets the upgrade series status of the unit.
        If no upgrade is in progress an error is returned instead.

        params : typing.Sequence[~UpgradeSeriesStatusParam]
        Returns -> ErrorResults
        '''
        if params is not None and not isinstance(params, (bytes, str, list)):
            raise Exception("Expected params to be a Sequence, received: {}".format(type(params)))

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='UpgradeSeries',
                   request='SetUpgradeSeriesUnitStatus',
                   version=3,
                   params=_params)
        _params['params'] = params
        reply = await self.rpc(msg)
        return reply

        SetUpgradeSeriesUnitStatus sets the upgrade series status of the unit.
        If no upgrade is in progress an error is returned instead.

        params : typing.Sequence[~UpgradeSeriesStatusParam]
        Returns -> ErrorResults
        
SetUpgradeSeriesUnitStatus sets the upgrade series status of the unit.
If no upgrade is in progress an error is returned instead.


SetUpgradeSeriesUnitStatus sets the upgrade series status of the unit . If no upgrade is in progress an error is returned instead .
async def SetUpgradeSeriesUnitStatus(self, params=None):
        if params is not None and not isinstance(params, (bytes, str, list)):
            raise Exception("Expected params to be a Sequence, received: {}".format(type(params)))
        _params = dict()
        msg = dict(type='UpgradeSeries',
                   request='SetUpgradeSeriesUnitStatus',
                   version=3,
                   params=_params)
        _params['params'] = params
        reply = await self.rpc(msg)
        return reply
async def SetUpgradeSeriesUnitStatus ( self , params = None ) : if params is not None and not isinstance ( params , ( bytes , str , list ) ) : raise Exception ( "Expected params to be a Sequence, received: {}" . format ( type ( params ) ) ) _params = dict ( ) msg = dict ( type = 'UpgradeSeries' , request = 'SetUpgradeSeriesUnitStatus' , version = 3 , params = _params ) _params [ 'params' ] = params reply = await self . rpc ( msg ) return reply
SetUpgradeSeriesUnitStatus sets the upgrade series status of the unit.
SetUpgradeSeriesUnitStatus sets the upgrade series status of the unit .
'''
        SetUpgradeSeriesUnitStatus sets the upgrade series status of the unit.
        If no upgrade is in progress an error is returned instead.

        params : typing.Sequence[~UpgradeSeriesStatusParam]
        Returns -> ErrorResults
        ''' # map input types to rpc msg
self
params