Commit 4efa0f58 authored by Theo Steininger's avatar Theo Steininger

Added missing __repr__ to FieldArray

parent d985e8ee
Pipeline #13044 passed with stages
in 11 minutes and 52 seconds
...@@ -28,6 +28,9 @@ class FieldArray(FieldType): ...@@ -28,6 +28,9 @@ class FieldArray(FieldType):
except TypeError: except TypeError:
self._shape = (int(shape), ) self._shape = (int(shape), )
def __repr__(self):
return "FieldArray(shape=%r)" % (self.shape, )
@property @property
def shape(self): def shape(self):
return self._shape return self._shape
......
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