15 lines
		
	
	
		
			527 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			527 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from app.services.base_service import BaseService
 | |
| from sqlalchemy.orm import Session
 | |
| from app.schemas.file import FileInDB
 | |
| from typing import Dict, Any
 | |
| import csv
 | |
| 
 | |
| class ManaboxService(BaseService):
 | |
|     def __init__(self):
 | |
|         super().__init__(None)
 | |
| 
 | |
|     async def process_manabox_csv(self, db: Session, csv_file: FileInDB) -> bool:
 | |
|         
 | |
|         return True
 | |
| 
 | |
| # Name,Set code,Set name,Collector number,Foil,Rarity,Quantity,ManaBox ID,Scryfall ID,Purchase price,Misprint,Altered,Condition,Language,Purchase price currency |