Skip to content

Commit

Permalink
Black/flake
Browse files Browse the repository at this point in the history
  • Loading branch information
etj committed Dec 19, 2024
1 parent 98cfe08 commit e7b8045
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion geonode/base/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1529,7 +1529,9 @@ def base_linked_resources_payload(instance, user, params={}):
lres = base_linked_resources_instances(instance, user, params)
ret = {
"linked_to": LinkedResourceSerializer(lres["linked_to"], embed=True, many=True).data,
"linked_by": LinkedResourceSerializer(instance=lres["linked_by"], serialize_source=True, embed=True, many=True).data
"linked_by": LinkedResourceSerializer(
instance=lres["linked_by"], serialize_source=True, embed=True, many=True
).data,
}
if lres.get("WARNINGS", None):
ret["WARNINGS"] = lres["WARNINGS"]
Expand Down

0 comments on commit e7b8045

Please sign in to comment.