def __init__(self, *args, **kwargs): self.with_health_data = kwargs.pop("with_health_data", False) self.stats_period = kwargs.pop("stats_period", None) Serializer.__init__(self, *args, **kwargs)
def __init__(self, exclude=None, include=None, *args, **kwargs): Serializer.__init__(self, *args, **kwargs) self.exclude = frozenset(exclude if exclude else ())
def __init__(self, exclude=None, *args, **kwargs): Serializer.__init__(self, *args, **kwargs) self.exclude = frozenset(exclude if exclude else ())