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

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

src/e/r/erp5-HEAD/product/ERP5Type/Core/DynamicCategoryProperty.py   erp5(Download)
    for category_id in category_id_list:
      try:
        self.applyDefinitionOnAccessorHolder(accessor_holder,
                                             category_id,
                                             portal)

src/e/r/erp5-HEAD/product/ERP5Type/dynamic/lazy_class.py   erp5(Download)
  def generatePortalTypeAccessors(cls, site, portal_type_category_list):
    category_tool = getattr(site, 'portal_categories', None)
    for category_id in portal_type_category_list:
      # we need to generate only categories defined on portal type
      CategoryProperty.applyDefinitionOnAccessorHolder(cls,