Files
edx-platform/common/djangoapps/track/backends/__init__.py
2019-12-30 12:25:38 -05:00

28 lines
429 B
Python

"""
Event tracking backend module.
Contains the base class for event trackers, and implementation of some
backends.
"""
import abc
import six
class BaseBackend(six.with_metaclass(abc.ABCMeta, object)):
"""
Abstract Base Class for event tracking backends.
"""
def __init__(self, **kwargs):
pass
@abc.abstractmethod
def send(self, event):
"""Send event to tracker."""
pass