Skip to content

Commit

Permalink
get values even on writeonly objects via rest api
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanpdx committed Jan 7, 2024
1 parent 9326401 commit 439f3e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions olaf/_internals/rest_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,6 @@ def _object_to_dict(
data["object_type"] = "VARIABLE"
data["access_type"] = obj.access_type
data["data_type"] = DATA_TYPE_NAMES[obj.data_type]
if obj.access_type == "wo":
value = ""
if add_values:
data["value"] = value
data["eng_value"] = value # always include, even when the same as value
Expand Down

0 comments on commit 439f3e4

Please sign in to comment.