Skip to content

Commit

Permalink
Remove data preparation proto definition.
Browse files Browse the repository at this point in the history
Clean up unused code in data preparation action.
  • Loading branch information
fernst committed Sep 19, 2024
1 parent f36a513 commit 4abd666
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 230 deletions.
1 change: 0 additions & 1 deletion core/actions/data_preparation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export class DataPreparation extends ActionBuilder<dataform.DataPreparation> {

config.filename = resolveActionsConfigFilename(config.filename, configPath);
const dataPreparationAsJson = nativeRequire(config.filename).asJson;
const dataPreparationDefinition = this.parseDataPreparationDefinitionJson(dataPreparationAsJson);

// Find targets
const targets = this.getTargets(dataPreparationAsJson as {
Expand Down
9 changes: 1 addition & 8 deletions packages/@dataform/core/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@ add_license_header_to_file(
to_file = "configs.proto",
)

add_license_header_to_file(
name = "data_preparation_proto_with_license",
from_file = "//protos:data_preparation.proto",
to_file = "data_preparation.proto",
)

add_license_header_to_file(
name = "bundle_with_license",
from_file = "bundle",
Expand Down Expand Up @@ -99,8 +93,7 @@ pkg_npm_tar(
":bundle_with_license",
":configs_proto_with_license",
":core_proto_with_license",
":data_preparation_proto_with_license",
":package.json",
"//:version.bzl"
"//:version.bzl",
],
)
1 change: 0 additions & 1 deletion protos/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ proto_library(
srcs = [
"configs.proto",
"core.proto",
"data_preparation.proto",
"evaluation.proto",
"execution.proto",
"profiles.proto",
Expand Down
220 changes: 0 additions & 220 deletions protos/data_preparation.proto

This file was deleted.

0 comments on commit 4abd666

Please sign in to comment.