Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(0)  |  Derive(4)  |  Import(4)

src/e/r/erp5-HEAD/product/ERP5Type/Core/AttributeEqualityConstraint.py   erp5(Download)
##############################################################################
 
from Products.ERP5Type.Core.PropertyExistenceConstraint import \
     PropertyExistenceConstraint
 
class AttributeEqualityConstraint(PropertyExistenceConstraint):
  """
  This constraint checks the values of a given attribute name on this
  object.
 

src/e/r/erp5-HEAD/product/ERP5/Document/StringAttributeMatchConstraint.py   erp5(Download)
from Products.ERP5Type.Utils import createExpressionContext
from Products.ERP5Type.Utils import evaluateExpressionFromString
from Products.ERP5Type.Core.PropertyExistenceConstraint import \
    PropertyExistenceConstraint
 
class StringAttributeMatchConstraint(PropertyExistenceConstraint):

src/e/r/erp5-HEAD/product/ERP5/Document/AttributeUnicityConstraint.py   erp5(Download)
from Products.ERP5Type import PropertySheet
from Products.ERP5Type.Utils import createExpressionContext
from Products.ERP5Type.Core.PropertyExistenceConstraint import \
                PropertyExistenceConstraint
from Products.ZSQLCatalog.SQLCatalog import Query, NegatedQuery
 
class AttributeUnicityConstraint(PropertyExistenceConstraint):

src/e/r/erp5-HEAD/product/ERP5/Document/AttributeBlacklistedConstraint.py   erp5(Download)
from Products.ERP5Type.Utils import createExpressionContext
from Products.ERP5Type.Utils import evaluateExpressionFromString
from Products.ERP5Type.Core.PropertyExistenceConstraint import \
    PropertyExistenceConstraint
 
class AttributeBlacklistedConstraint(PropertyExistenceConstraint):