def register_serializer(name, serializer):
    if not isclass(serializer):
        serializer = serializer.__class__
    _serializers[name] = serializer
Records events for hours, days, weeks and months.
dataset/ETHPy150Open lsbardel/python-stdnet/stdnet/odm/utils.py/register_serializer--crossover with--dataset/ETHPy150Open caxap/redis-moment/moment/bitevents.py/record_events