code: async def BlockUntilLeadershipReleased(self, name):
          '''
          name : str
          Returns -> Error
          '''
          # 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 replync def BlockUntilLeadershipReleased(self, name):
          '''
          name : str
          Returns -> Error
          '''
          # 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
docs: name : str
          Returns -> Error