Which methods do you implement in your handoffPolicy.py? I had the same error, but after i implemented following methods:
predict_action_probabilities, _standard_featurizer, train, persist and load
everything worked. Look into the following post as a reference: Custom Policy Issue