juju/client/_client7.py
async def AddCredentials(self, credentials=None):
        '''
        AddCredentials adds new credentials.
        In contrast to UpdateCredentials() below, the new credentials can be
        for a cloud that the controller does not manage (this is required
        for CAAS models)

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

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='Cloud',
                   request='AddCredentials',
                   version=7,
                   params=_params)
        _params['credentials'] = credentials
        reply = await self.rpc(msg)
        return reply

        AddCredentials adds new credentials.
        In contrast to UpdateCredentials() below, the new credentials can be
        for a cloud that the controller does not manage (this is required
        for CAAS models)

        credentials : typing.Sequence[~TaggedCredential]
        Returns -> ErrorResults
        
AddCredentials adds new credentials.
In contrast to UpdateCredentials() below, the new credentials can be
for a cloud that the controller does not manage (this is required
for CAAS models)


AddCredentials adds new credentials . In contrast to UpdateCredentials () below the new credentials can be for a cloud that the controller does not manage ( this is required for CAAS models )
async def AddCredentials(self, credentials=None):
        if credentials is not None and not isinstance(credentials, (bytes, str, list)):
            raise Exception("Expected credentials to be a Sequence, received: {}".format(type(credentials)))
        _params = dict()
        msg = dict(type='Cloud',
                   request='AddCredentials',
                   version=7,
                   params=_params)
        _params['credentials'] = credentials
        reply = await self.rpc(msg)
        return reply
async def AddCredentials ( self , credentials = None ) : if credentials is not None and not isinstance ( credentials , ( bytes , str , list ) ) : raise Exception ( "Expected credentials to be a Sequence, received: {}" . format ( type ( credentials ) ) ) _params = dict ( ) msg = dict ( type = 'Cloud' , request = 'AddCredentials' , version = 7 , params = _params ) _params [ 'credentials' ] = credentials reply = await self . rpc ( msg ) return reply
AddCredentials adds new credentials.
AddCredentials adds new credentials .
'''
        AddCredentials adds new credentials.
        In contrast to UpdateCredentials() below, the new credentials can be
        for a cloud that the controller does not manage (this is required
        for CAAS models)

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