Bing Chat > Create a Python class AthenaQuery that caches the cursor object in the initialisation. The __init__ method should take the region, staging directory, and optional caching time. AthenaQuery also exposes a method for querying Athena which takes the query and database as the parameter.