def init_collection(obj, key):
    state = instance_state(obj)
    dict_ = state.dict
    return init_state_collection(state, dict_, key)
Initialize a collection attribute and return the collection adapter.
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/orm/attributes.py/init_collection