get_conn is the hook method that establishes or returns a connection to an external system. In a custom Airflow hook, it reads connection details from the metastore, builds a configured session, and returns connection data for higher-level methods. section 9.2.1
MovieLens API hook
A MovielensHook can read the movielens Airflow connection, default to HTTP on port 8081, attach its credentials to requests.Session, and return a Connection containing the session and base URL. A later get_ratings method can use that connection for paginated API requests.
