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

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

src/e/r/erp5-HEAD/product/ERP5Type/Base.py   erp5(Download)
from Products.ERP5Type.Utils import convertToUpperCase, convertToMixedCase
from Products.ERP5Type.Utils import createExpressionContext, simple_decorator
from Products.ERP5Type.Accessor.Accessor import Accessor
from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter
from Products.ERP5Type.Accessor.TypeDefinition import list_types
from Errors import DeferredCatalogError, UnsupportedWorkflowMethod
from Products.CMFActivity.ActiveObject import ActiveObject
from Products.ERP5Type.Accessor.Accessor import Accessor as Method
from Products.ERP5Type.Accessor.TypeDefinition import asDate
from Products.ERP5Type.Message import Message
class WorkflowMethod(Method):
 
  def __init__(self, method, id=None, reindex=1):
    """
      method - a callable object or a method

src/e/r/erp5-HEAD/product/ERP5Type/Accessor/Translation.py   erp5(Download)
class TranslationPropertySetter(Accessor.Accessor):
  """
  Set a translation into language-property pair dict.
  """
  _need__name__=1