day0n opened a new pull request, #267:
URL: https://github.com/apache/incubator-hugegraph-ai/pull/267

   **Subject: Remove incorrect 'port' parameter from README example**
   
   **Problem:**
   The example code for instantiating `pyhugegraph.client.Client` in 
`README.md` incorrectly includes a `port` parameter.
   
   **Details:**
   The `Client` class constructor, as defined in 
`hugegraph-python-client/src/pyhugegraph/client.py`, does not accept a `port` 
parameter.
   Reference to the code: 
[https://github.com/apache/incubator-hugegraph-ai/blob/main/hugegraph-python-client/src/pyhugegraph/client.py](https://github.com/apache/incubator-hugegraph-ai/blob/main/hugegraph-python-client/src/pyhugegraph/client.py)
   
   Passing a `port` parameter as shown in the README's example would lead to a 
`TypeError` because it's an unexpected keyword argument.
   
   **Solution:**
   This PR updates the `README.md` to remove the `port` parameter from the 
`Client` instantiation example.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to