cahnges
Browse files
app.py
CHANGED
@@ -129,12 +129,12 @@ def ExtractSkills(skill_data: SkillDetails):
|
|
129 |
from datetime import datetime
|
130 |
from typing import Union
|
131 |
class Item(BaseModel):
|
132 |
-
title: str
|
133 |
-
description:
|
134 |
|
135 |
@app.post("/getProfileMatchResultsByName/{id}")
|
136 |
def getProfileMatchResultsByName(id: str):
|
137 |
-
item: Item
|
138 |
item.title ='test'
|
139 |
item.description = 'desc'
|
140 |
json_compatible_item_data = jsonable_encoder(item)
|
|
|
129 |
from datetime import datetime
|
130 |
from typing import Union
|
131 |
class Item(BaseModel):
|
132 |
+
title: str ='Test'
|
133 |
+
description: str = 'Desc'
|
134 |
|
135 |
@app.post("/getProfileMatchResultsByName/{id}")
|
136 |
def getProfileMatchResultsByName(id: str):
|
137 |
+
item: Item
|
138 |
item.title ='test'
|
139 |
item.description = 'desc'
|
140 |
json_compatible_item_data = jsonable_encoder(item)
|