Make `JobParameters` stricter in DiracX
- Vorherrschende Sprache
- Python
- Sterne
- 19
- Forks
- 45
- Ø Merge
- 4 T. 23 Std.
- Gemergte PRs (30 T.)
- 12
Beschreibung
In https://github.com/DIRACGrid/diracx/pull/626, we made the `JobParameters` pydantic model very flexible to allow any undocumented parameter to go through, but as discussed in the latest Bild Meeting, we actually want to document them and thus have a stricter model that take all of them into account.
Extensions should be able to easily extend the model in they have additional job parameters to support.
It involves going through DIRAC and streamline the job parameters (remove old and unused ones, merge the ones that are similar...).
Beitragsleitfaden
Rechercherichtung
Start by reading PR 626 and locating the JobParameters Pydantic model in DiracX. Then inventory the job parameters in DIRAC, including obsolete or similar ones and extension-specific parameters. Done means the supported parameters are documented in a stricter model that extensions can extend.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- backend-api-design
- Issue-Typ
- Refactoring
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100