Kettelcorn / mtg-collection-app

Django project involving creating a discord bot that gets user's Magic: The Gathering collection, allows them to see if any of their friends have those cards, propose trades, and other functions
0 stars 1 forks source link

Seperate Processing CSV and Update Collections to there own methods #9

Open DPilat-Dev opened 1 week ago

DPilat-Dev commented 1 week ago

This is a separation of concern. and maybe make process csv a utility method.

Change: def process_csv_and_update_collection(self, csv_file, user): to be 2 sperate methods.

DPilat-Dev commented 1 week ago

This issue is located in cards/services/collection_services.py and its the method def process_csv_and_update_collection(self, csv_file, user): on line 46