Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voeg letterlijke waarden toe aan nest mapping #268

Open
4 tasks
peterdesmet opened this issue Dec 16, 2024 · 0 comments
Open
4 tasks

Voeg letterlijke waarden toe aan nest mapping #268

peterdesmet opened this issue Dec 16, 2024 · 0 comments

Comments

@peterdesmet
Copy link
Member

De waarnemingen.be API geeft binnenkort onze enum waarden terug voor nest velden. Deze enum waarden moeten toegevoegd worden aan onze mapping.

Bv.

mapping_dict: dict[int, dict[str, str]] = {
329: {
"Hoger dan 4 meter": "hoger_dan_4_meter",
"Higher than 4 meters": "hoger_dan_4_meter",
"Lager dan 4 meter": "lager_dan_4_meter",
"Lower than 4 meters": "lager_dan_4_meter",
},

Uitbreiden naar

    329: {
         "hoger_dan_4_meter": "hoger_dan_4_meter", <--
         "Hoger dan 4 meter": "hoger_dan_4_meter",
         "Higher than 4 meters": "hoger_dan_4_meter",
         "lager_dan_4_meter": "lager_dan_4_meter", <--
         "Lager dan 4 meter": "lager_dan_4_meter",
         "Lower than 4 meters": "lager_dan_4_meter",
     }, 

Dit is nodig voor:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant