juju/client/_client2.py
async def GetRebootAction(self, entities=None):
        '''
        GetRebootAction returns the action a machine agent should take.
        If a reboot flag is set on the machine, then that machine is
        expected to reboot (params.ShouldReboot).
        a reboot flag set on the machine parent or grandparent, will
        cause the machine to shutdown (params.ShouldShutdown).
        If no reboot flag is set, the machine should do nothing (params.ShouldDoNothing).

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

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

        GetRebootAction returns the action a machine agent should take.
        If a reboot flag is set on the machine, then that machine is
        expected to reboot (params.ShouldReboot).
        a reboot flag set on the machine parent or grandparent, will
        cause the machine to shutdown (params.ShouldShutdown).
        If no reboot flag is set, the machine should do nothing (params.ShouldDoNothing).

        entities : typing.Sequence[~Entity]
        Returns -> RebootActionResults
        
GetRebootAction returns the action a machine agent should take.
If a reboot flag is set on the machine, then that machine is
expected to reboot (params.ShouldReboot).
a reboot flag set on the machine parent or grandparent, will
cause the machine to shutdown (params.ShouldShutdown).
If no reboot flag is set, the machine should do nothing (params.ShouldDoNothing).

entities : typing.Sequence[~Entity]
Returns -> RebootActionResults
GetRebootAction returns the action a machine agent should take . If a reboot flag is set on the machine then that machine is expected to reboot ( params . ShouldReboot ) . a reboot flag set on the machine parent or grandparent will cause the machine to shutdown ( params . ShouldShutdown ) . If no reboot flag is set the machine should do nothing ( params . ShouldDoNothing ) . entities : typing . Sequence [ ~Entity ] Returns - > RebootActionResults
async def GetRebootAction(self, entities=None):
        if entities is not None and not isinstance(entities, (bytes, str, list)):
            raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
        _params = dict()
        msg = dict(type='Reboot',
                   request='GetRebootAction',
                   version=2,
                   params=_params)
        _params['entities'] = entities
        reply = await self.rpc(msg)
        return reply
async def GetRebootAction ( self , entities = None ) : if entities is not None and not isinstance ( entities , ( bytes , str , list ) ) : raise Exception ( "Expected entities to be a Sequence, received: {}" . format ( type ( entities ) ) ) _params = dict ( ) msg = dict ( type = 'Reboot' , request = 'GetRebootAction' , version = 2 , params = _params ) _params [ 'entities' ] = entities reply = await self . rpc ( msg ) return reply
GetRebootAction returns the action a machine agent should take.
GetRebootAction returns the action a machine agent should take .
'''
        GetRebootAction returns the action a machine agent should take.
        If a reboot flag is set on the machine, then that machine is
        expected to reboot (params.ShouldReboot).
        a reboot flag set on the machine parent or grandparent, will
        cause the machine to shutdown (params.ShouldShutdown).
        If no reboot flag is set, the machine should do nothing (params.ShouldDoNothing).

        entities : typing.Sequence[~Entity]
        Returns -> RebootActionResults
        ''' # map input types to rpc msg
self
entities