Jason Gerard DeRose
|
c121d0064b
|
New Param: Added Param.get_label() method for a way to retrieve translated message at request time
|
2009-01-05 01:20:14 -07:00 |
|
Jason Gerard DeRose
|
46e37ab144
|
New Param: ported Param.__repr__() and corresponding unit test
|
2008-12-18 11:21:12 -07:00 |
|
Jason Gerard DeRose
|
4d1681176a
|
New Param: added unit tests for TypeError cases in DefaultFrom.__init__()
|
2008-12-18 02:08:41 -07:00 |
|
Jason Gerard DeRose
|
cb2f294cfe
|
New Param: added missing unit tests for TypeError and ValueError cases in parse_param_spec()
|
2008-12-18 01:57:39 -07:00 |
|
Jason Gerard DeRose
|
ac335bc7ea
|
New Param: fixed small bug in Param.convert() and added detailed docstring
|
2008-12-18 01:18:17 -07:00 |
|
Jason Gerard DeRose
|
bf8154fa50
|
New Param: fixed a few things in Param.convert() and added corresponding unit tests
|
2008-12-18 00:02:38 -07:00 |
|
Jason Gerard DeRose
|
ba481e7712
|
New Param: split class_rules and *rules into separate attributes
|
2008-12-17 18:32:46 -07:00 |
|
Jason Gerard DeRose
|
e05fd7ab03
|
New Param: added basic rule logic
|
2008-12-12 04:48:25 -07:00 |
|
Jason Gerard DeRose
|
66faffdfb0
|
New Param: cleanup up readability of Param.__init__(); added unit tests for unknown kwargs
|
2008-12-12 03:38:02 -07:00 |
|
Jason Gerard DeRose
|
5272949bfd
|
New Param: added all logic for minlength, maxlength, and length in Bytes class (which Str inherits)
|
2008-12-12 03:13:58 -07:00 |
|
Jason Gerard DeRose
|
079721da2c
|
New Param: changed kwargs class attribute to a tuple so the subclass interface is simpler
|
2008-12-11 22:39:50 -07:00 |
|
Jason Gerard DeRose
|
64ae4bc986
|
Copied DefaultFrom into parameter.py; added docstring to new Param.normalize() method; more work and unit tests in new Param class
|
2008-12-11 20:30:59 -07:00 |
|
Jason Gerard DeRose
|
5c47b56d14
|
Finished kwarg validation and extension mechanism in parameter.Param
|
2008-12-11 18:07:54 -07:00 |
|
Jason Gerard DeRose
|
22209a0f03
|
Started roughing out the consolidated type/parameter system in parameters.py; started corresponding unit tests
|
2008-12-10 21:14:05 -07:00 |
|