You should swap the order of the import and `__all__` definitions around. Also, `NotImplementedError` is a builtin and you don't need to import it.