def __init__(self, *args, **kwargs):
self.base_adapter = kwargs.pop('<STR_LIT>', HTTPAdapter)<EOL>if inspect.isclass(self.base_adapter):<EOL><INDENT>self.base_adapter = self.base_adapter()<EOL><DEDENT>self.rate_limiter = RateLimiter.get(*args, **kwargs)<EOL>super(RLRequestAdapter, self).__init__()<EOL>
:keyword py:class:`requests.adapters.BaseAdapter` base_adapter:
  real adapter where requests are forwarded to.
  Can be either an instance of a class.

Other tuple and keywords arguments are given to the
:py:class:`RateLimiter` constructor.