mansfieldj3 opened a new pull request, #60432:
URL: https://github.com/apache/airflow/pull/60432

   This change enables users to configure proxy settings directly in Snowflake 
connections via extra parameters instead of relying solely on system 
environment variables, providing better isolation and control.
   
   What changes:
   
   - Add proxy_host, proxy_port, proxy_user, and proxy_password fields to 
SnowflakeHook connection configuration
   - Proxy parameters are extracted from connection extras and passed to 
snowflake.connector.connect()
   - UI fields added for proxy configuration in connection form
   - Support for both modern field names and backcompat prefixes
   
   Why:
   
   - Enables team-specific proxy configurations without affecting system-wide 
settings
   - Prevents unintended proxy usage from environment variables
   - Provides more granular control over network routing per connection
   
   Tests:
   
   - test_get_conn_params_with_proxy_host_only
   - test_get_conn_params_with_proxy_host_and_port
   - test_get_conn_params_with_proxy_port_as_int
   - test_get_conn_params_with_proxy_full_config
   - test_get_conn_params_with_proxy_backcompat_prefix
   - test_get_conn_with_proxy_should_call_connect
   
   Closes: #59078 


-- 
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]

Reply via email to