Applies the rest of the init refactor except to modular files (#35238)
* [test_all] Applies the rest of the init refactor except to modular files * Revert modular that doesn't work * [test_all] TFGPT2Tokenizer
This commit is contained in:
@@ -1107,7 +1107,7 @@ def check_public_method_exists(documented_methods_map):
|
||||
try:
|
||||
obj_class = getattr(submodule, class_name)
|
||||
except AttributeError:
|
||||
failures.append(f"Could not parse {submodule_name}. Are the required dependencies installed?")
|
||||
failures.append(f"Could not parse {class_name}. Are the required dependencies installed?")
|
||||
continue
|
||||
|
||||
# Checks that all explicitly documented methods are defined in the class
|
||||
|
||||
Reference in New Issue
Block a user