From 1034bcb0a0fedef1ea2c1e5430036fd5c9761add Mon Sep 17 00:00:00 2001 From: HarrisChu <1726587+HarrisChu@users.noreply.github.com> Date: Thu, 23 Sep 2021 16:32:46 +0800 Subject: [PATCH] enhance compatible --- nebula2/gclient/net/__init__.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nebula2/gclient/net/__init__.py b/nebula2/gclient/net/__init__.py index 554ad089..8b9667d3 100644 --- a/nebula2/gclient/net/__init__.py +++ b/nebula2/gclient/net/__init__.py @@ -8,6 +8,17 @@ import logging + +from nebula2.common.ttypes import ErrorCode +from nebula2.Exception import ( + AuthFailedException, + IOErrorException, + NotValidConnectionException, + InValidHostname, +) + +from nebula2.data.ResultSet import ResultSet + from nebula2.gclient.net.AuthResult import AuthResult from nebula2.gclient.net.Session import Session from nebula2.gclient.net.Connection import Connection