# HG changeset patch # User RĂ©mi Cardona # Date 1444136805 -7200 # Node ID 0b4d6beec132c76e86b8d9c264c1da998a93dea0 # Parent 8316fdad99875c42b099b074895e0b5caa08fb08 [dataimport] Update doc to reflect new API relate() looks deprecated. diff -r 8316fdad9987 -r 0b4d6beec132 dataimport/stores.py --- a/dataimport/stores.py Mon Oct 26 15:22:09 2015 +0100 +++ b/dataimport/stores.py Tue Oct 06 15:06:45 2015 +0200 @@ -21,7 +21,7 @@ >>> user_eid = store.prepare_insert_entity('CWUser', login=u'johndoe') >>> group_eid = store.prepare_insert_entity('CWUser', name=u'unknown') - >>> store.relate(user_eid, 'in_group', group_eid) + >>> store.prepare_insert_relation(user_eid, 'in_group', group_eid) >>> store.flush() >>> store.commit() >>> store.finish()