Commit 26dcdd26 authored by Theo Steininger's avatar Theo Steininger

Removed FieldType.process

parent afafb3a0
Pipeline #12558 failed with stages
in 7 minutes and 36 seconds
......@@ -27,16 +27,3 @@ class FieldType(DomainObject):
else:
result = x.copy()
return result
def process(self, method_name, array, inplace=True, **kwargs):
try:
result_array = self.__getattr__(method_name)(array,
inplace,
**kwargs)
except AttributeError:
if inplace:
result_array = array
else:
result_array = array.copy()
return result_array
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment