readthedocs/readthedocs.org

Use a named tuple for tags and branches data

Open

#7,798 建立於 2021年1月5日

在 GitHub 查看
 (5 留言) (1 反應) (0 負責人)Python (7,765 star) (3,748 fork)batch import
AcceptedGood First IssueImprovement

描述

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

貢獻者指南