Some of my Airflow jobs are going to use the Google DataStore. There are at least two obvious possibilities to access DataStore from Airflow:
- Use Googles python client library
- Use the Airflow Hook for DataStore interaction
The usage of the python library is much more convenient in contract to the hook. It has implemented all the nice things one need. The hook is more or less just pure API wrapper.
However, I'm wondering if there are some advantages from using the hook instead of the client library.