We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da6887e commit 1c90489Copy full SHA for 1c90489
elasticsearch_serverless/_sync/client/utils.py
@@ -123,7 +123,7 @@ def host_to_node_config(host: _TYPE_HOST) -> NodeConfig:
123
if isinstance(host, NodeConfig):
124
return host
125
elif isinstance(host, str):
126
- return url_to_node_config(host)
+ return url_to_node_config(host, use_default_ports_for_scheme=True)
127
elif isinstance(host, Mapping):
128
return host_mapping_to_node_config(host)
129
else:
0 commit comments