juju/client/_client2.py
async def WriteAgentState(self, args=None):
        '''
        WriteAgentState writes the agent state for the set of units provided. This
        call presently deals with the state for the unit agent.

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

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='UpgradeSteps',
                   request='WriteAgentState',
                   version=2,
                   params=_params)
        _params['args'] = args
        reply = await self.rpc(msg)
        return reply

        WriteAgentState writes the agent state for the set of units provided. This
        call presently deals with the state for the unit agent.

        args : typing.Sequence[~SetUnitStateArg]
        Returns -> ErrorResults
        
WriteAgentState writes the agent state for the set of units provided. This
call presently deals with the state for the unit agent.


WriteAgentState writes the agent state for the set of units provided . This call presently deals with the state for the unit agent .
async def WriteAgentState(self, args=None):
        if args is not None and not isinstance(args, (bytes, str, list)):
            raise Exception("Expected args to be a Sequence, received: {}".format(type(args)))
        _params = dict()
        msg = dict(type='UpgradeSteps',
                   request='WriteAgentState',
                   version=2,
                   params=_params)
        _params['args'] = args
        reply = await self.rpc(msg)
        return reply
async def WriteAgentState ( self , args = None ) : if args is not None and not isinstance ( args , ( bytes , str , list ) ) : raise Exception ( "Expected args to be a Sequence, received: {}" . format ( type ( args ) ) ) _params = dict ( ) msg = dict ( type = 'UpgradeSteps' , request = 'WriteAgentState' , version = 2 , params = _params ) _params [ 'args' ] = args reply = await self . rpc ( msg ) return reply
WriteAgentState writes the agent state for the set of units provided.
WriteAgentState writes the agent state for the set of units provided .
'''
        WriteAgentState writes the agent state for the set of units provided. This
        call presently deals with the state for the unit agent.

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