Mercurial > p > roundup > code
diff roundup/instance.py @ 6292:1e5ed659e8ca issue2550923_computed_property
Initial implementation of Computed property
It supports query/display in html, rest and xml interfaces.
You can specify a cache parameter, but using it raises
NotImplementedError.
It does not support: search, sort or grouping by the computed field.
Checking in on a branch to get more eyeballs on it and maybe some
people to help.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 27 Nov 2020 18:09:00 -0500 |
| parents | c177e7128dc9 |
| children | 1a15089c2e49 |
line wrap: on
line diff
--- a/roundup/instance.py Fri Nov 27 17:55:52 2020 -0500 +++ b/roundup/instance.py Fri Nov 27 18:09:00 2020 -0500 @@ -132,6 +132,7 @@ 'Multilink': hyperdb.Multilink, 'Interval': hyperdb.Interval, 'Boolean': hyperdb.Boolean, + 'Computed': hyperdb.Computed, 'Number': hyperdb.Number, 'Integer': hyperdb.Integer, 'db': backend.Database(self.config, name)
