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 _get_cookie_and_crumb_basic(self, proxy, timeout):
      cookie = self._get_cookie_basic(proxy, timeout)
      crumb = self._get_crumb_basic(proxy, timeout)
      return cookie, crumb
  
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 10 for calling the YfData obj's underlying member method code with example usage: obj._get_cookie_and_crumb_basic(proxy, timeout) and returns: cookie,  crumb