Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Class(TODO: rename this):
- name: str
- description: Optional[str]
- sessions: List[Session] = []
- members: List[User] = []
- Session:
- name: str
- is_active: bool
- understanding: SessionUnderstanding
- questions: List[Question] = []
- active_users: List[User] = []
- muted_users: List[User] = []
- User (Data comes from OAuth provider hence no pw is required):
- username: str
- email: str
- first_name: str
- last_name: str
- Question:
- text: str
- answers: List[str] = []
- upvote_users: List[User] = []
- downvote_users: List[User] = []
- SessionUnderstanding:
- red_users: List[User] = []
- amber_users: List[User] = []
- green_users: List[User] = []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement