12 lines
		
	
	
		
			256 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			256 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from abc import abstractmethod
 | 
						|
from typing import List, Dict
 | 
						|
 | 
						|
from models import BarcodeTemplate, Product
 | 
						|
 | 
						|
 | 
						|
class BaseBarcodeGenerator:
 | 
						|
 | 
						|
    @abstractmethod
 | 
						|
    def generate(self, data: List[Dict[str, str | Product | BarcodeTemplate | int]]):
 | 
						|
        pass
 |