9ed613e197
Part of structured approach for UpdateExpressions: 1) Expression gets parsed into a tokenlist (tokenized) 2) Tokenlist get transformed to expression tree (AST) -> This commit 3) The AST gets validated (full semantic correctness) 4) AST gets processed to perform the update This commit uses the tokenlist to build an expression tree. This tree is not yet used. Still it allows to raise additional Validation Exceptions which previously were missed silently therefore it allows tests to catch these type of ValidationException. For that reason DDB UpdateExpressions will be parsed already. It also makes sure we won't break existing tests. One of the existing tests had to be changed in order to still pass: - test_dynamodb_table_with_range_key.test_update_item_with_expression This test passed in a numeric literal which is not supported by DynamoDB and with the current tokenization it would get the same error as in AWS DynamoDB. |
||
---|---|---|
.. | ||
test_acm | ||
test_apigateway | ||
test_athena | ||
test_autoscaling | ||
test_awslambda | ||
test_batch | ||
test_cloudformation | ||
test_cloudwatch | ||
test_codecommit | ||
test_codepipeline | ||
test_cognitoidentity | ||
test_cognitoidp | ||
test_config | ||
test_core | ||
test_datapipeline | ||
test_datasync | ||
test_dynamodb | ||
test_dynamodb2 | ||
test_dynamodbstreams | ||
test_ec2 | ||
test_ec2_instance_connect | ||
test_ecr | ||
test_ecs | ||
test_elb | ||
test_elbv2 | ||
test_emr | ||
test_events | ||
test_glacier | ||
test_glue | ||
test_iam | ||
test_iot | ||
test_iotdata | ||
test_kinesis | ||
test_kms | ||
test_logs | ||
test_opsworks | ||
test_organizations | ||
test_packages | ||
test_polly | ||
test_rds | ||
test_rds2 | ||
test_redshift | ||
test_resourcegroups | ||
test_resourcegroupstaggingapi | ||
test_route53 | ||
test_s3 | ||
test_s3bucket_path | ||
test_secretsmanager | ||
test_ses | ||
test_sns | ||
test_sqs | ||
test_ssm | ||
test_stepfunctions | ||
test_sts | ||
test_swf | ||
test_utilities | ||
test_xray | ||
__init__.py | ||
backport_assert_raises.py | ||
helpers.py |