DIRACGrid / DIRACGrid/diracx

Make `JobParameters` stricter in DiracX

未關閉
#653 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
Python
星號
19
分支
45
平均合併
4 天 23 小時
30 天內合併 PR
12

描述

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...).

貢獻指南

開啟貢獻指南

研究方向

先閱讀 PR 626,並在 DiracX 中找出 JobParameters Pydantic 模型。接著盤點 DIRAC 中的作業參數,包括已淘汰或相似的參數,以及擴充功能專用的參數。當支援的參數已記錄在一個擴充功能可以擴充的更嚴格模型中時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
backend-api-design
Issue 類型
重構
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。