We're updating the issue view to help you get more done. 

Link should be able to take an entity object as the parameter and derive its id

Description

I should be able to create an link as follows:

1 2 3 4 entity = syn.get("syn123") folder = syn.get("syn345") l = Link(entity, parent = folder) syn.store(l)

_init_() of Link just needs to use utils.id_of(target) instead of setting target id directly

Environment

Status

Assignee

Thomas Yu

Reporter

Ziming Dong

Validator

Ziming Dong

Fix versions

Priority

Minor