Serde: support deserialise Any typed values

This commit is contained in:
Johannes Kirschbauer
2024-09-13 16:08:20 +02:00
parent 315b3940c0
commit fd15bf4f5c

View File

@@ -202,6 +202,8 @@ def construct_value(
return construct_value(base_type, field_value)
# elif get_origin(t) is Union:
if t is Any:
return field_value
# Unhandled
msg = f"Unhandled field type {t} with value {field_value}"