10 lines
		
	
	
		
			174 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			174 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from abc import ABC, abstractmethod
 | 
						|
 | 
						|
from models import Product
 | 
						|
 | 
						|
 | 
						|
class BaseAttributeGetter(ABC):
 | 
						|
    @abstractmethod
 | 
						|
    def get_value(self, product: Product):
 | 
						|
        pass
 |