def parse_schema_string(schema_string):
if isinstance(schema_string, str):<EOL><INDENT>schema_string = schema_string.decode("<STR_LIT:utf8>")<EOL><DEDENT>schema_struct = json.loads(schema_string)<EOL>return AvroSchemaParser().parse_schema_struct(schema_struct)<EOL>
Load and return a PySchema class from an avsc string