From 7e0b94d17b7550886917a15ff8425cc21258e6ec Mon Sep 17 00:00:00 2001 From: jansiraj <116732511+jansiraj@users.noreply.github.com> Date: Fri, 9 Aug 2024 12:26:51 +0530 Subject: [PATCH 1/5] Update test_app.py --- test_app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test_app.py b/test_app.py index c32e114..028b488 100644 --- a/test_app.py +++ b/test_app.py @@ -14,6 +14,7 @@ class TestFlaskApi(unittest.TestCase): def setUp(self): self.app = main.app.test_client() + self.secrets = {"APIKey": "abc123def456ghi789jkl012mno345pqr678stuv901wxz234"} self.app.testing = True def test_post_success_response(self): From 8fe2d1fcba84331fecf774ea64f5daf2857414d4 Mon Sep 17 00:00:00 2001 From: jansiraj <116732511+jansiraj@users.noreply.github.com> Date: Fri, 9 Aug 2024 12:29:42 +0530 Subject: [PATCH 2/5] Update main.py --- main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/main.py b/main.py index abbdca7..995789e 100644 --- a/main.py +++ b/main.py @@ -15,5 +15,4 @@ def create_app(): if __name__ == '__main__': db.create_all(app=create_app()) - print("hello") app.run(debug=False, host='0.0.0.0', port=8080) From 05019383c096f29adcf3c84a1089321224c9c516 Mon Sep 17 00:00:00 2001 From: jansiraj <116732511+jansiraj@users.noreply.github.com> Date: Fri, 9 Aug 2024 12:30:18 +0530 Subject: [PATCH 3/5] Update config.py --- config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index 851c7ff..6cc339c 100644 --- a/config.py +++ b/config.py @@ -3,4 +3,5 @@ class Config(object): TESTING = False SECRET_KEY = 'GDtfDCFYjD' SQLALCHEMY_DATABASE_URI = 'sqlite:///company.db' - SQLALCHEMY_TRACK_MODIFICATIONS = False \ No newline at end of file + SQLALCHEMY_TRACK_MODIFICATIONS = False + AWS_ACCESS_KEY_ID: 'ABCDEFGHIJKLMNOPQRST' From 4056e99d948189ea12645946c6762ada08bdc95e Mon Sep 17 00:00:00 2001 From: jansiraj <116732511+jansiraj@users.noreply.github.com> Date: Fri, 9 Aug 2024 14:34:17 +0530 Subject: [PATCH 4/5] Create new_file.py --- new_file.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 new_file.py diff --git a/new_file.py b/new_file.py new file mode 100644 index 0000000..bd3d062 --- /dev/null +++ b/new_file.py @@ -0,0 +1,2 @@ +print("hello") +AWS_ACCESS_KEY_ID: 'ABCDEFGHIJKLMNOPQRST' From f0c96943ec24f127a9af5fccb73b91c9325abc6c Mon Sep 17 00:00:00 2001 From: jansiraj <116732511+jansiraj@users.noreply.github.com> Date: Fri, 9 Aug 2024 15:36:18 +0530 Subject: [PATCH 5/5] Create emp.py --- emp/emp.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 emp/emp.py diff --git a/emp/emp.py b/emp/emp.py new file mode 100644 index 0000000..6c1f947 --- /dev/null +++ b/emp/emp.py @@ -0,0 +1 @@ +'password'='MySecretPassword123'