Files
Fulfillment-Backend/barcodes/attributes/article_attribute_getter.py
2024-05-09 03:33:44 +03:00

8 lines
206 B
Python

from barcodes.attributes import BaseAttributeGetter
from models import Product
class ArticleAttributeGetter(BaseAttributeGetter):
def get_value(self, product: Product):
return product.article