From 5a2b0cd6b8151a18fa5fd0e4f7eacf9e2c9dde8f Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Tue, 25 Nov 2008 18:21:29 -0700 Subject: Added notes in TODO on planned API changes --- TODO | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/TODO b/TODO index 1c6d72817..3a58d7199 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,21 @@ +API chages before January 2009 simi-freeze: + + * Merge Param and Type together so that rather than taking the type as a + kwarg, you simply use the Type. For example, instead of: + >>> Param('number', type=Int()) + You would do this: + >>> Int('number') + The types will correspond to Python 3.0 text/binary disambiguaiton, so we + will have Bytes, Str, Int, Float, and Bool. + + * Rename crud Method base classes to standard CRUDS name: Add=>Create, + Get=>Retrieve, Mod=>Update, Del=>Delete, Find=>Search. + + * Add a Command.backend convenience attribute that checks if the class + uses_backend attribute is sets the Command.backend attribute like this: + self.backend = self.Backend[self.uses_backend] + + CLI - Prompt for password using getpass - Passed the param dict to output_for_cli() -- cgit