juju/client/_client4.py
async def CommitBranch(self, branch=None):
        '''
        CommitBranch commits the input branch, making its changes applicable to
        the whole model and marking it complete.

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

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='ModelGeneration',
                   request='CommitBranch',
                   version=4,
                   params=_params)
        _params['branch'] = branch
        reply = await self.rpc(msg)
        return reply

        CommitBranch commits the input branch, making its changes applicable to
        the whole model and marking it complete.

        branch : str
        Returns -> IntResult
        
CommitBranch commits the input branch, making its changes applicable to
the whole model and marking it complete.

branch : str
Returns -> IntResult
CommitBranch commits the input branch making its changes applicable to the whole model and marking it complete . branch : str Returns - > IntResult
async def CommitBranch(self, branch=None):
        if branch is not None and not isinstance(branch, (bytes, str)):
            raise Exception("Expected branch to be a str, received: {}".format(type(branch)))
        _params = dict()
        msg = dict(type='ModelGeneration',
                   request='CommitBranch',
                   version=4,
                   params=_params)
        _params['branch'] = branch
        reply = await self.rpc(msg)
        return reply
async def CommitBranch ( self , branch = None ) : if branch is not None and not isinstance ( branch , ( bytes , str ) ) : raise Exception ( "Expected branch to be a str, received: {}" . format ( type ( branch ) ) ) _params = dict ( ) msg = dict ( type = 'ModelGeneration' , request = 'CommitBranch' , version = 4 , params = _params ) _params [ 'branch' ] = branch reply = await self . rpc ( msg ) return reply
CommitBranch commits the input branch, making its changes applicable to
the whole model and marking it complete.
CommitBranch commits the input branch making its changes applicable to the whole model and marking it complete .
'''
        CommitBranch commits the input branch, making its changes applicable to
        the whole model and marking it complete.

        branch : str
        Returns -> IntResult
        ''' # map input types to rpc msg
self
branch