code: def __init__(
      self,
      sleep: "typing.Callable[[float], Future[None]]" = gen.sleep,
      **kwargs: typing.Any,
  ) -> None:
      super().__init__(**kwargs)
      self.sleep = sleep
  
file_path: catboost/contrib/python/tenacity/py3/tenacity/tornadoweb.py
imports: import sys
  import typing
  from tenacity import BaseRetrying
  from tenacity import DoAttempt
  from tenacity import DoSleep
  from tenacity import RetryCallState
  from tornado import gen
label_desc: Use image node_id 1 to create a new TornadoRetrying object from inherited base classes: BaseRetrying with example: obj = TornadoRetrying(sleep)