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

   **Description**
   
   This change renames the Snowflake Cortex Agent hook and operator modules to 
`cortex_agent.py`, and the SQL API hook module to `sql_api.py`.
   
   Imports, mock targets, corresponding test filenames, documentation and 
provider metadata are updated to use the new module paths.
   
   **Rationale**
   
   The `snowflake_` prefix repeats information already provided by the 
`airflow.providers.snowflake` package. Removing it makes these module paths 
shorter while retaining descriptive filenames and keeping class names unchanged.
   
   **Tests**
   
   - Updated existing hook and operator tests to use the new module paths.
   - Added compatibility tests verifying that old imports emit deprecation 
warnings and resolve to the same classes as the new imports.
   
   **Backwards Compatibility**
   
   Existing import paths remain available through `add_deprecated_classes()` 
mappings in the hook and operator packages. Existing DAGs continue to work, 
with deprecation warnings directing users to the new paths.


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