requests.py 284 B

12345678910111213141516171819
  1. from dataclasses import dataclass
  2. from dataclasses_json import dataclass_json
  3. from typing import List
  4. @dataclass_json
  5. @dataclass
  6. class User:
  7. name: str
  8. @dataclass_json
  9. @dataclass
  10. class Link:
  11. url: str
  12. name: str
  13. description: str
  14. private: bool
  15. tags: List[str]