SHARE
TWEET

Untitled

a guest Nov 21st, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Class(TODO: rename this):
  2.     name: str
  3.     description: Optional[str]
  4.     sessions: List[Session] = []
  5.     members: List[User] = []
  6.  
  7. Session:
  8.     name: str
  9.     is_active: bool
  10.     understanding: SessionUnderstanding
  11.     questions: List[Question] = []
  12.     active_users: List[User] = []
  13.     muted_users: List[User] = []
  14.  
  15. User (Data comes from OAuth provider hence no pw is required):
  16.     username: str
  17.     email: str
  18.     first_name: str
  19.     last_name: str
  20.  
  21. Question:
  22.     text: str
  23.     answers: List[str] = []
  24.     upvote_users: List[User] = []
  25.     downvote_users: List[User] = []
  26.  
  27. SessionUnderstanding:
  28.     red_users: List[User] = []
  29.     amber_users: List[User] = []
  30.     green_users: List[User] = []
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top