Skip to content

Commit 5a6f140

Browse files
committed
#69 - Skip the entity in caching routines if it is of type bool
1 parent 8e72669 commit 5a6f140

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyttman/core/entity_parsing/parsers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,9 @@ def parse_entities(message: MessageMixin,
474474
parser_joined_suffixes_and_prefixes)
475475

476476
for field_name, entity in reversed(output.items()):
477+
if entity.is_boolean():
478+
continue
479+
477480
entity_field = entity_fields.get(field_name)
478481
duplicate_cache.update(entity_field.case_preserved_cache)
479482
value_for_type_conversion = entity_field.default

0 commit comments

Comments
 (0)