juju/client/_client4.py
async def ShowCommit(self, generation_id=None):
        '''
        ShowCommit will return details a commit given by its generationId
        An error is returned if either no branch can be found corresponding to the generation id.
        Or the generation id given is below 1.

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

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='ModelGeneration',
                   request='ShowCommit',
                   version=4,
                   params=_params)
        _params['generation-id'] = generation_id
        reply = await self.rpc(msg)
        return reply

        ShowCommit will return details a commit given by its generationId
        An error is returned if either no branch can be found corresponding to the generation id.
        Or the generation id given is below 1.

        generation_id : int
        Returns -> GenerationResult
        
ShowCommit will return details a commit given by its generationId
An error is returned if either no branch can be found corresponding to the generation id.
Or the generation id given is below 1.


ShowCommit will return details a commit given by its generationId An error is returned if either no branch can be found corresponding to the generation id . Or the generation id given is below 1 .
async def ShowCommit(self, generation_id=None):
        if generation_id is not None and not isinstance(generation_id, int):
            raise Exception("Expected generation_id to be a int, received: {}".format(type(generation_id)))
        _params = dict()
        msg = dict(type='ModelGeneration',
                   request='ShowCommit',
                   version=4,
                   params=_params)
        _params['generation-id'] = generation_id
        reply = await self.rpc(msg)
        return reply
async def ShowCommit ( self , generation_id = None ) : if generation_id is not None and not isinstance ( generation_id , int ) : raise Exception ( "Expected generation_id to be a int, received: {}" . format ( type ( generation_id ) ) ) _params = dict ( ) msg = dict ( type = 'ModelGeneration' , request = 'ShowCommit' , version = 4 , params = _params ) _params [ 'generation-id' ] = generation_id reply = await self . rpc ( msg ) return reply
ShowCommit will return details a commit given by its generationId
An error is returned if either no branch can be found corresponding to the generation id.
ShowCommit will return details a commit given by its generationId An error is returned if either no branch can be found corresponding to the generation id .
'''
        ShowCommit will return details a commit given by its generationId
        An error is returned if either no branch can be found corresponding to the generation id.
        Or the generation id given is below 1.

        generation_id : int
        Returns -> GenerationResult
        ''' # map input types to rpc msg
self
generation_id