diff --git a/yapapi/props/builder.py b/yapapi/props/builder.py index b8fe0a189..3dc20953b 100644 --- a/yapapi/props/builder.py +++ b/yapapi/props/builder.py @@ -72,7 +72,7 @@ def add(self, m: Model): value = int(value.timestamp() * 1000) if isinstance(value, enum.Enum): value = value.value - assert isinstance(value, (str, int, list)) + assert isinstance(value, (str, int, list, dict)) self._properties[prop_id] = value def add_properties(self, props: dict):