Commit d52d270d authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[common] Add version of asset to data sent

This will allow better handling of new asset creation and
is a field that will be mandatory in the next release of
the beat platform.
parent 31cb1621
......@@ -1447,6 +1447,11 @@ def push(
# sends the data
if legend_symbol == "l": # POST (new object)
message["name"] =
version = getattr(storage, "version")
if version is not None:
message["version"] = version
if asset_type == "experiment":
message["toolchain"] = "/".join(splits[1:-1])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment