This commit is contained in:
2025-07-10 17:36:51 -03:00
parent 72b1338135
commit bd6fbf7166
19 changed files with 250 additions and 16 deletions

View File

@@ -8,13 +8,11 @@ from layercake.dynamodb import DynamoDBPersistenceLayer
from boto3clients import dynamodb_client
from config import (
COURSE_TABLE,
ENROLLMENT_TABLE,
)
logger = Logger(__name__)
enrollment_layer = DynamoDBPersistenceLayer(ENROLLMENT_TABLE, dynamodb_client)
course_layer = DynamoDBPersistenceLayer(COURSE_TABLE, dynamodb_client)
@event_source(data_class=EventBridgeEvent)