Skip to content

Commit 86d18ba

Browse files
committed
Added requirements.txt libraries
1 parent 7ae9eb9 commit 86d18ba

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

app.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
swagger = Swagger(app)
1010

1111
class UppercaseText(Resource):
12-
1312
def get(self):
1413
"""
1514
This method responds to the GET request for this endpoint and returns the data in uppercase.
@@ -39,7 +38,6 @@ def get(self):
3938
return jsonify({"text": text.upper()})
4039

4140
class Records(Resource):
42-
4341
def get(self):
4442
"""
4543
This method responds to the GET request for returning a number of books.
@@ -86,7 +84,6 @@ def get(self):
8684
return {"books": books}, 200
8785

8886
class AddRecord(Resource):
89-
9087
def post(self):
9188
"""
9289
This method responds to the POST request for adding a new record to the DB table.

requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
flask
2+
flasgger
3+
flask_restful
4+
pyairtable
5+
gunicorn

0 commit comments

Comments
 (0)