add tyoing

This commit is contained in:
2025-04-14 13:16:30 -03:00
parent f1020cd389
commit 29d23520ef

View File

@@ -589,7 +589,7 @@ class DynamoDBPersistenceLayer:
def transact_get_items(self, transact_items: TransactItems) -> list[dict[str, Any]]: def transact_get_items(self, transact_items: TransactItems) -> list[dict[str, Any]]:
try: try:
response = self.dynamodb_client.transact_get_items( response = self.dynamodb_client.transact_get_items(
TransactItems=transact_items.items TransactItems=transact_items.items # type: ignore
) )
except ClientError as err: except ClientError as err:
logger.exception(err) logger.exception(err)
@@ -603,7 +603,7 @@ class DynamoDBPersistenceLayer:
def transact_write_items(self, transact_items: TransactItems) -> bool: def transact_write_items(self, transact_items: TransactItems) -> bool:
try: try:
self.dynamodb_client.transact_write_items( self.dynamodb_client.transact_write_items(
TransactItems=transact_items.items TransactItems=transact_items.items # type: ignore
) )
except ClientError as err: except ClientError as err:
logger.exception(err) logger.exception(err)