code: def loads(schema_str):
      
      try:
          if sys.version_info[0] < 3:
              return schema.parse(schema_str)
          else:
              return schema.Parse(schema_str)
      except schema.SchemaParseException as e:
          raise ClientError("Schema parse failed: %s" % (str(e)))
docs: Parse a schema given a schema string