juju/client/_client1.py
async def UpgradeOperator(self, agent_tag=None, version=None):
        '''
        UpgradeOperator upgrades the operator for the specified agents.

        agent_tag : str
        version : Number
        Returns -> ErrorResult
        '''
        if agent_tag is not None and not isinstance(agent_tag, (bytes, str)):
            raise Exception("Expected agent_tag to be a str, received: {}".format(type(agent_tag)))

        if version is not None and not isinstance(version, (dict, Number)):
            raise Exception("Expected version to be a Number, received: {}".format(type(version)))

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='CAASOperatorUpgrader',
                   request='UpgradeOperator',
                   version=1,
                   params=_params)
        _params['agent-tag'] = agent_tag
        _params['version'] = version
        reply = await self.rpc(msg)
        return reply

        UpgradeOperator upgrades the operator for the specified agents.

        agent_tag : str
        version : Number
        Returns -> ErrorResult
        
UpgradeOperator upgrades the operator for the specified agents.
agent_tag : str
version : Number
Returns -> ErrorResult
UpgradeOperator upgrades the operator for the specified agents . agent_tag : str version : Number Returns - > ErrorResult
async def UpgradeOperator(self, agent_tag=None, version=None):
        if agent_tag is not None and not isinstance(agent_tag, (bytes, str)):
            raise Exception("Expected agent_tag to be a str, received: {}".format(type(agent_tag)))
        if version is not None and not isinstance(version, (dict, Number)):
            raise Exception("Expected version to be a Number, received: {}".format(type(version)))
        _params = dict()
        msg = dict(type='CAASOperatorUpgrader',
                   request='UpgradeOperator',
                   version=1,
                   params=_params)
        _params['agent-tag'] = agent_tag
        _params['version'] = version
        reply = await self.rpc(msg)
        return reply
async def UpgradeOperator ( self , agent_tag = None , version = None ) : if agent_tag is not None and not isinstance ( agent_tag , ( bytes , str ) ) : raise Exception ( "Expected agent_tag to be a str, received: {}" . format ( type ( agent_tag ) ) ) if version is not None and not isinstance ( version , ( dict , Number ) ) : raise Exception ( "Expected version to be a Number, received: {}" . format ( type ( version ) ) ) _params = dict ( ) msg = dict ( type = 'CAASOperatorUpgrader' , request = 'UpgradeOperator' , version = 1 , params = _params ) _params [ 'agent-tag' ] = agent_tag _params [ 'version' ] = version reply = await self . rpc ( msg ) return reply
UpgradeOperator upgrades the operator for the specified agents.
UpgradeOperator upgrades the operator for the specified agents .
'''
        UpgradeOperator upgrades the operator for the specified agents.

        agent_tag : str
        version : Number
        Returns -> ErrorResult
        ''' # map input types to rpc msg
self
agent_tag
version