juju/client/_client2.py
async def BlockUntilLeadershipReleased(self, name=None):
        '''
        BlockUntilLeadershipReleased blocks the caller until leadership is
        released for the given service.

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

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='LeadershipService',
                   request='BlockUntilLeadershipReleased',
                   version=2,
                   params=_params)
        _params['Name'] = name
        reply = await self.rpc(msg)
        return reply

        BlockUntilLeadershipReleased blocks the caller until leadership is
        released for the given service.

        name : str
        Returns -> ErrorResult
        
BlockUntilLeadershipReleased blocks the caller until leadership is
released for the given service.

name : str
Returns -> ErrorResult
BlockUntilLeadershipReleased blocks the caller until leadership is released for the given service . name : str Returns - > ErrorResult
async def BlockUntilLeadershipReleased(self, name=None):
        if name is not None and not isinstance(name, (bytes, str)):
            raise Exception("Expected name to be a str, received: {}".format(type(name)))
        _params = dict()
        msg = dict(type='LeadershipService',
                   request='BlockUntilLeadershipReleased',
                   version=2,
                   params=_params)
        _params['Name'] = name
        reply = await self.rpc(msg)
        return reply
async def BlockUntilLeadershipReleased ( self , name = None ) : if name is not None and not isinstance ( name , ( bytes , str ) ) : raise Exception ( "Expected name to be a str, received: {}" . format ( type ( name ) ) ) _params = dict ( ) msg = dict ( type = 'LeadershipService' , request = 'BlockUntilLeadershipReleased' , version = 2 , params = _params ) _params [ 'Name' ] = name reply = await self . rpc ( msg ) return reply
BlockUntilLeadershipReleased blocks the caller until leadership is
released for the given service.
BlockUntilLeadershipReleased blocks the caller until leadership is released for the given service .
'''
        BlockUntilLeadershipReleased blocks the caller until leadership is
        released for the given service.

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