def __init__(self, context, **kwargs):
self.__calls_per_window = kwargs['<STR_LIT>']<EOL>self.__window_size = kwargs['<STR_LIT>'] * <NUM_LIT><EOL>self.window = None<EOL>self.count = <NUM_LIT:0><EOL>persistence = kwargs.get('<STR_LIT>')<EOL>if persistence is not None:<EOL><INDENT>persistence_kwargs = kwargs.get('<STR_LIT>') or {}<EOL>self.persistence = persistence(kwargs['<STR_LIT:key>'], context,<EOL>**persistence_kwargs)<EOL><DEDENT>else:<EOL><INDENT>self.persistence = None<EOL><DEDENT>
:param dict context:
  Uniquely describes the consumed resource.
  Used by the persistence layer to forge the URI
  describing the resource.

:keyword int window_size_sec:
  Size of a time window in seconds.

:keyword int calls_per_window:
  Number of authorized calls per time-window.

:keyword persistence:
  persistence class that may extends :py:class:`RLPersistence`

:keyword persistence_kwargs:
  keywords arguments given to the persistence layer constructor