Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix/conn_datasource_creation' in…
Browse files Browse the repository at this point in the history
…to fix/conn_datasource_creation
  • Loading branch information
fabclmnt committed Feb 7, 2025
2 parents bb46305 + 232f7f1 commit 6f7df21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions examples/synthesizers/privacy_example.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import os

from ydata.sdk.dataset import get_dataset
from ydata.sdk.synthesizers import PrivacyLevel, RegularSynthesizer

# Do not forget to add your token as env variables
os.environ["YDATA_TOKEN"] = '{insert-your-token}' # Remove if already defined

from ydata.sdk.dataset import get_dataset
from ydata.sdk.synthesizers import PrivacyLevel, RegularSynthesizer

def main():
"""In this example, we demonstrate how to train a synthesizer
Expand Down
2 changes: 1 addition & 1 deletion src/ydata/sdk/connectors/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(
name=name, project=project,
client=client)

#self._model = _connector_type_to_model(ConnectorType._init_connector_type(connector_type))._create_model(
# self._model = _connector_type_to_model(ConnectorType._init_connector_type(connector_type))._create_model(
# connector_type, credentials, name, client=client)

self._project = project
Expand Down

0 comments on commit 6f7df21

Please sign in to comment.