Closed
Description
Hi,
the dictionary below takes more than 30s to be processed. If the codebase contains more of such structures, it takes painfully long time to check it.
For now we use #3789 as a workaround to skip such slow parts.
Cheers,
yed_
testing env:
MB Pro 2013
Python 3.6
Mypy 0.521
testing file:
input = {
'body': {
'token': {
'type': 'string',
'required': False
},
'payloads': {
'type': 'list',
'required': True,
'schema': {
'type': 'dict',
'schema': {
'message': {
'type': 'string',
'required': True
},
'notification': {
'type': 'dict',
'required': True,
'schema': {
'body': {
'type': 'dict',
'schema': {
'type': {
'type': 'string',
'required': True
},
'data': {
'type': 'dict',
'required': True,
'schema': {
'bid': {
'type': 'string',
'required': False
},
'url': {
'type': 'string',
'required': False
}
}
}
}
}
}
}
}
}
}
}
}