Enforce correct creation of Context
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 48/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
调研方向
首先定位此 Python 仓库中 Context 的构造、接收 Context 的 API 方法以及现有的单元测试。添加 issue 中描述的 managerState 标志检查,并验证测试能够检测出错误创建或传递的 Context 对象。
由索引模型根据 Issue 内容生成。
描述
What
Set a flag in the Context.managerState and assert that the same flag exists in the Context passed to each API method
Why
See https://github.com/OpenAssetIO/usdOpenAssetIOResolver/pull/47 where the USD resolver plugin was not creating the Context properly, and it was only when prototyping a feature that required use of the managerState that it became apparent.
By making some use of the managerState, if only to store and check a boolean flag, we could have detected this problem early in the unit tests.
- 主要语言
- Python
- 星标
- 9
- 派生
- 9
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenAssetIO/OpenAssetIO-Manager-BAL 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 58/100
-
difficulty/medium documentation good first issue help wanted
难度 3/5 1-2 天 新手友好度 42/100
-
Use Python type annotations可能重新可做 @Srish-ty 于 803 天前认领,目前没有进行中的 PR。 未关闭difficulty/easy good first issue help wanted
难度 4/5 3-5 天 新手友好度 25/100
OpenAssetIO/OpenAssetIO-Manager-BAL#123 · 2 条评论 ·
-
难度 5/5 一周以上 新手友好度 20/100
OpenAssetIO/OpenAssetIO-Manager-BAL#88 · 2 条评论 ·
查看 OpenAssetIO/OpenAssetIO-Manager-BAL 的全部 Issue
相似的 Issue
-
physical
难度 2/5 1-3 小时 新手友好度 74/100
antonyrag/ragleap-core#1339 ·
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 83/100
AllenCell/SubCellSeg#5 ·
-
[🐛 Bug]: oidc_authverifier.py strips trailing slash causing "Invalid token: Invalid issuer" error未关闭
难度 2/5 1-3 小时 新手友好度 76/100
keephq/keep#6934 · 1 个 reaction ·
维护者通常 1 天内回复
-
bug game: 01008BA02525A000 ios
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
needs-triage
难度 1/5 1 小时以内 新手友好度 87/100
gke-labs/kube-agents#5501 ·
维护者通常 1 天内回复