def configure(self, binder): binder.bind(ch.Person, to=ch.EvilPerson)
def configure(self, binder): binder.bind(ch.Person, annotated_with='good', to=ch.GoodPerson)
def configure(self, binder): binder.bind(ch.Person, annotated_with="good", to=ch.GoodPerson)
def configure(self, binder): binder.bind_scope(this.CustomScope, this.CustomScope()) binder.bind(ch.Person, to=ch.EvilPerson)