Skip to content

Commit ac6bc20

Browse files
committed
dictionary with boolean
1 parent c5494a9 commit ac6bc20

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sds_data_manager/lambda_code/IAlirtCode/ialirt_db_query_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def process_item_types(item: dict) -> dict:
3535
elif isinstance(value, dict) and "N" in value:
3636
num = Decimal(value["N"])
3737
result[key] = int(num) if num % 1 == 0 else round(float(num), 3)
38+
# Dictionary with boolean
3839
elif isinstance(value, dict) and "BOOL" in value:
3940
result[key] = bool(value["BOOL"])
4041
# Scalar fields

0 commit comments

Comments
 (0)