liuxiaocs7 commented on code in PR #28:
URL: 
https://github.com/apache/incubator-hugegraph-ai/pull/28#discussion_r1475663976


##########
hugegraph-python-client/src/pyhugegraph/client.py:
##########
@@ -63,3 +70,27 @@ def variable(self):
             return self._variable
         self._variable = VariableManager(self._graph_instance)
         return self._variable
+
+    def auth(self):
+        if self._auth:
+            return self._auth
+        self._auth = AuthManager(self._graph_instance)
+        return self._auth

Review Comment:
   can be simplify like below?
   
   ```python
   self._auth = self._auth or AuthManager(self._graph_instance)
   return self._auth
   ```
   
   same below



-- 
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