added primary_key and indexed member variables
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Fri, 28 Sep 2012 00:27:35 +0000 (20:27 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Fri, 28 Sep 2012 00:27:35 +0000 (20:27 -0400)
PLC/Parameter.py

index 4b0cd08..c2b3466 100644 (file)
@@ -20,7 +20,8 @@ class Parameter:
                  optional = None,
                  ro = False,
                  nullok = False, 
-                 primary_key = False):
+                 primary_key = False, 
+                 indexed = False):
         # Basic type of the parameter. Must be a builtin type
         # that can be marshalled by XML-RPC.
         self.type = typeval