aboutsummaryrefslogtreecommitdiffstats
path: root/uritemplate
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade python/uritemplates to 3.0.1android-r-preview-1Haibo Huang2020-01-075-25/+121
|\ | | | | | | | | | | Exempt-From-Owner-Approval: upgrade library Test: None Change-Id: Icebc9e760bf3532e893e6eb73953cc0dcc1b7a69
| * Bump version number to 3.0.1Brett Cannon2019-12-131-1/+1
| | | | | | Part of #42
| * Correct handling of empty/undef in list valuesTommy Yu2019-07-111-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Expansion of a list including `None` values, violating 3.2.1 as the undefined value is not ignored, e.g. >>> expand('/test{/x*}', x=['one', None, 'three']) '/test/one/None/three' - A list with empty string was ignored, violating 2.3 as this should not be tread as undefined, example: >>> expand('/test{/x}', x=[]) '/test' >>> expand('/test{/x}', x='') '/test/' >>> expand('/test{/x}', x=['']) '/test' # should be /test/ >>> expand('/test{/x}', x=['', '']) '/test/,' >>> expand('/test{/x*}', x=['', '']) '/test//' >>> expand('/test{/x*}', x=['']) '/test'
| * Import ABCs from collections.abc if possibleJohn T. Wodder II2018-10-312-4/+12
| | | | | | | | | | | | Quoting Python 3.7's DeprecationWarning: "Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working"
| * Fix pep8 complaintsLee Skillen2018-09-101-9/+12
| |
| * Make variable ordering deterministicLee Skillen2018-09-103-3/+90
| |
| * Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgradeHugo2018-09-061-12/+12
| |
| * Drop support for EOL PythonHugo2018-09-061-2/+2
| |
| * Fixed deprecation warnings in python 3.6.1Thierry Bastian2017-04-071-1/+1
| |
* | Merge commit '623fce3' into uritemplate 3.0.0.android-p-preview-5android-p-preview-4cylan2018-06-121-0/+30
|/ | | | | | | | | | | | | | Initial commitcd of uritemplate 3.0.0. Added: - Android.bp - MODULE_LICENSE_APACHE2 - NOTICE - METADATA Bug: b/80314772 Test: Complied acloud with uritemplate and was able to import uritemplate. Change-Id: I639ff73317d8c528e978477444ded25600220b79
* Bump version to 3.0.0Ian Cordasco2016-08-311-1/+1
| | | | I accidentally released this to PyPI so might as well record it in git too.
* Release v2.0.0 of uritemplateIan Cordasco2016-08-291-1/+1
|
* Bump to version 2.0.0rc2Ian Cordasco2016-08-231-1/+1
|
* Add missing variables functionIan Cordasco2016-08-232-2/+23
| | | | | | | At some point the uritemplate module added a variables function. This adds that interface to maintain compatibility. Closes #26
* Handle RC1 in the version stringIan Cordasco2016-08-201-1/+1
|
* Make uritemplate release candidateIan Cordasco2016-08-201-1/+1
|
* Release v2.0.0Ian Cordasco2016-08-201-2/+2
|
* Release v1.0.1Ian Cordasco2016-08-181-1/+1
| | | | Fix up some packaging issues
* Release v1.0.0Ian Cordasco2016-08-171-1/+1
| | | | Add twine release automation
* Clean up for Flake8Ian Cordasco2016-08-171-1/+1
|
* Fix handling of unicode values for Python 2Ian Cordasco2016-08-171-6/+28
| | | | Closes #19
* Fix one minor style nitIan Cordasco2015-11-131-2/+3
| | | | I always prefer parens to backslashes
* Handle non-strs in values for query expansionDaniel Imhoff2015-11-121-8/+9
|
* Update copyright, version, and __all__Ian Cordasco2015-10-041-3/+3
|
* Clean up flake8 violationsIan Cordasco2015-10-041-1/+1
|
* avoid premature optimisationsEugene Eeo2014-12-141-4/+3
|
* stick closer to suggestionEugene Eeo2014-12-141-10/+9
|
* add testcase and helper functionEugene Eeo2014-12-141-2/+8
|
* minor refactor of codeEugene Eeo2014-12-132-13/+8
|
* Bump version to 0.3.0Ian Cordasco2013-10-221-1/+1
|
* Actually add partial to the public APIIan Cordasco2013-10-221-2/+2
|
* Add partial to the public APIIan Cordasco2013-10-222-1/+20
|
* Allow for partial expansion of templatesIan Cordasco2013-10-221-10/+43
|
* Revert "Release 0.2.1"Ian Cordasco2013-07-281-1/+1
| | | | | | This reverts commit f80ff0db85c5ec8d930be2d907d8b2d79361cf10. No need to have release history if there's no release.
* Revert "Convert non-string-ish types to strings"Ian Cordasco2013-07-281-8/+0
| | | | | | This reverts commit 7412f8725187670d0cdd4d427dcf53c0032446bd. Bad idea was a bad idea
* Release 0.2.1Ian Cordasco2013-07-281-1/+1
|
* Convert non-string-ish types to stringsIan Cordasco2013-07-281-0/+8
|
* Update version info.Ian Cordasco2013-07-261-1/+1
| | | | Test out an update to the docs.
* More tests and remove kruftIan Cordasco2013-07-251-2/+0
|
* Fix URIVariable.post_parseIan Cordasco2013-07-251-0/+1
|
* Fix tests and importsIan Cordasco2013-07-252-1/+1
|
* Break URIVariable out into its own fileIan Cordasco2013-07-252-347/+368
|
* Refactoring URIVariableIan Cordasco2013-07-251-16/+23
| | | | Split part of URIVariable.__init__ into post_parse
* Document the URIVariable APIIan Cordasco2013-07-251-0/+7
|
* Better reprIan Cordasco2013-07-251-1/+1
|
* Make hashing workIan Cordasco2013-07-251-0/+3
| | | | Also equality
* Add more docs.Ian Cordasco2013-05-201-2/+29
| | | | Docs docs docs!
* Refactor a bit. Introduce tox for my sanity.Ian Cordasco2013-05-191-21/+26
| | | | Release 0.1.1
* More logical default & fix testsIan Cordasco2013-05-191-1/+1
|
* Make the variable names publicly available.Ian Cordasco2013-05-192-6/+20
|