summaryrefslogtreecommitdiffstats
path: root/ipalib/frontend.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 360: Removed Method.get_options() default implementation; cleaned up unit ↵Jason Gerard DeRose2008-09-251-7/+0
| | | | tests for Method
* 359: Added Object.primary_key instance attribute; added corresponding unit testsJason Gerard DeRose2008-09-251-0/+12
|
* 358: Cleaned up private methods in ObjectJason Gerard DeRose2008-09-251-8/+9
|
* 356: Modified Method.get_options() to now pull from self.obj.params(); ↵Jason Gerard DeRose2008-09-251-11/+10
| | | | updated unit tests for Method.get_options()
* 355: Object.set_api() now creates Object.params namespace by merging ↵Jason Gerard DeRose2008-09-251-10/+17
| | | | takes_params and properties together intelegintly
* 354: Added NameSpace.__todict__() method that returns copy of ↵Jason Gerard DeRose2008-09-241-2/+7
| | | | NameSpace.__map; updated NameSpace unit test to also test __todict__()
* 353: The Object.parms instance attribute is now created in Object.set_api() ↵Jason Gerard DeRose2008-09-241-5/+4
| | | | instead of in Object.__init__()
* 352: Now removed Object.Property property and added in its place ↵Jason Gerard DeRose2008-09-241-10/+5
| | | | Object.properties instance attribute
* 351: Removed Object.Method property and added in its place Object.methods ↵Jason Gerard DeRose2008-09-241-6/+3
| | | | instance attribute
* 350: If Param default_from kwarg is callable but not a DefaltFrom instances, ↵Jason Gerard DeRose2008-09-241-3/+6
| | | | the instance is created implicity
* 349: Improved clarity of local variables in Param.__init__()Jason Gerard DeRose2008-09-241-10/+10
|
* 348: If no keys are passed to DefaultFrom.__init__(), the keys from ↵Jason Gerard DeRose2008-09-241-8/+12
| | | | callback.func_code.co_varnames are used; updated DefaultFrom unit tests to test this usage
* 347: Added primary_key instance attribute to Param and corresponding kwarg; ↵Jason Gerard DeRose2008-09-241-1/+3
| | | | expanded unit tests for Param.__init__()
* 344: Added Param.__clone__() method; added corresponding unit testsJason Gerard DeRose2008-09-241-1/+13
|
* 343: create_param() function no longer parses the param spec itself but ↵Jason Gerard DeRose2008-09-241-22/+4
| | | | relies on Param.__init__() to do it
* 342: Added unit test that TypeError is raised when Param() is created with ↵Jason Gerard DeRose2008-09-241-1/+2
| | | | extra kw args
* 341: Param now only takes type_=ipa_types.Unicode() as an optional ↵Jason Gerard DeRose2008-09-241-17/+28
| | | | positional arg, and the rest as pure kwargs
* 340: Changed default for Param.required to TrueJason Gerard DeRose2008-09-241-1/+11
|
* 339: Added parse_param_spec() function and corresponding unit testsJason Gerard DeRose2008-09-241-0/+32
|
* 337: Some cleanup in Params; added docstrings for most all Param methodsJason Gerard DeRose2008-09-241-12/+55
|
* 336: Param.__dispatch() now returns None for any in (None, '', u'', tuple(), ↵Jason Gerard DeRose2008-09-241-6/+9
| | | | []) regardless whether Param is multivalue
* 335: If Command.__convert_scalar() is called with None, it now returns None ↵Jason Gerard DeRose2008-09-241-3/+8
| | | | instead of raising TypeError
* 334: Renamed Command.__multivalue() helper method to Command.dispatch()Jason Gerard DeRose2008-09-241-3/+3
|
* 333: Param.convert() now uses name Param.__multivalue() helper method as ↵Jason Gerard DeRose2008-09-241-12/+8
| | | | Param.normalize()
* 332: Param.normalize() now returns None if multivalue and len() == 0Jason Gerard DeRose2008-09-241-5/+10
|
* 331: Param.normalize() no longer raises a TypeError when value in not a ↵Jason Gerard DeRose2008-09-241-15/+32
| | | | basestring
* 330: Command.normalize() now normalizes all keys, not just keys in paramsJason Gerard DeRose2008-09-241-8/+3
|
* 329: Command.convert() now converts all keys, not just keys in paramsJason Gerard DeRose2008-09-241-8/+3
|
* 328: Command.get_default() now returns defaults for all values not present, ↵Jason Gerard DeRose2008-09-241-4/+2
| | | | not just defaults that aren't None
* 327: Improved formatting on show-api cli commandJason Gerard DeRose2008-09-241-1/+1
|
* 324: Removed 'smart_option_order' from Command.__public__; cli commands ↵Jason Gerard DeRose2008-09-241-1/+0
| | | | help, console, and show_plugins now override Command.run() instead of Command.__call__()
* 323: Added Command.run() method that dispatches to execute() or forward(); ↵Jason Gerard DeRose2008-09-241-1/+14
| | | | added corresponding unit tests
* 319: Added new backend and tests.test_backend modules; added place-holder ↵Jason Gerard DeRose2008-09-241-2/+1
| | | | Backend class and corresponding unit tests
* 317: Renamed public.py to frontend.py; renamed test_public.py to ↵Jason Gerard DeRose2008-09-231-0/+571
test_frontend.py