Skip to content

Commit

Permalink
No longer need proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
dmichalowicz committed Jul 13, 2016
1 parent bb7f392 commit def9ec3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions zipline/pipeline/factors/factor.py
@@ -1,13 +1,11 @@
"""
factor.py
"""
from abc import ABCMeta
from functools import wraps
from operator import attrgetter
from numbers import Number

from numpy import inf, where
from six import with_metaclass

from zipline.errors import UnknownRankMethod
from zipline.lib.normalize import naive_grouped_rowwise_apply
Expand Down Expand Up @@ -314,11 +312,8 @@ def mathfunc(self):
)
)

FACTOR_DTYPES = frozenset([datetime64ns_dtype, float64_dtype, int64_dtype])


class FactorProxy(with_metaclass(ABCMeta, object)):
pass
FACTOR_DTYPES = frozenset([datetime64ns_dtype, float64_dtype, int64_dtype])


class Factor(RestrictedDTypeMixin, ComputableTerm):
Expand Down Expand Up @@ -1047,8 +1042,6 @@ def isfinite(self):
"""
return (-inf < self) & (self < inf)

FactorProxy.register(Factor)


class NumExprFactor(NumericalExpression, Factor):
"""
Expand Down

0 comments on commit def9ec3

Please sign in to comment.