You specify a default of `None` and then assert that it's not `None`. If an argument is required, you shouldn't specify a default value.

Also, anything with a default value should be marked as "optional" in the docstring, see e.g. the docstring of `numpy.array`.