feat: attrs on product
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
from .article_attribute_getter import ArticleAttributeGetter
|
||||
from .brand_attribute_getter import BrandAttributeGetter
|
||||
from .client_name_attribute_getter import ClientNameAttributeGetter
|
||||
from .color_attribute_getter import ColorAttributeGetter
|
||||
from .composition_attribute_getter import CompositionAttributeGetter
|
||||
from .name_attribute_getter import NameAttributeGetter
|
||||
|
||||
|
||||
@@ -13,5 +16,11 @@ class AttributeWriterFactory:
|
||||
return ArticleAttributeGetter()
|
||||
case 'client.name':
|
||||
return ClientNameAttributeGetter()
|
||||
case 'brand':
|
||||
return BrandAttributeGetter()
|
||||
case 'color':
|
||||
return ColorAttributeGetter()
|
||||
case 'composition':
|
||||
return CompositionAttributeGetter()
|
||||
case _:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user