[
https://issues.apache.org/jira/browse/IGNITE-24297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Sapego updated IGNITE-24297:
---------------------------------
Component/s: thin client
> DB API Driver 3: Accept a single string value as argument for connect function
> ------------------------------------------------------------------------------
>
> Key: IGNITE-24297
> URL: https://issues.apache.org/jira/browse/IGNITE-24297
> Project: Ignite
> Issue Type: Improvement
> Components: thin client
> Reporter: Igor Sapego
> Assignee: Igor Sapego
> Priority: Major
> Labels: ignite-3
> Fix For: 3.1
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, we only accept a list of strings as an "address" argument value.
> Let's implement a single string value as argument as well for a single node
> case scenario.
> Now we get:
> {noformat}
> >>> db = pyignite3.connect(address="127.0.0.1:10800")
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/ignite3/python/pyignite3/__init__.py", line 695, in connect
> return _pyignite3_extension.connect(address=address, **kwargs)
> pyignite3.DatabaseError: No valid address to connect.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)