Files
Fulfillment-Backend/barcodes/attributes/article_attribute_getter.py
2024-05-09 21:30:46 +03:00

8 lines
211 B
Python

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