forked from hans/Nominatim
The _async parameter name is only supported since psycopg 2.7. However, async is a keyword in Python >= 3.7, so using this gives us a syntax error. Working around this by defining the parameters in a dict and handing that into the connect function.