Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch / opensearch-py
Describe the issue:
We are using the opensearch-py client to create new indexes in our OS instance. But the existing policy is necessary to be attached explicitely to the index, otherwise it will not work.
Is there a way to attach the policy while index creation with the client?