code: def get_text(entry: Entry) -> BeautifulSoup:
      full_content = (
          entry.json["fullContent"]
          if "fullContent" in entry.json
          else ""
      )
      content = (
          entry.json["content"]["content"]
          if "content" in entry.json
          else ""
      )
      summary = (
          entry.json["summary"]["content"]
          if "summary" in entry.json
          else ""
      )
      title = entry.json["title"]
      best = max(full_content, content, summary, title, key=len)
  
      return BeautifulSoup(best.replace("\n", ""), "html.parser").text
  
file_path: transfer-nlp/data/feedly_data.py
imports: import os
  from pathlib import Path
  from random import shuffle
  from typing import List
  import numpy
  import pandas
  import urllib3
  from bs4 import BeautifulSoup
  from feedly.api_client.stream import StreamOptions
  from feedly.api_client.data import Entry
  from feedly.api_client.session import FeedlySession
label_desc: Use image node_id 1 for calling a global function with example usage: get_text(entry) and returns: BeautifulSoup