Commit b0d561f5 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

VariantMixin: Support boolean fields

Fixes #10749
parent a44ae974
Pipeline #9043 canceled with stages
in 2 minutes and 54 seconds
......@@ -274,6 +274,9 @@ def _get_type_and_variant_string(self,
if 'int' in field_type:
return str, f'{variant_str}i'
if 'bool' in field_type:
return bool, f'{variant_str}b'
if 'JID' in field_type:
return JID, f'{variant_str}s'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment