add tyoing
This commit is contained in:
@@ -589,7 +589,7 @@ class DynamoDBPersistenceLayer:
|
||||
def transact_get_items(self, transact_items: TransactItems) -> list[dict[str, Any]]:
|
||||
try:
|
||||
response = self.dynamodb_client.transact_get_items(
|
||||
TransactItems=transact_items.items
|
||||
TransactItems=transact_items.items # type: ignore
|
||||
)
|
||||
except ClientError as err:
|
||||
logger.exception(err)
|
||||
@@ -603,7 +603,7 @@ class DynamoDBPersistenceLayer:
|
||||
def transact_write_items(self, transact_items: TransactItems) -> bool:
|
||||
try:
|
||||
self.dynamodb_client.transact_write_items(
|
||||
TransactItems=transact_items.items
|
||||
TransactItems=transact_items.items # type: ignore
|
||||
)
|
||||
except ClientError as err:
|
||||
logger.exception(err)
|
||||
|
||||
Reference in New Issue
Block a user