next-exp/IC

Gather symbols in a better way

Open

#835 ouverte le 26 avr. 2023

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Python (77 forks)auto 404
easyhelp wanted

Métriques du dépôt

Stars
 (10 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

In #816 all IC symbols were gathered in the same file and collected into a dictionary. This dictionary is useful to make all the symbols available to the code that reads config files. However, the method used to collect them into the dictionary is not the best. As suggested here The main alternatives are:

  1. A class decorator that adds every variant of the decorated enum to the dictionary
  2. Metaclasses

1 is the most straightforward, but both options should be explored and compared to see which one fits best.

Guide contributeur