juju/client/_client2.py
async def AllAddresses(self, entities=None):
        '''
        AllAddresses reports all addresses that might have SSH listening for each given
        entity in args. Machines and units are supported as entity types.
        TODO(wpk): 2017-05-17 This is a temporary solution, we should not fetch environ here
        but get the addresses from state. We will be changing it since we want to have space-aware
        SSH settings.

        entities : typing.Sequence[~Entity]
        Returns -> SSHAddressesResults
        '''
        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='SSHClient',
                   request='AllAddresses',
                   version=2,
                   params=_params)
        _params['entities'] = entities
        reply = await self.rpc(msg)
        return reply

        AllAddresses reports all addresses that might have SSH listening for each given
        entity in args. Machines and units are supported as entity types.
        TODO(wpk): 2017-05-17 This is a temporary solution, we should not fetch environ here
        but get the addresses from state. We will be changing it since we want to have space-aware
        SSH settings.

        entities : typing.Sequence[~Entity]
        Returns -> SSHAddressesResults
        
AllAddresses reports all addresses that might have SSH listening for each given
entity in args. Machines and units are supported as entity types.
TODO(wpk): 2017-05-17 This is a temporary solution, we should not fetch environ here
but get the addresses from state. We will be changing it since we want to have space-aware
SSH settings.

entities : typing.Sequence[~Entity]
Returns -> SSHAddressesResults
AllAddresses reports all addresses that might have SSH listening for each given entity in args . Machines and units are supported as entity types . TODO ( wpk ) : 2017 - 05 - 17 This is a temporary solution we should not fetch environ here but get the addresses from state . We will be changing it since we want to have space - aware SSH settings . entities : typing . Sequence [ ~Entity ] Returns - > SSHAddressesResults
async def AllAddresses(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='SSHClient',
                   request='AllAddresses',
                   version=2,
                   params=_params)
        _params['entities'] = entities
        reply = await self.rpc(msg)
        return reply
async def AllAddresses ( 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 = 'SSHClient' , request = 'AllAddresses' , version = 2 , params = _params ) _params [ 'entities' ] = entities reply = await self . rpc ( msg ) return reply
AllAddresses reports all addresses that might have SSH listening for each given
entity in args.
AllAddresses reports all addresses that might have SSH listening for each given entity in args .
'''
        AllAddresses reports all addresses that might have SSH listening for each given
        entity in args. Machines and units are supported as entity types.
        TODO(wpk): 2017-05-17 This is a temporary solution, we should not fetch environ here
        but get the addresses from state. We will be changing it since we want to have space-aware
        SSH settings.

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