Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a new method,
train_transforms
, that accepts a single Transforms model config and applies it to all tables. This method accepts an optional list of tables passed as eitheronly
orignore
to limit which tables are trained. (These arguments match the optional list arguments on the Relational Trainer Connector'sextract
method.)Users can include the name of a table as it appears in their db in the
only|ignore
argument and we will automatically extend that "request" to tables we invented from that source table (due to JSON). For example, if apurchases
table had nested JSON and we ended up inventing 3 tables when we normalized that JSON data, the user can just pass the namepurchases
to explicitly include/exclude that table—they don't need to know the exact names of the tables we created under the hood.This method will eventually fully replace
train_transform_models
, which is marked for deprecation here.While here, updated a few of the type hints to the new style.