Skip to content

Commit

Permalink
sample write connector as Connector
Browse files Browse the repository at this point in the history
  • Loading branch information
portellaa committed Jan 12, 2024
1 parent 4de8544 commit 4e78239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ydata/sdk/synthesizers/multitable.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ def __init__(
self, write_connector: Connector | UID, uid: UID | None = None, name: str | None = None,
project: Project | None = None, client: Client | None = None):

super().__init__(uid, name, project, client)

connector = self._check_or_fetch_connector(write_connector)
self.__write_connector = connector.uid

super().__init__(uid, name, project, client)

def fit(self, X: DataSource,
privacy_level: PrivacyLevel = PrivacyLevel.HIGH_FIDELITY,
datatype: DataSourceType | str | None = None,
Expand Down

0 comments on commit 4e78239

Please sign in to comment.