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

8 lines
205 B
Python

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