Skip to content
Snippets Groups Projects

Fix pylint warnings

Merged I. Nüske requested to merge f-240-fix-pylint-warnings into dev
3 files
+ 6
5
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -47,7 +47,7 @@ from ..exceptions import (ConfigurationError, HTTPClientError,
LoginFailedError)
try:
from ..version import version
from ..version import version # pylint: disable=import-error
except ModuleNotFoundError:
version = "uninstalled"
@@ -56,11 +56,12 @@ from .interface import CaosDBHTTPResponse, CaosDBServerConnection
from .utils import make_uri_path, urlencode
from typing import TYPE_CHECKING
from .authentication.interface import CredentialsAuthenticator
if TYPE_CHECKING:
from typing import Optional, Any, Iterator, Union
from requests.models import Response
from ssl import _SSLMethod
from .authentication.interface import AbstractAuthenticator, CredentialsAuthenticator
from ssl import _SSLMethod # pylint: disable=no-name-in-module
from .authentication.interface import AbstractAuthenticator
_LOGGER = logging.getLogger(__name__)
@@ -777,4+778,4 @@
if self._authenticator._credentials_provider is None:
raise ValueError(
"No credentials provider set. Please call configure_connection() first.")
return self._authenticator._credentials_provider.username
Loading