mik-laj commented on issue #24456:
URL: https://github.com/apache/airflow/issues/24456#issuecomment-1163589275
We can add support for the optional `snowflke_conn_id` paarameter.
```python
@snowpark_task(snowflke_conn_id='my-favourite-conn')
def count_user(session: Session): # session is required parameter
session.sql(...)
```
The [official
documentation](https://airflow.apache.org/docs/apache-airflow/stable/tutorial_taskflow_api.html#using-the-taskflow-api-with-docker-or-virtual-environments)
recommends that custom decorators should be called `task.CUSTOM`, so we should
introduce one change to @turbaszek's proposal
```
-@snowpark_task
[email protected]
```
--
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]