FOrgot created/last_updated fields.
authorFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Tue, 9 Jun 2009 18:33:17 +0000 (18:33 +0000)
committerFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Tue, 9 Jun 2009 18:33:17 +0000 (18:33 +0000)
geni/util/record.py

index 2d81b25..34e98fe 100644 (file)
@@ -34,6 +34,8 @@ class GeniRecord(dict):
         'hrn': Parameter(str, "Human readable name of object"),
         'gid': Parameter(str, "GID of the object"),
         'type': Parameter(str, "Record type"),
+        'last_updated': Parameter(int, 'Date and time of last update'),
+        'date_created': Parameter(int, 'Date and time this record was created'),
     }
 
     internal_fields = {