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

All Samples(8)  |  Call(1)  |  Derive(0)  |  Import(7)

src/e/r/erp5-HEAD/product/ERP5/Document/File.py   erp5(Download)
 
from AccessControl import ClassSecurityInfo
from Products.ERP5Type.Base import WorkflowMethod
from Products.ERP5Type import Permissions, PropertySheet
from Products.ERP5.Document.Document import Document, VALID_TEXT_FORMAT_LIST
 
  security.declareProtected( Permissions.ModifyPortalContent, 'edit' )
  edit = WorkflowMethod( _edit )
 
  def get_size(self):

src/e/r/erp5-HEAD/product/ERP5Type/dynamic/persistent_migration.py   erp5(Download)
from ZODB.serialize import ObjectWriter, ObjectReader
from Products.ERP5Type import Permissions
from Products.ERP5Type.Base import Base, WorkflowMethod
 
log = logging.getLogger('ERP5Type')

src/e/r/erp5-HEAD/product/ERP5SyncML/Conduit/ERP5Conduit.py   erp5(Download)
from Products.ERP5Type.XMLExportImport import MARSHALLER_NAMESPACE_URI
from Products.CMFCore.utils import getToolByName
from Products.ERP5Type.Base import WorkflowMethod
from DateTime.DateTime import DateTime
from AccessControl import ClassSecurityInfo

src/e/r/erp5-HEAD/product/ERP5/Document/AppliedRule.py   erp5(Download)
from Products.ERP5Type import Permissions, PropertySheet, interfaces
from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter
from Products.ERP5Type.Base import WorkflowMethod
from Products.ERP5Type.Globals import PersistentMapping
from Products.ERP5Type.XMLObject import XMLObject

src/s/l/slapos.core-HEAD/master/bt5/slapos_upgrader/ExtensionTemplateItem/SlapOSUpgrader.py   slapos.core(Download)
from Products.ERP5Type.Base import WorkflowMethod
 
def Instance_migrateData(self):
  BLACKLIST_RELATIVE_URL_LIST = (
    'software_instance_module/template_slave_instance',

src/s/l/slapos.core-HEAD/master/bt5/slapos_rest_api/TestTemplateItem/testSlapOSRestAPIV1.py   slapos.core(Download)
# Copyright (c) 2002-2012 Nexedi SA and Contributors. All Rights Reserved.
from Products.SlapOS.tests.testSlapOSMixin import \
  testSlapOSMixin
from Products.ERP5Type.Base import WorkflowMethod
import transaction

src/s/l/slapos.core-HEAD/master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingConstraint.py   slapos.core(Download)
##############################################################################
from testSlapOSCloudConstraint import TestSlapOSConstraintMixin
from Products.ERP5Type.Base import WorkflowMethod
from Products.SlapOS.tests.testSlapOSMixin import withAbort
from Products.ERP5Type.tests.backportUnittest import skip