def assert_attribute_conversion(attribute, graphene_field, **kwargs):
graphene_type = convert_pynamo_attribute(attribute, attribute)
assert isinstance(graphene_type, graphene_field)
field = graphene_type.Field()
return field
评论列表
文章目录