testcontainers / testcontainers/testcontainers-python

`ElasticSearchContainer` method `.get_url()` suggested in doc websites but not implemented anymore

未关闭
#980 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
2.3k
派生
386
平均合并
4 小时 40 分钟
30 天内合并 PR
1

描述

The docs in https://testcontainers.com/modules/elasticsearch/?language=python still suggest the usage of the method .get_url() for the container, which however was removed in the following commit:

https://github.com/testcontainers/testcontainers-python/commit/c785ecdca20b51e077ab23ed61ae123c643a0627.

I see that also the docs in https://testcontainers-python.readthedocs.io/en/latest/modules/elasticsearch/README.html still suggest to use the .get_url() method.

I tried to take a look at the examples in this repo and they don't seem to suggest .get_url(), I honestly don't know if this is the right place to report this but I don't know of a better place at the moment.

Thank you very much for the attenion

贡献指南

打开贡献指南

从这里开始

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

调研方向

先查看 testcontainers.com 页面上的 Elasticsearch 模块文档和 readthedocs README,然后检查仓库的文档源文件以及提交 c785ecdca20b51e077ab23ed61ae123c643a0627。更新文档,使其不再推荐已移除的 .get_url() 方法,并验证已发布的两个示例都与当前 API 保持一致。

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

评估

技术栈
elasticsearch, python
领域
databases
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

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