Refactor product filtering and loading for generic scripts

Generic scripts are scripts that handle multiple product based on some identifier (URL, coordinates...).
This creates a common function to list and load product configurations for those scripts.

It makes them simpler to read and maintain, while making the way they work much more consistent.
This commit is contained in:
Marc Wrobel
2023-05-13 14:46:04 +02:00
parent 7c2bddb860
commit 5176abd4d4
7 changed files with 99 additions and 149 deletions

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@ website
vendor
.bundle
pyrightconfig.json
__pycache__