juju/client/_client2.py
async def InvalidateModelCredential(self, reason=None):
        '''
        InvalidateModelCredential marks the cloud credential for this model as invalid.

        reason : str
        Returns -> ErrorResult
        '''
        if reason is not None and not isinstance(reason, (bytes, str)):
            raise Exception("Expected reason to be a str, received: {}".format(type(reason)))

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

        InvalidateModelCredential marks the cloud credential for this model as invalid.

        reason : str
        Returns -> ErrorResult
        
InvalidateModelCredential marks the cloud credential for this model as invalid.
reason : str
Returns -> ErrorResult
InvalidateModelCredential marks the cloud credential for this model as invalid . reason : str Returns - > ErrorResult
async def InvalidateModelCredential(self, reason=None):
        if reason is not None and not isinstance(reason, (bytes, str)):
            raise Exception("Expected reason to be a str, received: {}".format(type(reason)))
        _params = dict()
        msg = dict(type='CredentialValidator',
                   request='InvalidateModelCredential',
                   version=2,
                   params=_params)
        _params['reason'] = reason
        reply = await self.rpc(msg)
        return reply
async def InvalidateModelCredential ( self , reason = None ) : if reason is not None and not isinstance ( reason , ( bytes , str ) ) : raise Exception ( "Expected reason to be a str, received: {}" . format ( type ( reason ) ) ) _params = dict ( ) msg = dict ( type = 'CredentialValidator' , request = 'InvalidateModelCredential' , version = 2 , params = _params ) _params [ 'reason' ] = reason reply = await self . rpc ( msg ) return reply
InvalidateModelCredential marks the cloud credential for this model as invalid.
InvalidateModelCredential marks the cloud credential for this model as invalid .
'''
        InvalidateModelCredential marks the cloud credential for this model as invalid.

        reason : str
        Returns -> ErrorResult
        ''' # map input types to rpc msg
self
reason