From 014ec0a27050ecab468ae73fd08ca6abb2341c88 Mon Sep 17 00:00:00 2001
From: KANCHARLA SRINADH <121589808+iditocommerce@users.noreply.github.com>
Date: Fri, 7 Jul 2023 13:34:27 +0530
Subject: [PATCH 1/5] Update Readme.md
---
Readme.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Readme.md b/Readme.md
index 56f0e249..34bc0fae 100644
--- a/Readme.md
+++ b/Readme.md
@@ -1,4 +1,4 @@
-
+# THIS IS FOR TEST PURPOSE
FinTech API v2
From 43397dec8bf5b44f5d4bcfe650645998b7910470 Mon Sep 17 00:00:00 2001
From: 9492277468+-Aa
Date: Fri, 7 Jul 2023 21:27:36 +0530
Subject: [PATCH 2/5] compound interest calculator modified in main
---
main.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/main.py b/main.py
index 7f8b518a..e45b71db 100644
--- a/main.py
+++ b/main.py
@@ -341,9 +341,9 @@ def payback_period(
description="Calculate compound interest amount",
)
def compound_interest(
- request: compoundInterest,
+ request: compoundInterest
):
- return compound_interest_task(request.principal_amount, request.interest_rate, request.time)
+ return compound_interest_task(request.principal_amount, request.interest_rate, request.years ,request.compounding_period)
# Endpoints to calculate certificate of deposit (CD)
From 44213ad2b98f1b3b15f88fb5be7f33a8531883c0 Mon Sep 17 00:00:00 2001
From: "deepsource-io[bot]"
<42547082+deepsource-io[bot]@users.noreply.github.com>
Date: Sat, 8 Jul 2023 11:04:07 +0000
Subject: [PATCH 3/5] ci: Add .deepsource.toml
---
.deepsource.toml | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 .deepsource.toml
diff --git a/.deepsource.toml b/.deepsource.toml
new file mode 100644
index 00000000..0ac63d33
--- /dev/null
+++ b/.deepsource.toml
@@ -0,0 +1,7 @@
+version = 1
+
+[[analyzers]]
+name = "python"
+
+ [analyzers.meta]
+ runtime_version = "3.x.x"
\ No newline at end of file
From 797d9f316bb4bce0e7f3837175481e9f0cbad643 Mon Sep 17 00:00:00 2001
From: 9492277468+-Aa
Date: Tue, 11 Jul 2023 15:27:45 +0530
Subject: [PATCH 4/5] edited the lumpsum 500 server and corrected
---
tasks/lumpsum.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tasks/lumpsum.py b/tasks/lumpsum.py
index dae1e6b5..48c34d03 100644
--- a/tasks/lumpsum.py
+++ b/tasks/lumpsum.py
@@ -1,7 +1,6 @@
from helpers import functions
from fastapi import HTTPException, status
-
-async def calculate_lumpsum_task(principal: float, interest_rate: float, years: int):
+def calculate_lumpsum_task(principal: float, interest_rate: float, years: int):
try:
total_amount = principal * (
From 1dafefb2c3b2e71c16ac88afcb03d6ae2e3937fb Mon Sep 17 00:00:00 2001
From: Subho Ghosh <93722719+ighoshsubho@users.noreply.github.com>
Date: Tue, 11 Jul 2023 21:32:52 +0530
Subject: [PATCH 5/5] Delete .deepsource.toml
---
.deepsource.toml | 7 -------
1 file changed, 7 deletions(-)
delete mode 100644 .deepsource.toml
diff --git a/.deepsource.toml b/.deepsource.toml
deleted file mode 100644
index 0ac63d33..00000000
--- a/.deepsource.toml
+++ /dev/null
@@ -1,7 +0,0 @@
-version = 1
-
-[[analyzers]]
-name = "python"
-
- [analyzers.meta]
- runtime_version = "3.x.x"
\ No newline at end of file