Skip to content

Commit

Permalink
fix Makefile failing targets
Browse files Browse the repository at this point in the history
Signed-off-by: Maroun Touma <[email protected]>
  • Loading branch information
touma-I committed Dec 10, 2024
1 parent adaf78f commit 0c38a4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions transforms/universal/doc_id/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ run-cli-spark-sample:
make venv
source venv/bin/activate && \
$(PYTHON) -m dpk_$(TRANSFORM_NAME).spark.transform \
--run_locally True --data_local_config "{ 'input_folder' : '../test-data/input', 'output_folder' : '../output'}" \
--data_local_config "{ 'input_folder' : 'test-data/input', 'output_folder' : 'output'}" \
--doc_id_int True

run-cli-ray-sample:
make venv
source venv/bin/activate && \
$(PYTHON) -m dpk_$(TRANSFORM_NAME).ray.transform \
--run_locally True --data_local_config "{ 'input_folder' : '../test-data/input', 'output_folder' : '../output'}" \
--run_locally True --data_local_config "{ 'input_folder' : 'test-data/input', 'output_folder' : 'output'}" \
--doc_id_int True
4 changes: 2 additions & 2 deletions transforms/universal/doc_id/dpk_doc_id/transform_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def apply_input_params(self, args: Namespace) -> bool:
return super().apply_input_params(args=args)


class DocIDRuntime(DefaultPythonTransformRuntime):
class DocIDPythonRuntime(DefaultPythonTransformRuntime):
"""
Exact dedup runtime support
"""
Expand Down Expand Up @@ -110,7 +110,7 @@ class DocIDPythonTransformRuntimeConfiguration(PythonTransformRuntimeConfigurati
def __init__(self):
super().__init__(
transform_config=DocIDTransformConfiguration(),
runtime_class=DocIDRuntime,
runtime_class=DocIDPythonRuntime,
)


Expand Down

0 comments on commit 0c38a4c

Please sign in to comment.