Commit 6abc0315 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

add missing element for hashing

parent c9c5cfe0
......@@ -23,6 +23,7 @@ from functools import reduce
class FieldArray(FieldType):
def __init__(self, shape):
super(FieldArray, self).__init__()
self._needed_for_hash += ["_shape"]
try:
self._shape = tuple([int(i) for i in shape])
except TypeError:
......
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