Run black linter

This commit is contained in:
zandercymatics 2023-10-12 10:21:56 -06:00
parent 3a28a3a362
commit 542554959e
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 14 additions and 8 deletions

View file

@ -65,11 +65,16 @@ class EPPLibWrapper:
# Pool size
"size": settings.EPP_CONNECTION_POOL_SIZE,
# Which errors the pool should look out for
"exc_classes": (LoginError, RegistryError,),
# Occasionally pings the registry to keep the connection alive
"exc_classes": (
LoginError,
RegistryError,
),
# Occasionally pings the registry to keep the connection alive
"keepalive": settings.POOL_KEEP_ALIVE,
}
self._pool = EppConnectionPool(client=self._client, login=self._login, options=options)
self._pool = EppConnectionPool(
client=self._client, login=self._login, options=options
)
def _send(self, command):
"""Helper function used by `send`."""