The GitHub Actions job "Tests" on airflow.git/fix-athena-sql-hook-kwargs has 
failed.
Run started by GitHub user shivaam (triggered by shivaam).

Head commit for run:
05252969fb0fe603986a718c462d305fde990102 / Shivam Rastogi 
<[email protected]>
fix(athena): Declare explicit constructor params in AthenaSQLHook

Replace kwargs filtering approach with explicit named parameters in
AthenaSQLHook.__init__ to match AwsGenericHook signature. This fixes
the TypeError from #55678 where BaseSQLOperator.get_hook() passed
connection extras like s3_staging_dir as kwargs.

The constructor now declares aws_conn_id, verify, region_name,
client_type, resource_type, and config as named params with types
matching the parent. Unexpected kwargs from connection extras are
absorbed by **kwargs and discarded.

Update ALLOWED_THICK_HOOKS_PARAMETERS in test_hooks_signature.py
to permit the newly declared params. Add config forwarding assertion
to existing test.

Report URL: https://github.com/apache/airflow/actions/runs/22417879422

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to