You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pytype-single repr.py
File "repr.py", line 5, in __init__: Name 'find_vocab_file_path' is not defined [name-error]
Called from (traceback):
line 7, in current file
For more details, see https://google.github.io/pytype/errors.html#name-error
The text was updated successfully, but these errors were encountered:
This is happening because pytype attempts to instantiate VocabLoader while analyzing ModelPlus, before seeing find_vocab_file_path. You can work around it by moving find_vocab_file_path before ModelPlus in the source code.
Software versions
Python 3.11.3
pytype 2023.12.08
Testcase
Description
The text was updated successfully, but these errors were encountered: