backend/lambda/connection-stream/lambda.py [69:77]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    }
    jsonData = json.dumps(data, default=decimal_default).encode('utf-8')
    response = apiClient.post_to_connection(ConnectionId = connectionId, Data = jsonData)
    print(response)

def decimal_default(obj):
    if isinstance(obj, decimal.Decimal):
        return int(obj)
    raise TypeError
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



backend/lambda/question-stream/lambda.py [92:100]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    }
    jsonData = json.dumps(data, default=decimal_default).encode('utf-8')
    response = apiClient.post_to_connection(ConnectionId = connectionId, Data = jsonData)
    print(response)

def decimal_default(obj):
    if isinstance(obj, decimal.Decimal):
        return int(obj)
    raise TypeError
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



