Skip to content

Commit

Permalink
Trainer client bump and deprecation msg
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 3f9d6f91f108bd1c7c2360c5259570854f6704ef
  • Loading branch information
mikeknep committed Mar 6, 2024
1 parent d1b7f00 commit 69b78ab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
boto3~=1.20
dask[dataframe]==2023.5.1
gretel-client>=0.17.5
gretel-client>=0.17.7
jinja2~=3.1
networkx~=3.0
numpy~=1.20
Expand Down
10 changes: 10 additions & 0 deletions src/gretel_trainer/relational/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import logging

import gretel_trainer.relational.log

from gretel_trainer.relational.connectors import (
Expand All @@ -12,3 +14,11 @@
from gretel_trainer.relational.extractor import ExtractorConfig
from gretel_trainer.relational.log import set_log_level
from gretel_trainer.relational.multi_table import MultiTable

logger = logging.getLogger(__name__)

logger.warn(
"Relational Trainer is deprecated, and will be removed in the next Trainer release. "
"To transform and synthesize relational data, use Gretel Workflows. "
"Visit the docs to learn more: https://docs.gretel.ai/create-synthetic-data/workflows-and-connectors"
)

0 comments on commit 69b78ab

Please sign in to comment.