def __init__(self, time_series, data_object_name, *args, **kwargs):
    self.time_series = weakref.proxy(time_series)
    self.data_object_name = data_object_name
    self._args = args
    self._kwargs = kwargs
    qs = dict([(qn, create_quantity_proxy(qv)) for (qn, qv) in derived_quantity_registry.items()])
    self.quantities = TimeSeriesQuantitiesContainer(self, qs)
def __init__(self, time_series, data_object_name, *args, **kwargs):
    self.time_series = weakref.proxy(time_series)
    self.data_object_name = data_object_name
    self._args = args
    self._kwargs = kwargs
    qs = dict([(qn, create_quantity_proxy(qv)) for (qn, qv) in derived_quantity_registry.items()])
    self.quantities = TimeSeriesQuantitiesContainer(self, qs)