TypeError: schema is of type str, should be a Schema proto

In modify_domain name, I am getting this issue. Could you help me on this?

Please update your post with details on which week, lab and cell you are referring to.

hi,

I am also getting the same error of “schema is of type str schema should be proto”
on executing this line [99] modify_domain_of_features

and further I am able to get the next Exercise graded due to this error.

which parameter is of type proto?
In this modify function we have only this line
tfdv.set_domain(feature, schema, to_domain_name)

Please see this link on tfdv.set_domain and fix the method call.

Thanks this helped and corrected the issue.