Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions yamcs-client/src/yamcs/client/core/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ def to_named_object_ids(
def to_argument_value(value, force_string):
if isinstance(value, (bytes, bytearray)):
return binascii.hexlify(value).decode("ascii")
elif isinstance(value, str):
return value
elif isinstance(value, collections.abc.Mapping):
# Careful to do the JSON dump only at the end,
# and not at every level of a nested hierarchy
Expand Down