potiuk commented on issue #13542:
URL: https://github.com/apache/airflow/issues/13542#issuecomment-1030913188


   > @jpkoponen At least in v2.0.2 (which is the only v2.x version available on 
AWS MWAA), there's no reason to call `session.commit()` when using the 
`@provide_session` decorator. It [creates the 
session](https://github.com/apache/airflow/blob/2.0.2/airflow/utils/session.py#L69),
 and [calls `session.commit()` for 
you](https://github.com/apache/airflow/blob/2.0.2/airflow/utils/session.py#L32).
   
   Thre is also 2.2.2 as of recently. Can you please upgrade and check it there 
@danmactough ?
   


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