Now with working validation and correction feedback
This commit is contained in:
12
backend/app/row_storage.py
Normal file
12
backend/app/row_storage.py
Normal file
@@ -0,0 +1,12 @@
|
||||
class RowStorage:
|
||||
def __init__(self):
|
||||
self.data = {}
|
||||
|
||||
def get_row(self, row_num):
|
||||
return self.data.get(row_num, {})
|
||||
|
||||
def set_row(self, row_num, row_data):
|
||||
self.data[row_num] = row_data
|
||||
|
||||
|
||||
row_storage = RowStorage() # Singleton instance for storing row data
|
||||
Reference in New Issue
Block a user