Skip to content

Commit 43155bd

Browse files
surajitsurajit
authored andcommitted
add boto3 to requirements
1 parent a9fe111 commit 43155bd

File tree

5 files changed

+18
-3
lines changed

5 files changed

+18
-3
lines changed

app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import os
2-
31
from fastapi import FastAPI
42
from fastapi import Request
53
from fastapi.templating import Jinja2Templates
@@ -9,12 +7,14 @@
97
from routes.v1 import company
108
from routes.v1 import charge
119

10+
1211
app = FastAPI()
1312
app.include_router(email.router)
1413
app.include_router(contact.router)
1514
app.include_router(company.router)
1615
app.include_router(charge.router)
1716

17+
1818
templates = Jinja2Templates(directory="templates")
1919

2020

env-example

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ STRIPE_SECRET_KEY = str
99
HUBSPOT_API_KEY = str
1010
SENDGRID_API_KEY = str
1111
WELCOME_MESSAGE_TEMPLATE_ID=str
12-
PAYMENT_CONFIRMATION_TEMPLATE_ID=str
12+
PAYMENT_CONFIRMATION_TEMPLATE_ID=str
13+
AWS_SECRET_KEY_ID = str
14+
AWS_SECRET_KEY = str
15+
AWS_REGION = str

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
alembic==1.7.7
22
anyio==3.6.1
33
black==22.3.0
4+
boto3==1.23.5
45
certifi==2021.10.8
56
coverage==6.3.3
67
charset-normalizer==2.0.12

settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@
2323
TEST_DATA_DIR = BASE_DIR.joinpath("tests/data")
2424
LOG_FILE_DIR = BASE_DIR.joinpath("logs")
2525
LOG_FILE_NAME = "app.json"
26+
27+
AWS_SECRET_KEY_ID = config('AWS_SECRET_KEY_ID')
28+
AWS_SECRET_KEY = config('AWS_SECRET_KEY')
29+
AWS_REGION = config('AWS_REGION')

task_checklist.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,11 @@
4949
- Integrate pytest
5050
- Add tests for the API endpoints
5151
- Add tests for the stripe api functionality
52+
- Add tests for hubspot functions
53+
54+
# Task 7 (IN PROGRESS)
55+
56+
- Integrate boto3
57+
- Add tests for the API endpoints
58+
- Add tests for the stripe api functionality
5259
- Add tests for hubspot functions

0 commit comments

Comments
 (0)