[Zope3-Users] Set & List constraints
Tim Cook
timothywayne.cook at gmail.com
Thu Jul 10 10:44:24 EDT 2008
When constraining the membership of zope.schema List and Set; is it
valid to say that this will work:
value=List(
title=u"Value",
constraint=classProvides(IMyClass)
)
where IMyClass defines the schema for the MyClass and is the only
objects allowed in the List?
Thanks,
Tim
--
**************************************************************************
Join the OSHIP project. It is the standards based, open source
healthcare application platform in Python.
Home page: https://launchpad.net/oship/
Wiki: http://www.openehr.org/wiki/display/dev/Python+developer%27s+page
**************************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20080710/220fa4aa/attachment.bin
More information about the Zope3-users
mailing list