Fix the type annotation on `run_db_interaction` in the Module API.