requests.py 282 B

1234567891011121314151617
  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]