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

8 lines
205 B
Python

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