You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observed with range_key_placeholder == #1 this substring check failed because the condition included more than 10 placeholders. Since '#1' is a substring of '#10' this expression evaluates to True: (range_key_placeholder and range_key_placeholder in filter_expression) in pynamodb.connection.base.Connection.query ->
iffilter_conditionisnotNone:
filter_expression=filter_condition.serialize(name_placeholders, expression_attribute_values)
# FilterExpression does not allow key attributes. Check for hash and range key name placeholdershash_key_placeholder=name_placeholders.get(hash_keyname)
range_key_placeholder=range_keynameandname_placeholders.get(range_keyname)
if (
hash_key_placeholderinfilter_expressionor
(range_key_placeholderandrange_key_placeholderinfilter_expression)
):
raiseValueError("'filter_condition' cannot contain key attributes")
The text was updated successfully, but these errors were encountered:
ezmuller
pushed a commit
to ermul/PynamoDB
that referenced
this issue
Feb 10, 2020
Observed with range_key_placeholder ==
#1
this substring check failed because the condition included more than 10 placeholders. Since '#1' is a substring of '#10' this expression evaluates to True:(range_key_placeholder and range_key_placeholder in filter_expression)
in pynamodb.connection.base.Connection.query ->The text was updated successfully, but these errors were encountered: