<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def bind_parents( index, shared ):
 """Set parents on all items in index"""

    for v in iterindex( index ):
        v['parents'] = shared.get( v['address'], [] )