def expand_uri(self, **kwargs):
        '''Returns the template uri expanded with the current arguments'''
        kwargs = dict([(k, v if v != 0 else '0') for k, v in kwargs.items()])
        return uritemplate.expand(self.link.uri, kwargs)
dataset/ETHPy150Open deontologician/restnavigator/restnavigator/halnav.py/PartialNavigator.expand_uri/original