hasadna / hasadna/knesset-data-python
dataservice should support unified field for id / desc fields from new knesset API
- Langage dominant
- Python
- Étoiles
- 2
- Forks
- 14
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
@OriHoch:
> the new knesset API have a lot of these fields where you have somethingID and related somethingDesc
worth to create a new KnessetDataServiceField class which will handle it automatically -
so instead of defining those two fields, you would define only 1 field:
("type", KnessetDataServiceIdDescriptionField("SubType", "type of the bill"))
behind the scenes this field can expose a python tuple of (id, description)
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start by locating the existing KnessetDataService field definitions and how paired somethingID and somethingDesc values are handled. Define the scope of KnessetDataServiceIdDescriptionField and verify that a single field can expose the API pair as an (id, description) tuple; done means the proposed SubType definition works without separate fields.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- api, backend
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100