def deserialize_dictionaries(
      self,
      input_file,
      restrict_to = None):
    """Restore all symbol tables from a file.

    Existing tables having the same type_name are overwritten.

    Args:
      input_file: Filename string or FileLike object.
      restrict_to: If defined, a list of types to restrict to.
    """
    for type_name, symbol_table in io.read_symbol_table_dict(
        input_file, restrict_to).items():
      self._symtab[type_name] = symbol_table
Restore all symbol tables from a file.

    Existing tables having the same type_name are overwritten.

    Args:
      input_file: Filename string or FileLike object.
      restrict_to: If defined, a list of types to restrict to.
    
language/nql/nql/__init__.py