We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If in odbc_kwargs key 'servername' is passed, error "TypeError: get_connection() got multiple values for keyword argument 'servername'" occurs.
it occurs here:
connection = pyodbc.connect(**kwargs) if reconnect: return get_connection( reconnect=False, servername=_get_random_node_address(connection), **kwargs )
Test example:
def a(bool_clause=True,**kwargs): x=kwargs if bool_clause: x=a(bool_clause=False,servername='good string',**kwargs) return x print a(a=True,**{'servername':'bad string','Database':'testDB'})
There are different ways of fixing it, so i didn't create a pull request.
Thanks for a pyvertica, it's great!)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If in odbc_kwargs key 'servername' is passed, error "TypeError: get_connection() got multiple values for keyword argument 'servername'" occurs.
it occurs here:
Test example:
There are different ways of fixing it, so i didn't create a pull request.
Thanks for a pyvertica, it's great!)
The text was updated successfully, but these errors were encountered: