SameerMesiah97 opened a new pull request, #70930: URL: https://github.com/apache/airflow/pull/70930
**Description** This change adds management operators for Snowflake Cortex Agents. The Snowflake provider now includes operators to create, update and delete Cortex Agents, complementing the existing `SnowflakeCortexAgentOperator` used to execute them. Each operator is a thin wrapper around the corresponding hook method and follows the existing provider patterns. **Rationale** The existing hook already exposes the Snowflake Cortex Agent management APIs. Providing corresponding operators allows these operations to be used directly in DAGs without requiring users to invoke the hook from custom Python tasks. This completes the operator support for the Cortex Agent lifecycle while remaining consistent with the abstractions provided throughout the Snowflake provider. **Tests** Added unit tests verifying that: * `SnowflakeCortexAgentCreateOperator` delegates to `create_agent()` with the expected arguments. * `SnowflakeCortexAgentUpdateOperator` delegates to `update_agent()` with the expected arguments. * `SnowflakeCortexAgentDeleteOperator` delegates to `delete_agent()` with the expected arguments. * Template fields are correctly configured for each new operator. **Documentation** The example DAG and operator documentation have also been expanded to include usage examples for each management operator. **Backwards Compatibility** This change is fully backwards compatible. The existing `SnowflakeCortexAgentOperator` is unchanged. The new management operators are additive and do not modify the behaviour of existing hooks or operators. ###### Was generative AI tooling used to co-author this PR? - [X] Yes (please specify the tool below) Generated-by: [GPT 5.5] 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]
