[Zope3-checkins] CVS: Zope3/src/zope/schema - interfaces.py:1.15.4.4

Fred L. Drake, Jr. fred@zope.com
Mon, 19 May 2003 13:12:48 -0400


Update of /cvs-repository/Zope3/src/zope/schema
In directory cvs.zope.org:/tmp/cvs-serv12858

Modified Files:
      Tag: schema-vocabulary-branch
	interfaces.py 
Log Message:
Added a required attribute to the vocabulary query interface.


=== Zope3/src/zope/schema/interfaces.py 1.15.4.3 => 1.15.4.4 ===
--- Zope3/src/zope/schema/interfaces.py:1.15.4.3	Fri May 16 11:58:46 2003
+++ Zope3/src/zope/schema/interfaces.py	Mon May 19 13:12:47 2003
@@ -428,6 +428,13 @@
     specific interface.
     """
 
+    vocabulary = Attribute("vocabulary",
+                           """The source vocabulary for this query object.
+
+                           This needs to be available for use by the
+                           query view.
+                           """)
+
 
 class ITerm(Interface):
     """Object representing a single value in a vocabulary."""