From c5a3dae26724f3f1cf10a2f95e13628908a76250 Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Wed, 17 Aug 2016 19:30:08 -0400 Subject: [PATCH] BUG: Supply a module for Downsampled terms. --- zipline/pipeline/mixins.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zipline/pipeline/mixins.py b/zipline/pipeline/mixins.py index 7302f7cc..a1825101 100644 --- a/zipline/pipeline/mixins.py +++ b/zipline/pipeline/mixins.py @@ -457,5 +457,6 @@ class DownsampledMixin(StandardOutputs): return type( 'Downsampled' + other_base.__name__, (cls, other_base,), - {'__doc__': doc}, + {'__doc__': doc, + '__module__': other_base.__module__}, )