From bb24e15a8857b6995b49297d59bb13603a044a73 Mon Sep 17 00:00:00 2001 From: smokestacklightnin <125844868+smokestacklightnin@users.noreply.github.com> Date: Sat, 26 Oct 2024 19:40:50 -0700 Subject: [PATCH] Fix Ruff rule F811 --- tfx/dsl/placeholder/placeholder_base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tfx/dsl/placeholder/placeholder_base.py b/tfx/dsl/placeholder/placeholder_base.py index 07a792a7d7..3c8d1169c7 100644 --- a/tfx/dsl/placeholder/placeholder_base.py +++ b/tfx/dsl/placeholder/placeholder_base.py @@ -45,7 +45,8 @@ # where ComponentSpecIntf is an interface that gives access to the few things # that Placeholder::encode() needs from the spec. TODO(pke) Implement. # TODO(b/191610358): Reduce the number of circular type-dependencies. -types = Any # To resolve circular dependency caused by type annotations. +# To resolve circular dependency caused by type annotations. +types = Any # noqa: F811 # TODO(b/190409099): Support RuntimeParameter. ValueType = Union[int, float, str, bool]