Make basechain a class variable in stead of initializing it in __init__. That way it's more easily overridden.
1 file changed