code: def embeddedFileGet(self, id):
          
          if self.isClosed or self.isEncrypted:
              raise ValueError("operation illegal for closed / encrypted doc")
  
          return _fitz.Document_embeddedFileGet(self, id)
docs: Retrieve embedded file content by name or by number.