Skip to content

Commit

Permalink
Merge pull request #1986 from iamsusiep:dummy
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 319701322
  • Loading branch information
tfx-copybara committed Jul 14, 2020
2 parents b672db7 + ca9c62f commit 9352486
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tfx/experimental/pipeline_testing/stub_component_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,16 @@ def get_stub_launcher_class(
supported by the pipeline.
For example:
class MyPusherStubExecutor(base_stub_executor.BaseStubExecutor){...}
class MyTransformStubExecutor(base_stub_executor.BaseStubExecutor){...}
PipelineConfig(
supported_launcher_classes=[
stub_component_launcher.get_stub_launcher_class(
test_data_dir,
stubbed_component_ids = ['CsvExampleGen'],
stubbed_component_map = {'Pusher':
MyPusherStubExecutor})
stubbed_component_map = {
'Transform': MyTransformStubExecutor,
'Pusher': MyPusherStubExecutor})
],
)
The method also sets the necessary class variables for the
Expand Down

0 comments on commit 9352486

Please sign in to comment.