diff --git a/requirements.txt b/requirements.txt index d35e5c4b..24e9f1fc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/src/gretel_trainer/relational/__init__.py b/src/gretel_trainer/relational/__init__.py index 810d51f8..979b25bb 100644 --- a/src/gretel_trainer/relational/__init__.py +++ b/src/gretel_trainer/relational/__init__.py @@ -1,3 +1,5 @@ +import logging + import gretel_trainer.relational.log from gretel_trainer.relational.connectors import ( @@ -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" +)