jedcunningham commented on code in PR #38423:
URL: https://github.com/apache/airflow/pull/38423#discussion_r1551866970
##########
airflow/providers/elasticsearch/provider.yaml:
##########
@@ -158,10 +158,19 @@ config:
index_patterns:
description: |
Comma separated list of index patterns to use when searching for
logs (default: `_all`).
+ The index_patterns_callable takes precedence over this.
version_added: 2.6.0
type: string
example: something-*
default: "_all"
+ index_patterns_callable:
+ description: |
+ A string representing the full path to the Python callable path
which accept TI object and
+ return comma separated list of index patterns. This will takes
precedence over index_patterns.
+ version_added: 2.9.0
Review Comment:
Those are just hold overs from when this config was in core. My immediate
reaction is it should be changed to the version it was added into the provider,
but I haven't given this problem much thought.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]