class_docstr: ExportedApi is a collection of ExportedSymbols.
class_docstr_tok: ["ExportedApi","is","a","collection","of","ExportedSymbols","."]
docstr: Reads exports from filename.
docstr_tok: ["Reads","exports","from","filename","."]
code: def read(self, filename: str) -> None:
      """Reads exports from filename."""
      with open(filename, mode="r", encoding="utf-8") as f:
          data = json.load(f)
          self._docs.update(
              ExportedDoc.create(**d) for d in data["docs"]
          )
          self._symbols.update(
              ExportedSymbol.create(**s) for s in data["symbols"]
          )
  
imports: from collections.abc import Iterable, Sequence
  import json
  from typing import Any, NamedTuple
label_desc: Use image node_id 3 for calling the ExportedApi obj's underlying member method code with example usage: obj.read(filename) without return types