juju/client/_client6.py
async def Run(self, applications=None, commands=None, machines=None, timeout=None, units=None, workload_context=None):
        '''
        Run the commands specified on the machines identified through the
        list of machines, units and services.

        applications : typing.Sequence[str]
        commands : str
        machines : typing.Sequence[str]
        timeout : int
        units : typing.Sequence[str]
        workload_context : bool
        Returns -> ActionResults
        '''
        if applications is not None and not isinstance(applications, (bytes, str, list)):
            raise Exception("Expected applications to be a Sequence, received: {}".format(type(applications)))

        if commands is not None and not isinstance(commands, (bytes, str)):
            raise Exception("Expected commands to be a str, received: {}".format(type(commands)))

        if machines is not None and not isinstance(machines, (bytes, str, list)):
            raise Exception("Expected machines to be a Sequence, received: {}".format(type(machines)))

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

        if units is not None and not isinstance(units, (bytes, str, list)):
            raise Exception("Expected units to be a Sequence, received: {}".format(type(units)))

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

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='Action',
                   request='Run',
                   version=6,
                   params=_params)
        _params['applications'] = applications
        _params['commands'] = commands
        _params['machines'] = machines
        _params['timeout'] = timeout
        _params['units'] = units
        _params['workload-context'] = workload_context
        reply = await self.rpc(msg)
        return reply

        Run the commands specified on the machines identified through the
        list of machines, units and services.

        applications : typing.Sequence[str]
        commands : str
        machines : typing.Sequence[str]
        timeout : int
        units : typing.Sequence[str]
        workload_context : bool
        Returns -> ActionResults
        
Run the commands specified on the machines identified through the
list of machines, units and services.


Run the commands specified on the machines identified through the list of machines units and services .
async def Run(self, applications=None, commands=None, machines=None, timeout=None, units=None, workload_context=None):
        if applications is not None and not isinstance(applications, (bytes, str, list)):
            raise Exception("Expected applications to be a Sequence, received: {}".format(type(applications)))
        if commands is not None and not isinstance(commands, (bytes, str)):
            raise Exception("Expected commands to be a str, received: {}".format(type(commands)))
        if machines is not None and not isinstance(machines, (bytes, str, list)):
            raise Exception("Expected machines to be a Sequence, received: {}".format(type(machines)))
        if timeout is not None and not isinstance(timeout, int):
            raise Exception("Expected timeout to be a int, received: {}".format(type(timeout)))
        if units is not None and not isinstance(units, (bytes, str, list)):
            raise Exception("Expected units to be a Sequence, received: {}".format(type(units)))
        if workload_context is not None and not isinstance(workload_context, bool):
            raise Exception("Expected workload_context to be a bool, received: {}".format(type(workload_context)))
        _params = dict()
        msg = dict(type='Action',
                   request='Run',
                   version=6,
                   params=_params)
        _params['applications'] = applications
        _params['commands'] = commands
        _params['machines'] = machines
        _params['timeout'] = timeout
        _params['units'] = units
        _params['workload-context'] = workload_context
        reply = await self.rpc(msg)
        return reply
async def Run ( self , applications = None , commands = None , machines = None , timeout = None , units = None , workload_context = None ) : if applications is not None and not isinstance ( applications , ( bytes , str , list ) ) : raise Exception ( "Expected applications to be a Sequence, received: {}" . format ( type ( applications ) ) ) if commands is not None and not isinstance ( commands , ( bytes , str ) ) : raise Exception ( "Expected commands to be a str, received: {}" . format ( type ( commands ) ) ) if machines is not None and not isinstance ( machines , ( bytes , str , list ) ) : raise Exception ( "Expected machines to be a Sequence, received: {}" . format ( type ( machines ) ) ) if timeout is not None and not isinstance ( timeout , int ) : raise Exception ( "Expected timeout to be a int, received: {}" . format ( type ( timeout ) ) ) if units is not None and not isinstance ( units , ( bytes , str , list ) ) : raise Exception ( "Expected units to be a Sequence, received: {}" . format ( type ( units ) ) ) if workload_context is not None and not isinstance ( workload_context , bool ) : raise Exception ( "Expected workload_context to be a bool, received: {}" . format ( type ( workload_context ) ) ) _params = dict ( ) msg = dict ( type = 'Action' , request = 'Run' , version = 6 , params = _params ) _params [ 'applications' ] = applications _params [ 'commands' ] = commands _params [ 'machines' ] = machines _params [ 'timeout' ] = timeout _params [ 'units' ] = units _params [ 'workload-context' ] = workload_context reply = await self . rpc ( msg ) return reply
Run the commands specified on the machines identified through the
list of machines, units and services.
Run the commands specified on the machines identified through the list of machines units and services .
'''
        Run the commands specified on the machines identified through the
        list of machines, units and services.

        applications : typing.Sequence[str]
        commands : str
        machines : typing.Sequence[str]
        timeout : int
        units : typing.Sequence[str]
        workload_context : bool
        Returns -> ActionResults
        ''' # map input types to rpc msg
self
applications
commands
machines
timeout
units
workload_context