Skip to content

Commit

Permalink
adds fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Jan 30, 2025
1 parent f40f175 commit 4e12b30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions synapseclient/models/mixins/storable_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,13 +686,15 @@ async def _follow_link(
or not (entity := entity_bundle.get("entity", None))
or not (links_to := entity.get("linksTo", None))
or not (link_class_name := entity.get("linksToClassName", None))
or not (link_target_name := entity.get("name", None))
or not (link_target_id := links_to.get("targetId", None))
):
return

pending_tasks = self._create_task_for_child(
child={
"id": link_target_id,
"name": link_target_name,
"type": link_class_name,
},
recursive=recursive,
Expand Down

0 comments on commit 4e12b30

Please sign in to comment.