Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. abstract class engine
  2. method __init__ self
  3. list[str] boards
  4.  
  5. class board
  6. engine host
  7. str id
  8. str name
  9. list[engine.post] threads
  10. method __init__ self host id
  11. method update self
  12.  
  13. class post
  14. engine.post &parent
  15. engine.post.hash tripcode
  16. str id
  17. str author
  18. str title
  19. str body
  20. bool sage
  21. datetime timestamp
  22. list[engine.post] children
  23. int children_count
  24. bool full
  25. method __init__ self id parent
  26. method update self
  27. method new cls parent body sage title author tripcode
  28. | sage: False
  29. | title: ""
  30. | author: ""
  31. | tripcode: ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement