def __init__(self, api):
        """ Initializer for DirectPersistenceStrategy.

        :param api: the Keen Api object used to communicate with the Keen API
        """
        super(DirectPersistenceStrategy, self).__init__()
        self.api = api
def __init__ ( self , api ) : super ( DirectPersistenceStrategy , self ) . __init__ ( ) self . api = api
Initializer for DirectPersistenceStrategy.

        :param api: the Keen Api object used to communicate with the Keen API