def METHOD_NAME(self, data):
    return TypeDoc(TypeDoc.TYPED_DICT, data['name'], data['doc'],
                   items=[TypedDictItem(item['key'], item['type'], item['required'])
                          for item in data['items']])