juju/client/_client4.py
async def HasActiveBranch(self, branch=None):
        '''
        HasActiveBranch returns a true result if the input model has an "in-flight"
        branch matching the input name.

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

        HasActiveBranch returns a true result if the input model has an "in-flight"
        branch matching the input name.

        branch : str
        Returns -> BoolResult
        
HasActiveBranch returns a true result if the input model has an "in-flight"
branch matching the input name.

branch : str
Returns -> BoolResult
HasActiveBranch returns a true result if the input model has an " in - flight " branch matching the input name . branch : str Returns - > BoolResult
async def HasActiveBranch(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='HasActiveBranch',
                   version=4,
                   params=_params)
        _params['branch'] = branch
        reply = await self.rpc(msg)
        return reply
async def HasActiveBranch ( 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 = 'HasActiveBranch' , version = 4 , params = _params ) _params [ 'branch' ] = branch reply = await self . rpc ( msg ) return reply
HasActiveBranch returns a true result if the input model has an "in-flight"
branch matching the input name.
HasActiveBranch returns a true result if the input model has an " in - flight " branch matching the input name .
'''
        HasActiveBranch returns a true result if the input model has an "in-flight"
        branch matching the input name.

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