Adding a Callback
which has the same name as an attribute no longer raises an exception
#3109
Labels
Callback
which has the same name as an attribute no longer raises an exception
#3109
When you add, for example, a callback called
Foo
to aLearner
, it makes that available in thefoo
attribute of the learner.Previously, if you added a
Foo
callback to a learner that already had afoo
attribute, that would raise an exception. However, since it's not possible to know what other callbacks exist and what attributes might be added to a learner, we've now removed the code that raises an exception.The text was updated successfully, but these errors were encountered: