call _validate() in _ParseOpParams.from_features().
PiperOrigin-RevId: 343008341 Change-Id: Iea8b5eadb7c3c9d97deb965b202b1db1b485795a
This commit is contained in:
parent
430635d4ec
commit
0510b26aa5
@ -451,6 +451,7 @@ class _ParseOpParams(object):
|
||||
raise ValueError("Unsupported %s %s." %
|
||||
(type(feature).__name__, feature))
|
||||
params._add_feature(key, feature) # pylint: disable=protected-access
|
||||
params._validate() # pylint: disable=protected-access
|
||||
return params
|
||||
|
||||
@property
|
||||
|
Loading…
Reference in New Issue
Block a user