for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
# -*- coding: utf-8 -*-
from abc import ABC, abstractmethod
class AbstractSerializer(ABC):
def __init__(self):
super(AbstractSerializer, self).__init__()
@abstractmethod
def decode(self, s, **kwargs):
pass
def encode(self, d, **kwargs):