C2 W1 Programming Assingment

I’m generating the correct outputs, but the grader displays the following:

Exercise 8

Failed test case: modify_domain_of_features has incorrect type.
Expected:
typing.Callable,
but got:
<class ‘NoneType’>.

I verified that modify_domain_of_features creates a function, so it’s unclear why I’m getting this error.

Exercise 9

Failed test case: serving_anomalies_with_env has incorrect type.
Expected:
<class ‘tensorflow_metadata.proto.v0.anomalies_pb2.Anomalies’>,
but got:
<class ‘NoneType’>.

I verified that serving_anomalies_with_env is of <class 'tensorflow_metadata_proto_v0…

Anyone else having this issue?

Please click my name and message your notebook as an attachment.

You’ve left the # grade-up-to-here tag in the notebook in exercise 7. This is why exercise 8 and 9 aren’t graded.

Ughhhh! Thank you! I won’t make that mistake again :rofl:

@Adam96 tfdv.set_domain returns None. With this hint, please fix modify_domain_of_features