class_docstr: A protocol that defines a converter which takes a PdfReader object and converts it into a Document object.
class_docstr_tok: ["A","protocol","that","defines","a","converter","which","takes","a","PdfReader","object","and","converts","it","into","a","Document","object","."]
code: def convert(self, reader: "PdfReader") -> Document:
      ...
  
file_path: haystack/haystack/components/converters/pypdf.py
imports: import io
  import logging
  from typing import List, Union, Protocol, Dict, Any, Optional
  from pathlib import Path
  from haystack.dataclasses import ByteStream
  from haystack.lazy_imports import LazyImport
  from haystack import Document, component, default_to_dict
  from haystack.components.converters.utils import get_bytestream_from_source, normalize_metadata
label_desc: Use image node_id 1 for calling the PyPDFConverter obj's underlying member method code with example usage: obj.convert(reader) without return types