juju/client/_client2.py
async def SetModelAgentVersion(self, force=None, version=None):
        '''
        SetModelAgentVersion sets the model agent version.

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

        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='Client',
                   request='SetModelAgentVersion',
                   version=2,
                   params=_params)
        _params['force'] = force
        _params['version'] = version
        reply = await self.rpc(msg)
        return reply

        SetModelAgentVersion sets the model agent version.

        force : bool
        version : Number
        Returns -> None
        
SetModelAgentVersion sets the model agent version.
force : bool
version : Number
Returns -> None
SetModelAgentVersion sets the model agent version . force : bool version : Number Returns - > None
async def SetModelAgentVersion(self, force=None, version=None):
        if force is not None and not isinstance(force, bool):
            raise Exception("Expected force to be a bool, received: {}".format(type(force)))
        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='Client',
                   request='SetModelAgentVersion',
                   version=2,
                   params=_params)
        _params['force'] = force
        _params['version'] = version
        reply = await self.rpc(msg)
        return reply
async def SetModelAgentVersion ( self , force = None , version = None ) : if force is not None and not isinstance ( force , bool ) : raise Exception ( "Expected force to be a bool, received: {}" . format ( type ( force ) ) ) 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 = 'Client' , request = 'SetModelAgentVersion' , version = 2 , params = _params ) _params [ 'force' ] = force _params [ 'version' ] = version reply = await self . rpc ( msg ) return reply
SetModelAgentVersion sets the model agent version.
SetModelAgentVersion sets the model agent version .
'''
        SetModelAgentVersion sets the model agent version.

        force : bool
        version : Number
        Returns -> None
        ''' # map input types to rpc msg
self
force
version