Skip to content

Commit

Permalink
fix(linting): code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
azory-ydata committed Jan 12, 2024
1 parent bb339b9 commit 4de8544
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ydata/sdk/synthesizers/multitable.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from ydata.datascience.common import PrivacyLevel
from ydata.sdk.common.client import Client
from ydata.sdk.common.config import BACKOFF
from ydata.sdk.common.exceptions import InputError, ConnectorError
from ydata.sdk.common.exceptions import ConnectorError, InputError
from ydata.sdk.common.types import UID, Project
from ydata.sdk.connectors.connector import Connector, ConnectorType
from ydata.sdk.datasources import DataSource
Expand Down Expand Up @@ -119,6 +119,7 @@ def _check_or_fetch_connector(self, write_connector: Connector | UID) -> Connect
raise InputError("Invalid connector provided as input for write")

if write_connector.type not in [ConnectorType.AZURE_SQL, ConnectorType.MYSQL, ConnectorType.SNOWFLAKE]:
raise ConnectorError(f"Invalid type `{write_connector.type}` for the provided connector")
raise ConnectorError(
f"Invalid type `{write_connector.type}` for the provided connector")

return write_connector

0 comments on commit 4de8544

Please sign in to comment.