TIMESTAMP(timezone=True) updated
This commit is contained in:
@@ -67,15 +67,6 @@ def is_bank_retrieve_account_records(bank_data):
|
||||
new_record_list = []
|
||||
for data_keys in data_bulk: # data_bulk is a dict
|
||||
for data_dict in data_bulk[data_keys]: # data_bulk[data_keys] is a list
|
||||
print(
|
||||
'record json to create :',
|
||||
dict(
|
||||
bank_date=data_dict["bank_date"],
|
||||
iban=data_dict["iban"],
|
||||
bank_reference_code=data_dict["bank_reference_code"],
|
||||
bank_balance=data_dict["balance"],
|
||||
)
|
||||
)
|
||||
data_dict["bank_balance"] = data_dict.pop("balance")
|
||||
data_dict["import_file_name"] = str(data_keys)
|
||||
data_dict = BankReceive(**data_dict).model_dump()
|
||||
|
||||
Reference in New Issue
Block a user