Fix mongodb connection parameters not passed correctly

This commit is contained in:
Yiran Zhou 2022-05-08 22:39:06 +08:00 committed by GitHub
parent c6c1942214
commit a4d25b7884
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -313,6 +313,7 @@ class Channel(virtual.Channel):
if self.connect_timeout else None),
}
options.update(parsed['options'])
options.update(client.transport_options)
options = self._prepare_client_options(options)
return hostname, dbname, options