misc: call parent's init in SchemaJSONDimension (#41814)

Broken by:

  9a4d84a python3: avoid __slots__ conflicts with class variable (#40570)
This commit is contained in:
Benjamin Dauvergne 2020-04-17 12:03:50 +02:00
parent 46b5349f93
commit be2c08a6f1
1 changed files with 1 additions and 0 deletions

View File

@ -222,6 +222,7 @@ class SchemaJSONDimension(schemas.Dimension):
type = 'string'
def __init__(self, json_field, name):
super(SchemaJSONDimension, self).__init__()
name = str(name)
self.name = name
self.label = name.title()