mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
9 lines
519 B
Plaintext
9 lines
519 B
Plaintext
Schemas extend the notion of interfaces to detailed descriptions of Attributes
|
|
(but not methods). Every schema is an interface and specifies the public fields
|
|
of an object. A field roughly corresponds to an attribute of a Python object.
|
|
But a Field provides space for at least a title and a description. It can also
|
|
constrain its value and provide a validation method. Besides you can optionally
|
|
specify characteristics such as its value being read-only or not required.
|
|
|
|
WWW: https://pypi.python.org/pypi/zope.schema/
|