Skip to content

Commit fe2d383

Browse files
zoyahavtfx-copybara
authored andcommitted
n/a
PiperOrigin-RevId: 469473262
1 parent d8d5548 commit fe2d383

22 files changed

+44
-66
lines changed

tensorflow_transform/analyzer_nodes.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@
3535
from tensorflow_transform import tf2_utils
3636
from tensorflow_transform import tf_utils
3737
from tensorflow_transform.graph_context import TFGraphContext
38-
# TODO(https://issues.apache.org/jira/browse/SPARK-22674): Switch to
39-
# `collections.namedtuple` or `typing.NamedTuple` once the Spark issue is
40-
# resolved.
38+
# TODO(b/243513856): Switch to `collections.namedtuple` or `typing.NamedTuple`
39+
# once the Spark issue is resolved.
4140
from tfx_bsl.types import tfx_namedtuple
4241

4342
# pylint: disable=g-direct-tensorflow-import

tensorflow_transform/analyzers.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,8 @@
4444
from tensorflow_transform import schema_inference
4545
from tensorflow_transform import tf_utils
4646
from tfx_bsl import sketches
47-
# TODO(https://issues.apache.org/jira/browse/SPARK-22674): Switch to
48-
# `collections.namedtuple` or `typing.NamedTuple` once the Spark issue is
49-
# resolved.
47+
# TODO(b/243513856): Switch to `collections.namedtuple` or `typing.NamedTuple`
48+
# once the Spark issue is resolved.
5049
from tfx_bsl.types import tfx_namedtuple
5150
from typing_extensions import Literal
5251

tensorflow_transform/beam/analysis_graph_builder.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@
2626
from tensorflow_transform.beam import analyzer_cache
2727
from tensorflow_transform.beam import beam_nodes
2828
from tensorflow_transform.beam import combiner_packing_util
29-
# TODO(https://issues.apache.org/jira/browse/SPARK-22674): Switch to
30-
# `collections.namedtuple` or `typing.NamedTuple` once the Spark issue is
31-
# resolved.
29+
# TODO(b/243513856): Switch to `collections.namedtuple` or `typing.NamedTuple`
30+
# once the Spark issue is resolved.
3231
from tfx_bsl.types import tfx_namedtuple
3332

3433

tensorflow_transform/beam/analysis_graph_builder_test.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@
2323
from tensorflow_transform import tf2_utils
2424
from tensorflow_transform.beam import analysis_graph_builder
2525
from tensorflow_transform import test_case
26-
# TODO(https://issues.apache.org/jira/browse/SPARK-22674): Switch to
27-
# `collections.namedtuple` or `typing.NamedTuple` once the Spark issue is
28-
# resolved.
26+
# TODO(b/243513856): Switch to `collections.namedtuple` or `typing.NamedTuple`
27+
# once the Spark issue is resolved.
2928
from tfx_bsl.types import tfx_namedtuple
3029

3130
mock = tf.compat.v1.test.mock

tensorflow_transform/beam/analyzer_cache.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@
2121

2222
import apache_beam as beam
2323
import tensorflow as tf
24-
# TODO(https://issues.apache.org/jira/browse/SPARK-22674): Switch to
25-
# `collections.namedtuple` or `typing.NamedTuple` once the Spark issue is
26-
# resolved.
24+
# TODO(b/243513856): Switch to `collections.namedtuple` or `typing.NamedTuple`
25+
# once the Spark issue is resolved.
2726
from tfx_bsl.types import tfx_namedtuple
2827

2928
# This should be advanced whenever a non-backwards compatible change is made

tensorflow_transform/beam/beam_nodes.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@
4242

4343
import tensorflow as tf
4444
from tensorflow_transform import nodes
45-
# TODO(https://issues.apache.org/jira/browse/SPARK-22674): Switch to
46-
# `collections.namedtuple` or `typing.NamedTuple` once the Spark issue is
47-
# resolved.
45+
# TODO(b/243513856): Switch to `collections.namedtuple` or `typing.NamedTuple`
46+
# once the Spark issue is resolved.
4847
from tfx_bsl.types import tfx_namedtuple
4948

5049

tensorflow_transform/beam/cached_impl_test.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@
3434
from tensorflow_transform.beam import analyzer_cache
3535
from tensorflow_transform.beam import tft_unit
3636
from tensorflow_transform.tf_metadata import dataset_metadata
37-
# TODO(https://issues.apache.org/jira/browse/SPARK-22674): Switch to
38-
# `collections.namedtuple` or `typing.NamedTuple` once the Spark issue is
39-
# resolved.
37+
# TODO(b/243513856): Switch to `collections.namedtuple` or `typing.NamedTuple`
38+
# once the Spark issue is resolved.
4039
from tfx_bsl.types import tfx_namedtuple
4140

4241
mock = tf.compat.v1.test.mock

tensorflow_transform/beam/combiner_packing_util.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@
4040
from tensorflow_transform import analyzer_nodes
4141
from tensorflow_transform import nodes
4242
from tensorflow_transform.beam import beam_nodes
43-
# TODO(https://issues.apache.org/jira/browse/SPARK-22674): Switch to
44-
# `collections.namedtuple` or `typing.NamedTuple` once the Spark issue is
45-
# resolved.
43+
# TODO(b/243513856): Switch to `collections.namedtuple` or `typing.NamedTuple`
44+
# once the Spark issue is resolved.
4645
from tfx_bsl.types import tfx_namedtuple
4746

4847

tensorflow_transform/beam/common.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@
2222
from apache_beam.typehints import Union
2323
from tensorflow_transform import nodes
2424
from tfx_bsl.telemetry import util
25-
# TODO(https://issues.apache.org/jira/browse/SPARK-22674): Switch to
26-
# `collections.namedtuple` or `typing.NamedTuple` once the Spark issue is
27-
# resolved.
25+
# TODO(b/243513856): Switch to `collections.namedtuple` or `typing.NamedTuple`
26+
# once the Spark issue is resolved.
2827
from tfx_bsl.types import tfx_namedtuple
2928

3029
NUMERIC_TYPE = Union[float, int]

tensorflow_transform/beam/context.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@
1919

2020
import tensorflow as tf
2121
from tensorflow_transform import tf2_utils
22-
# TODO(https://issues.apache.org/jira/browse/SPARK-22674): Switch to
23-
# `collections.namedtuple` or `typing.NamedTuple` once the Spark issue is
24-
# resolved.
22+
# TODO(b/243513856): Switch to `collections.namedtuple` or `typing.NamedTuple`
23+
# once the Spark issue is resolved.
2524
from tfx_bsl.types import tfx_namedtuple
2625

2726

0 commit comments

Comments
 (0)