opensearch-project/demos

[FEATURE][DocBot] Move variables into function declarations cluster_bootstrap.py

オープン

#65 opened on 2023/10/23

 (2 件のコメント) (0 件のリアクション) (1 人の担当者) (18 件のフォーク)auto 404
OSCIenhancementhelp wanted

Repository metrics

Stars
 (4 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Is your feature request related to a problem?

When we have parameters hidden in our files we cannot as easily test our changes. To make this code more testable we need to pull things like index names into the function parameters and we can set them as defaults if that makes sense.

https://github.com/opensearch-project/demos/pull/60/files#r1368887197

コントリビューターガイド