juju/client/_client4.py
async def AddBranch(self, branch=None):
        '''
        AddBranch adds a new branch with the input name to the model.

        branch : str
        Returns -> ErrorResult
        '''
        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='AddBranch',
                   version=4,
                   params=_params)
        _params['branch'] = branch
        reply = await self.rpc(msg)
        return reply

        AddBranch adds a new branch with the input name to the model.

        branch : str
        Returns -> ErrorResult
        
AddBranch adds a new branch with the input name to the model.
branch : str
Returns -> ErrorResult
AddBranch adds a new branch with the input name to the model . branch : str Returns - > ErrorResult
async def AddBranch(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='AddBranch',
                   version=4,
                   params=_params)
        _params['branch'] = branch
        reply = await self.rpc(msg)
        return reply
async def AddBranch ( 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 = 'AddBranch' , version = 4 , params = _params ) _params [ 'branch' ] = branch reply = await self . rpc ( msg ) return reply
AddBranch adds a new branch with the input name to the model.
AddBranch adds a new branch with the input name to the model .
'''
        AddBranch adds a new branch with the input name to the model.

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