[ 
https://issues.apache.org/jira/browse/TINKERPOP-2382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17218355#comment-17218355
 ] 

Kelvin R. Lawrence commented on TINKERPOP-2382:
-----------------------------------------------

It might be nice to think about allowing options to DriverRemoteConnection via 
a **kwargs dict. So for example one might do:
{code:java}
options = {'pool_size' :4, 'max_workers': 4}

connection = DriverRemoteConnection(
                endpoint,
                'g',
                options)
{code}
 

> Review and improve driver API for Python
> ----------------------------------------
>
>                 Key: TINKERPOP-2382
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2382
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: python
>    Affects Versions: 3.5.0
>            Reporter: Stephen Mallette
>            Priority: Major
>
> We continually added to the driver API for python without much thought as to 
> how it is structured. For example, we recently added kerberos support by just 
> adding another keyword argument:
> https://github.com/apache/tinkerpop/pull/1290/files#diff-7221fd838d81694769a9fc4f35d3053eR32
> It would be nice to look at the ever expanding list of keywords there and 
> improve/streamline the API a bit while we have a chance at breaking change 
> for 3.5.0.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to