Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[BUG] Public type stub has unresolved storage and typing references

未关闭 适合新手
#3,259 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 5 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1-3 小时
新手友好度
88/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
python
领域
tooling

调研方向

从 python/deeplake/init.pyi 开始,结合同级的 python/deeplake/storage.pyi,检查其中的 storage import 和 Dict 注解。更新未解析的引用,使包使用者能够解析它们,然后使用适当的类型检查或 stub 验证命令,确认该 stub 不再包含这些源代码级别的不一致。

由索引模型根据 Issue 内容生成。

描述

Affected code

python/deeplake/__init__.pyi

Behavior

The stub imports storage as a top-level module, but the tracked module is the sibling python/deeplake/storage.pyi; package consumers resolving the stub therefore cannot resolve that import as deeplake.storage. The same stub uses bare Dict in annotations (for example IndexingMode.__members__ and the from_coco credentials parameter) while it imports typing as a module and does not import Dict into the module namespace.

These are source-level unresolved stub references that affect type-checker consumers. No type checker or tests were run; the report is limited to the visible import/annotation mismatches.

主要语言
C++
星标
9.2k
派生
726
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

activeloopai/deeplake 的其他 Issue

查看 activeloopai/deeplake 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。