Skip to content

Commit

Permalink
todo: load resume json object file
Browse files Browse the repository at this point in the history
  • Loading branch information
vantage-ola committed Oct 9, 2024
1 parent 6212d34 commit 1f8abb5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
'''
from flask import Flask, jsonify, request
from models import Experience, Education, Skill, User
from utils import check_phone_number, correct_spelling
from utils import check_phone_number, correct_spelling, load_data
app = Flask(__name__)

# TODO: data = load_data('data/resume.json')
data = {
"user": [
User("Jackie Stewart",
Expand Down
1 change: 1 addition & 0 deletions data/resume.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "data": "TODO: resume data" }
4 changes: 4 additions & 0 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ def correct_spelling(text: str):
corrected_text = corrected_text.replace(word, correction)

return corrected_text

# TODO: function to load json file
def load_data():
pass

0 comments on commit 1f8abb5

Please sign in to comment.