shnhdan opened a new pull request, #63499: URL: https://github.com/apache/airflow/pull/63499
#### Description Adds `enable_hook_level_lineage: bool = True` parameter to `S3Hook.__init__`. When set to `False`, all `get_hook_lineage_collector()` calls in the hook are skipped. Default behavior is unchanged. **Changes:** - `hooks/s3.py` — new `enable_hook_level_lineage` param + all lineage calls gated behind it - `tests/test_s3.py` — tests covering default (enabled), disabled, and explicit enabled behavior Closes #63371 --- ##### Was generative AI tooling used to co-author this PR? - [x] Yes (Gemini) Generated-by: Gemini following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
