readthedocs/readthedocs.org
View on GitHubUse a named tuple for tags and branches data
Open
#7,798 opened on Jan 5, 2021
AcceptedGood First IssueImprovement
Description
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