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

All Samples(16)  |  Call(0)  |  Derive(9)  |  Import(7)

src/e/r/erp5-HEAD/product/ERP5Type/Accessor/List.py   erp5(Download)
class DefaultSetter(Base.Setter):
    """
      Sets the default attribute in a list
    """
    _need__name__=1
class SetSetter(Base.Setter):
    """
      Sets the default attribute in a list
    """
    _need__name__=1

src/e/r/erp5-HEAD/product/ERP5Type/Accessor/Category.py   erp5(Download)
 
 
from Base import func_code, type_definition, list_types, ATTRIBUTE_PREFIX, Setter as BaseSetter, Getter as BaseGetter
from zLOG import LOG
from Products.ERP5Type.PsycoWrapper import psyco
 
class ListSetter(BaseSetter):
class DefaultSetter(BaseSetter):
    """
      Sets a category
    """
    _need__name__=1

src/e/r/erp5-HEAD/product/ERP5Type/Accessor/Value.py   erp5(Download)
 
 
from Base import func_code, type_definition, list_types, ATTRIBUTE_PREFIX, Setter as BaseSetter, Getter as BaseGetter
from zLOG import LOG
from Products.ERP5Type.PsycoWrapper import psyco
 
class SetSetter(BaseSetter):
class UidSetSetter(BaseSetter):
    """
      Sets a category from the uid of the object
    """
    _need__name__=1

src/e/r/erp5-HEAD/product/ERP5Type/Accessor/AcquiredProperty.py   erp5(Download)
from Acquisition import aq_base
from ZPublisher.HTTPRequest import FileUpload
from Base import func_code, type_definition, list_types, ATTRIBUTE_PREFIX, Getter as BaseGetter, Setter as BaseSetter, Tester as BaseTester
from Products.ERP5Type.PsycoWrapper import psyco
from zLOG import LOG
class Setter(BaseSetter):
    """
      Sets a value of a property wich can be acquired.
      Since we set here the property, we must not call acquisition.
    """

src/e/r/erp5-HEAD/product/ERP5Type/Accessor/RelatedValue.py   erp5(Download)
##############################################################################
 
from Base import func_code, type_definition, list_types, \
                 ATTRIBUTE_PREFIX, Getter as BaseGetter, Setter as BaseSetter
from Products.ERP5Type.PsycoWrapper import psyco

src/e/r/erp5-HEAD/product/ERP5Type/Accessor/Related.py   erp5(Download)
##############################################################################
 
from Base import func_code, type_definition, list_types, ATTRIBUTE_PREFIX, Getter as BaseGetter, Setter as BaseSetter
from Products.ERP5Type.PsycoWrapper import psyco
from zLOG import LOG

src/e/r/erp5-HEAD/product/ERP5Type/Accessor/WorkflowState.py   erp5(Download)
from Acquisition import aq_base
from Products.ERP5Type.PsycoWrapper import psyco
from Base import Getter as BaseGetter, Setter as BaseSetter
from warnings import warn
 

src/e/r/erp5-HEAD/product/ERP5Type/Accessor/ContentProperty.py   erp5(Download)
class Setter(Base.Setter):
    """
      Gets an attribute value. A default value can be
      provided if needed
    """

src/e/r/erp5-HEAD/product/ERP5Type/Accessor/Alias.py   erp5(Download)
##############################################################################
 
from Base import Setter
 
# Creation of default constructor
class func_code: pass
 
class Reindex(Setter):