File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ async def parse_uri(
113113 srv_max_hosts ,
114114 )
115115 )
116+ result ["options" ] = result ["options" ].as_dict ()
116117 return result
117118
118119
@@ -184,5 +185,5 @@ async def _parse_srv(
184185
185186 return {
186187 "nodelist" : nodes ,
187- "options" : options . as_dict () ,
188+ "options" : options ,
188189 }
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ def parse_uri(
113113 srv_max_hosts ,
114114 )
115115 )
116+ result ["options" ] = result ["options" ].as_dict ()
116117 return result
117118
118119
@@ -184,5 +185,5 @@ def _parse_srv(
184185
185186 return {
186187 "nodelist" : nodes ,
187- "options" : options . as_dict () ,
188+ "options" : options ,
188189 }
Original file line number Diff line number Diff line change @@ -547,6 +547,6 @@ def _validate_uri(
547547 "password" : passwd ,
548548 "database" : dbase ,
549549 "collection" : collection ,
550- "options" : options . as_dict () ,
550+ "options" : options ,
551551 "fqdn" : fqdn ,
552552 }
You can’t perform that action at this time.
0 commit comments