Replace `__slots__ = (field1,field2,...)` with `slots=True`
维护者通常 1 天内回复
评估
调研方向
在仓库中查找手动定义 __slots__ 的 dataclass,并阅读其周围的定义,以确认它们使用的是与 Python 3.10 兼容的 dataclass。将手动的 slot 声明替换为 dataclass 上的 slots=True,然后运行相关测试,验证行为未发生变化。
由索引模型根据 Issue 内容生成。
描述
Feature Request / Improvement
With Python 3.10 we don't have to manually set the slots. Instead, we can just set slots=True on the dataclass itself.
- 主要语言
- Python
- 星标
- 1.2k
- 派生
- 618
- 平均合并
- 1 天 19 小时
- 30 天内合并 PR
- 51
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/iceberg-python 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
apache/iceberg-python#4093 ·
维护者通常 1 天内回复
-
View does not expose metadata_location: RestCatalog.load_view discards it from the server's response可能已有人在做 @Soumo-git-hub 于 4 天前认领。 未关闭kind:bug
难度 2/5 1-3 小时 新手友好度 84/100
apache/iceberg-python#4073 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
apache/iceberg-python#4010 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
to_bytes silently rescales a Decimal with a negative scale可能已有人在做 @Rodrigo-Palma 于 24 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
apache/iceberg-python#3996 ·
维护者通常 1 天内回复
-
Deletion vector bitmap count is read from the blob and used as a loop bound without validation可能已有人在做 @ghoshp83 于 24 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 72/100
apache/iceberg-python#3979 ·
维护者通常 1 天内回复
查看 apache/iceberg-python 的全部 Issue
相似的 Issue
-
comp/gateway comp/plugins duplicate P3 type/bug
难度 2/5 1-3 小时 新手友好度 82/100
NousResearch/hermes-agent#137019 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bot-triaged module: docs triaged
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
new-entry
难度 2/5 1-3 小时 新手友好度 78/100
BinWang28/audio-ai-hub#194 ·
-
confluence: a paged listing's links re-encode a parameter they carry, where real carries it as sent未关闭fidelity
难度 2/5 1-3 小时 新手友好度 63/100
维护者通常 1 天内回复