This commit is contained in:
zandercymatics 2023-10-17 12:58:03 -06:00
parent 0dde277c86
commit faa35613e2
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 9 additions and 3 deletions

View file

@ -44,6 +44,8 @@ except NameError:
# Attn: these imports should NOT be at the top of the file # Attn: these imports should NOT be at the top of the file
try: try:
from epplibwrapper.socket import Socket
from epplibwrapper.utility.pool_error import PoolError, PoolErrorCodes
from .client import CLIENT, commands from .client import CLIENT, commands
from .errors import RegistryError, ErrorCode from .errors import RegistryError, ErrorCode
from epplib.models import common, info from epplib.models import common, info
@ -61,4 +63,7 @@ __all__ = [
"info", "info",
"ErrorCode", "ErrorCode",
"RegistryError", "RegistryError",
"Socket",
"PoolError",
"PoolErrorCodes"
] ]

View file

@ -81,7 +81,8 @@ class EPPLibWrapper:
self.pool_status = PoolStatus() self.pool_status = PoolStatus()
if start_connection_pool: if start_connection_pool:
self.start_connection_pool() pass
#self.start_connection_pool()
def _send(self, command): def _send(self, command):
"""Helper function used by `send`.""" """Helper function used by `send`."""

View file

@ -3,12 +3,12 @@ import gevent
from geventconnpool import ConnectionPool from geventconnpool import ConnectionPool
from epplibwrapper.socket import Socket from epplibwrapper.socket import Socket
from epplibwrapper.utility.pool_error import PoolError, PoolErrorCodes from epplibwrapper.utility.pool_error import PoolError, PoolErrorCodes
try: try:
from epplib.commands import Hello from epplib.commands import Hello
except ImportError: except ImportError:
pass pass
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)