Skip to content

Commit

Permalink
added properties to /get_package
Browse files Browse the repository at this point in the history
  • Loading branch information
niklastheman committed Dec 4, 2023
1 parent 3d6bbae commit bdf82e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fedn/fedn/network/api/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,10 @@ def get_compute_package(self):
payload = {}
id = str(package_object["_id"])
info = {
"filename": package_object["filename"],
"file_name": package_object["file_name"],
"helper": package_object["helper"],
"committed_at": package_object["committed_at"],
"storage_file_name": package_object["storage_file_name"],
}
payload[id] = info
return jsonify(payload)
Expand Down

0 comments on commit bdf82e4

Please sign in to comment.