Skip to content

Commit

Permalink
Add ContentMessage 추가 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
ops-jaeha committed Oct 20, 2022
1 parent 15acb3f commit accb0f2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions recommender_system/core/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Import Library
from typing import Optional, List
from pydantic import BaseModel
from sqlalchemy import Column, String

class ContentMessage(BaseModel):
text: Column(String)
images: Optional[List[Column(String)]]
video: Optional[Column(String)]

0 comments on commit accb0f2

Please sign in to comment.