def coerce_string(value): assert_string_length(res, 50) return res
def parse_literal(ast): result = graphene.String.parse_literal(ast) assert_string_length(result, 50) return result
def coerce_string(value): assert_string_length(value, 50) return value