File tree 3 files changed +7
-24
lines changed
components/statistics_gen
3 files changed +7
-24
lines changed Original file line number Diff line number Diff line change 18
18
from absl import logging
19
19
import tensorflow_data_validation as tfdv
20
20
from tensorflow_data_validation .statistics import stats_options as options
21
+ from tensorflow_data_validation .utils import dashboard_util
21
22
from tfx import types
22
23
from tfx .components .statistics_gen import stats_artifact_utils
23
24
from tfx .components .util import examples_utils
27
28
from tfx .types import standard_component_specs
28
29
from tfx .utils import io_utils
29
30
from tfx .utils import json_utils
30
- from tfx .utils import stats_utils
31
31
32
32
33
33
# Default file name for stats generated.
@@ -151,8 +151,7 @@ def Do(
151
151
152
152
try :
153
153
statistics_artifact .set_string_custom_property (
154
- STATS_DASHBOARD_LINK ,
155
- stats_utils .generate_stats_dashboard_link (statistics_artifact ),
154
+ STATS_DASHBOARD_LINK , dashboard_util .generate_stats_dashboard_link ()
156
155
)
157
156
except Exception as e : # pylint: disable=broad-except
158
157
# log on failures to not bring down Statsgen jobs
Original file line number Diff line number Diff line change @@ -638,6 +638,11 @@ message NodeExecutionOptions {
638
638
// If set then the node this NodeExecutionOptions belongs to marks the end
639
639
// of some lifetime.
640
640
string lifetime_start = 1 ;
641
+ // If True then the node this NodeExecutionOptions belongs to will execute
642
+ // when the pipeline is considered "finalized". Noted that the node will
643
+ // not have a start node and the node will always be triggered when the
644
+ // pipeline is finalized.
645
+ bool pipeline_lifetime = 2 ;
641
646
}
642
647
}
643
648
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments