

def _coerce(self, what, towhat):
    if (what is not None):
        return towhat(what)
    return what

dataset/ETHPy150Open rcbops/opencenter/opencenter/db/inmemory.py InMemoryBase._coerce/original