[storm] question about ReferenceSet
Stephan Diehl
stephan.diehl at gmx.net
Tue Dec 11 16:05:13 GMT 2007
Hi all,
I'm new to storm and really like it so far. Until now I've used my own
homegrown database wrapper (so I can't compare to SQLAlchemy or SQLObject).
I've a question about ReferenceSet. The name implies some relation to, well,
sets. Is it planned that the set interface will be supported sometimes in the
future?
For example, if I have some classes 'User' and 'Group', I'd like to be able to
do something like this:
accessGroups = set([grp1, grp2, grp3])
if usr.groups & accessGroups:
doSomething
Thanks for your patience
Stephan
More information about the storm
mailing list