opensearch-project/demos
[FEATURE][DocBot] Move variables into function declarations cluster_bootstrap.py
開放
#65 建立於 2023年10月23日
OSCIenhancementhelp wanted
倉庫指標
- 星標
- (4 顆星)
- PR 合併指標
- (PR 指標待抓取)
描述
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