Skip to content

Commit 5d1c23f

Browse files
Martin Huschenbettcopybara-github
authored andcommitted
Added suppressions for pytype --none-is-not-bool.
PiperOrigin-RevId: 698353624
1 parent d3003fc commit 5d1c23f

File tree

1 file changed

+1
-1
lines changed
  • tensorflow_decision_forests/tensorflow/ops/inference

1 file changed

+1
-1
lines changed

tensorflow_decision_forests/tensorflow/ops/inference/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ class _InferenceArgsBuilder(AutoTrackable):
446446
def __init__(self, verbose: Optional[bool] = True):
447447

448448
super().__init__()
449-
self._verbose: bool = verbose
449+
self._verbose: bool = verbose # pytype: disable=annotation-type-mismatch
450450
self._header: Optional[abstract_model_pb2.AbstractModel] = None
451451
self._data_spec: Optional[data_spec_pb2.DataSpecification] = None
452452
self._feature_name_to_idx = None

0 commit comments

Comments
 (0)