fix lint check

This commit is contained in:
heyder.dias 2020-03-05 18:39:20 -03:00
parent fa7f83bc2f
commit f5080e539d
2 changed files with 2 additions and 4 deletions

View File

@ -452,9 +452,7 @@ class Item(BaseModel):
if old_list_key.startswith("if_not_exists"):
old_list = self._get_default(old_list_key)
if not isinstance(old_list, DynamoType):
old_list = DynamoType(
expression_attribute_values[old_list]
)
old_list = DynamoType(expression_attribute_values[old_list])
else:
old_list = self.attrs[old_list_key.split(".")[0]]
if "." in old_list_key: