Skip to content

Commit

Permalink
revert generate-roadmap model
Browse files Browse the repository at this point in the history
  • Loading branch information
pawito236 committed Nov 27, 2024
1 parent 4291fa7 commit 5b19be7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions models/roadmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Course(BaseModel):
id: str
title: str
description: str
thumbnailKey: str
thumbnail: str
duration: int
level: str
price: float
Expand All @@ -35,7 +35,6 @@ class Course(BaseModel):
updatedAt: datetime
teacher: Teacher
category: Category
teacherId: str

class RoadMapGeneratorRequest(BaseModel):
user_data: Dict[str, Any]
Expand Down Expand Up @@ -63,7 +62,7 @@ class Config:
"id": "fa51a450-f8b0-42a3-93f4-cc780b1cc5d8",
"title": "Introduction to Programming",
"description": "This course is an introduction to programming",
"thumbnailKey": "https://www.example.com/thumbnail.jpg",
"thumbnail": "https://www.example.com/thumbnail.jpg",
"duration": 60,
"level": "beginner",
"price": 100,
Expand All @@ -80,9 +79,8 @@ class Config:
"points": 0,
"createdAt": "2024-11-13T16:14:55.623Z",
"updatedAt": "2024-11-13T16:14:55.623Z",
"profileKey": "None"
"profileKey": None
},
"teacherId": "teacherId-123",
"category": {
"id": "122ec4ae-5e82-481a-9711-ec974224ac7b",
"title": "javascript",
Expand Down

0 comments on commit 5b19be7

Please sign in to comment.