Currently the get_connection method returns AsyncGenerator[AsyncpgConnection, None], which wont be the correct type for all users, since a lot of users have custom defined record classes, so imo we should make AsyncpgConfig accept a Record generic which we will use to type hint generators which are yielding the connection. If you are okay with this i can go ahead and make a PR