juju/client/_client2.py
async def PinnedLeadership(self):
        '''
        PinnedLeadership returns all pinned applications and the entities that
        require their pinned behaviour, for leadership in the current model.


        Returns -> PinnedLeadershipResult
        '''

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='UpgradeSeries',
                   request='PinnedLeadership',
                   version=2,
                   params=_params)

        reply = await self.rpc(msg)
        return reply

        PinnedLeadership returns all pinned applications and the entities that
        require their pinned behaviour, for leadership in the current model.


        Returns -> PinnedLeadershipResult
        
PinnedLeadership returns all pinned applications and the entities that
require their pinned behaviour, for leadership in the current model.


PinnedLeadership returns all pinned applications and the entities that require their pinned behaviour for leadership in the current model .
async def PinnedLeadership(self):
        _params = dict()
        msg = dict(type='UpgradeSeries',
                   request='PinnedLeadership',
                   version=2,
                   params=_params)
        reply = await self.rpc(msg)
        return reply
async def PinnedLeadership ( self ) : _params = dict ( ) msg = dict ( type = 'UpgradeSeries' , request = 'PinnedLeadership' , version = 2 , params = _params ) reply = await self . rpc ( msg ) return reply
PinnedLeadership returns all pinned applications and the entities that
require their pinned behaviour, for leadership in the current model.
PinnedLeadership returns all pinned applications and the entities that require their pinned behaviour for leadership in the current model .
'''
        PinnedLeadership returns all pinned applications and the entities that
        require their pinned behaviour, for leadership in the current model.


        Returns -> PinnedLeadershipResult
        ''' # map input types to rpc msg
self