juju/client/_client4.py
async def TrackBranch(self, branch=None, entities=None, num_units=None):
        '''
        TrackBranch marks the input units and/or applications as tracking the input
        branch, causing them to realise changes made under that branch.

        branch : str
        entities : typing.Sequence[~Entity]
        num_units : int
        Returns -> ErrorResults
        '''
        if branch is not None and not isinstance(branch, (bytes, str)):
            raise Exception("Expected branch to be a str, received: {}".format(type(branch)))

        if entities is not None and not isinstance(entities, (bytes, str, list)):
            raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))

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

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

        TrackBranch marks the input units and/or applications as tracking the input
        branch, causing them to realise changes made under that branch.

        branch : str
        entities : typing.Sequence[~Entity]
        num_units : int
        Returns -> ErrorResults
        
TrackBranch marks the input units and/or applications as tracking the input
branch, causing them to realise changes made under that branch.

branch : str
entities : typing.Sequence[~Entity]
num_units : int
Returns -> ErrorResults
TrackBranch marks the input units and / or applications as tracking the input branch causing them to realise changes made under that branch . branch : str entities : typing . Sequence [ ~Entity ] num_units : int Returns - > ErrorResults
async def TrackBranch(self, branch=None, entities=None, num_units=None):
        if branch is not None and not isinstance(branch, (bytes, str)):
            raise Exception("Expected branch to be a str, received: {}".format(type(branch)))
        if entities is not None and not isinstance(entities, (bytes, str, list)):
            raise Exception("Expected entities to be a Sequence, received: {}".format(type(entities)))
        if num_units is not None and not isinstance(num_units, int):
            raise Exception("Expected num_units to be a int, received: {}".format(type(num_units)))
        _params = dict()
        msg = dict(type='ModelGeneration',
                   request='TrackBranch',
                   version=4,
                   params=_params)
        _params['branch'] = branch
        _params['entities'] = entities
        _params['num-units'] = num_units
        reply = await self.rpc(msg)
        return reply
async def TrackBranch ( self , branch = None , entities = None , num_units = None ) : if branch is not None and not isinstance ( branch , ( bytes , str ) ) : raise Exception ( "Expected branch to be a str, received: {}" . format ( type ( branch ) ) ) if entities is not None and not isinstance ( entities , ( bytes , str , list ) ) : raise Exception ( "Expected entities to be a Sequence, received: {}" . format ( type ( entities ) ) ) if num_units is not None and not isinstance ( num_units , int ) : raise Exception ( "Expected num_units to be a int, received: {}" . format ( type ( num_units ) ) ) _params = dict ( ) msg = dict ( type = 'ModelGeneration' , request = 'TrackBranch' , version = 4 , params = _params ) _params [ 'branch' ] = branch _params [ 'entities' ] = entities _params [ 'num-units' ] = num_units reply = await self . rpc ( msg ) return reply
TrackBranch marks the input units and/or applications as tracking the input
branch, causing them to realise changes made under that branch.
TrackBranch marks the input units and / or applications as tracking the input branch causing them to realise changes made under that branch .
'''
        TrackBranch marks the input units and/or applications as tracking the input
        branch, causing them to realise changes made under that branch.

        branch : str
        entities : typing.Sequence[~Entity]
        num_units : int
        Returns -> ErrorResults
        ''' # map input types to rpc msg
self
branch
entities
num_units