Skip to content

Commit

Permalink
Support double_val
Browse files Browse the repository at this point in the history
  • Loading branch information
achow committed Jan 31, 2025
1 parent 688e0c2 commit b867457
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pygnmi/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1387,6 +1387,9 @@ def telemetryParser(in_message=None, debug: bool = False):
elif update_msg.val.HasField("float_val"):
update_container.update({"val": update_msg.val.float_val})

elif update_msg.val.HasField("double_val"):
update_container.update({"val": update_msg.val.double_val})

elif update_msg.val.HasField("decimal_val"):
update_container.update({"val": update_msg.val.decimal_val})

Expand Down

0 comments on commit b867457

Please sign in to comment.