Files
Fulfillment-Backend/barcodes/attributes/brand_attribute_getter.py
2024-05-11 00:24:59 +03:00

10 lines
209 B
Python

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