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

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

src/e/r/erp5-HEAD/product/ERP5Type/mixin/component.py   erp5(Download)
 
from ExtensionClass import ExtensionClass
from Products.ERP5Type.Utils import convertToUpperCase, checkPythonSourceCode
 
class RecordablePropertyMetaClass(ExtensionClass):
    available
    """
    return checkPythonSourceCode(self.getTextContent())
 
  security.declareProtected(Permissions.ModifyPortalContent, 'PUT')

src/e/r/erp5-HEAD/bt5/erp5_administration/ExtensionTemplateItem/portal_components/extension.erp5.ERP5Administration.py   erp5(Download)
  active_process.activateResult(result)
 
from Products.ERP5Type.Utils import checkPythonSourceCode
 
def checkPythonSourceCodeAsJSON(self, data):
    body = data['code']
 
  message_list = checkPythonSourceCode(body)
  for message_dict in message_list:
    if is_python_script: