readthedocs/readthedocs.org

Use a named tuple for tags and branches data

Open

#7,798 opened on Jan 5, 2021

View on GitHub
 (5 comments) (1 reaction) (0 assignees)Python (7,765 stars) (3,748 forks)batch import
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

Contributor guide

Use a named tuple for tags and branches data · readthedocs/readthedocs.org#7798 | Good First Issue