code: def default(self, python_object: Any) -> Any:
      if isinstance(python_object, frozenset):
          return {
              "__class__": "frozenset",
              "__value__": list(python_object),
          }
      return super().default(python_object)
  
file_path: dedupe/dedupe/serializer.py
imports: import json
  from typing import Any, Iterator, TextIO
  from dedupe._typing import TrainingData
label_desc: Use image node_id 3 for calling the TupleEncoder obj's underlying member method code with example usage: obj.default(python_object) and returns: super, dict