juju/client/_client2.py
async def Prune(self, max_history_mb=None, max_history_time=None):
        '''
        Prune endpoint removes status history entries until
        only the ones newer than now - p.MaxHistoryTime remain and
        the history is smaller than p.MaxHistoryMB.

        max_history_mb : int
        max_history_time : int
        Returns -> None
        '''
        if max_history_mb is not None and not isinstance(max_history_mb, int):
            raise Exception("Expected max_history_mb to be a int, received: {}".format(type(max_history_mb)))

        if max_history_time is not None and not isinstance(max_history_time, int):
            raise Exception("Expected max_history_time to be a int, received: {}".format(type(max_history_time)))

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='StatusHistory',
                   request='Prune',
                   version=2,
                   params=_params)
        _params['max-history-mb'] = max_history_mb
        _params['max-history-time'] = max_history_time
        reply = await self.rpc(msg)
        return reply

        Prune endpoint removes status history entries until
        only the ones newer than now - p.MaxHistoryTime remain and
        the history is smaller than p.MaxHistoryMB.

        max_history_mb : int
        max_history_time : int
        Returns -> None
        
Prune endpoint removes status history entries until
only the ones newer than now - p.MaxHistoryTime remain and
the history is smaller than p.MaxHistoryMB.

max_history_mb : int
max_history_time : int
Returns -> None
Prune endpoint removes status history entries until only the ones newer than now - p . MaxHistoryTime remain and the history is smaller than p . MaxHistoryMB . max_history_mb : int max_history_time : int Returns - > None
async def Prune(self, max_history_mb=None, max_history_time=None):
        if max_history_mb is not None and not isinstance(max_history_mb, int):
            raise Exception("Expected max_history_mb to be a int, received: {}".format(type(max_history_mb)))
        if max_history_time is not None and not isinstance(max_history_time, int):
            raise Exception("Expected max_history_time to be a int, received: {}".format(type(max_history_time)))
        _params = dict()
        msg = dict(type='StatusHistory',
                   request='Prune',
                   version=2,
                   params=_params)
        _params['max-history-mb'] = max_history_mb
        _params['max-history-time'] = max_history_time
        reply = await self.rpc(msg)
        return reply
async def Prune ( self , max_history_mb = None , max_history_time = None ) : if max_history_mb is not None and not isinstance ( max_history_mb , int ) : raise Exception ( "Expected max_history_mb to be a int, received: {}" . format ( type ( max_history_mb ) ) ) if max_history_time is not None and not isinstance ( max_history_time , int ) : raise Exception ( "Expected max_history_time to be a int, received: {}" . format ( type ( max_history_time ) ) ) _params = dict ( ) msg = dict ( type = 'StatusHistory' , request = 'Prune' , version = 2 , params = _params ) _params [ 'max-history-mb' ] = max_history_mb _params [ 'max-history-time' ] = max_history_time reply = await self . rpc ( msg ) return reply
Prune endpoint removes status history entries until
only the ones newer than now - p.MaxHistoryTime remain and
the history is smaller than p.MaxHistoryMB.
Prune endpoint removes status history entries until only the ones newer than now - p . MaxHistoryTime remain and the history is smaller than p . MaxHistoryMB .
'''
        Prune endpoint removes status history entries until
        only the ones newer than now - p.MaxHistoryTime remain and
        the history is smaller than p.MaxHistoryMB.

        max_history_mb : int
        max_history_time : int
        Returns -> None
        ''' # map input types to rpc msg
self
max_history_mb
max_history_time