8451 / 8451/confectioner

Allow `bake` to take optional extra dictionaries

未關閉
#1 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
8
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

Enhancement: Have `bake` allow for extra existing dictionaries to automatically be mixed. This is useful for passing values not known before runtime, but may be required to resolve the templating syntax in the config file.

```python
options = {'A': 1}

options = bake(
'recipe.yml',
arg1=True,
arg2=False,
extras=[options]
)
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

查看 codebase 中 bake function 的實作,了解它目前如何處理 arguments 和 templates。找出要在哪裡注入額外的 dictionaries。檢查是否已有針對 bake 的 tests,以查看預期行為,並為新的 extras parameter 新增一個 test。透過執行 test suite 驗證此變更是否有效。

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

評估

領域
tooling
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

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

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