class_docstr: Have one place to retrieve data from Yahoo API in order to ease caching and speed up operations.
  Singleton means one session one cookie shared by all threads.
class_docstr_tok: ["Have","one","place","to","retrieve","data","from","Yahoo","API","in","order","to","ease","caching","and","speed","up","operations",".","Singleton","means","one","session","one","cookie","shared","by","all","threads","."]
code: def _load_cookie_basic(self):
      cookie_dict = cache.get_cookie_cache().lookup("basic")
      if cookie_dict is None:
          return None
      # Periodically refresh, 24 hours seems fair.
      if cookie_dict["age"] > datetime.timedelta(days=1):
          return None
      utils.get_yf_logger().debug("loaded persistent cookie")
      return cookie_dict["cookie"]
  
imports: import functools
  from functools import lru_cache
  import requests
  from bs4 import BeautifulSoup
  import datetime
  from frozendict import frozendict
  from .None import utils, cache
  import threading
label_desc: Use image node_id 7 for calling the YfData obj's underlying member method code with example usage: obj._load_cookie_basic() and returns: cookie_dict, None, None