readthedocs.org
readthedocs.org copied to clipboard
Use a named tuple for tags and branches data
We are passing a list of dictionaries with verbose_name and identifier, we should use a data structure for this instead to avoid bugs.
We need to make sure that celery can serialize named tuples.
ref https://github.com/readthedocs/readthedocs.org/pull/7548#discussion_r542636920
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Reference: https://github.com/readthedocs/readthedocs.org/blob/b8eb7728c59be744570d9d600634c2cd396cc126/readthedocs/builds/tasks.py#L256-L264
Hey, I am really interested in this Issue. I'll work on it as my first contribution to the project
Update: instead of using NamedTuples, we want to use dataclasses 🚀
Hi! Wow, there is 2 years since last PR referenced to this issue was created. Is it task still in need? I would like to help!