Home
last modified time | relevance | path

Searched refs:URITemplate (Results 1 – 7 of 7) sorted by relevance

/external/python/uritemplates/tests/
Dtest_uritemplate.py2 from uritemplate import URITemplate, expand, partial, variables
372 t = URITemplate(k)
396 t = URITemplate(uri)
412 t = URITemplate(uri)
420 t = URITemplate('https://api.github.com/users{/user}')
427 t = URITemplate('https://api.github.com/users{/user}{/repo}')
436 t = URITemplate(uri)
444 self.assertEqual(hash(URITemplate(uri)), hash(uri))
448 t = URITemplate(uri)
455 t = URITemplate('{foo}')
[all …]
/external/python/uritemplates/uritemplate/
Dapi.py9 from uritemplate.template import URITemplate
33 return URITemplate(uri).expand(var_dict, **kwargs)
52 return URITemplate(uri).partial(var_dict, **kwargs)
71 return set(URITemplate(uri).variable_names)
Dtemplate.py32 class URITemplate(object): class
150 return URITemplate(self._expand(_merge(var_dict, kwargs), True))
D__init__.py23 URITemplate, expand, partial, variables # noqa: E402
/external/python/uritemplates/docs/
Dindex.rst23 once which decreases the number of :class:`URITemplate
24 <uritemplate.URITemplate>` objects created and usage of the ``re`` module.
31 from uritemplate import URITemplate
34 github_url = URITemplate('https://api.github.com{/user}')
40 github_url = URITemplate('https://api.github.com{/user}{/repo}')
58 .. autoclass:: uritemplate.URITemplate
71 t = URITemplate('https://api.github.com/users{/user}')
/external/python/uritemplates/
DREADME.rst10 from uritemplate import URITemplate, expand
15 t = URITemplate(gist_uri)
33 url = URITemplate('https://api.github.com/user{/login}')
DHISTORY.rst46 ``URITemplate``.