Searched refs:URITemplate (Results 1 – 7 of 7) sorted by relevance
/external/python/uritemplates/tests/ |
D | test_uritemplate.py | 2 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/ |
D | api.py | 9 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)
|
D | template.py | 32 class URITemplate(object): class 150 return URITemplate(self._expand(_merge(var_dict, kwargs), True))
|
D | __init__.py | 23 URITemplate, expand, partial, variables # noqa: E402
|
/external/python/uritemplates/docs/ |
D | index.rst | 23 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/ |
D | README.rst | 10 from uritemplate import URITemplate, expand 15 t = URITemplate(gist_uri) 33 url = URITemplate('https://api.github.com/user{/login}')
|
D | HISTORY.rst | 46 ``URITemplate``.
|