fix range
This commit is contained in:
@@ -14,7 +14,10 @@ dyn = DynamoDBPersistenceLayer(ENROLLMENT_TABLE, dynamodb_client)
|
||||
|
||||
|
||||
@router.get('/<org_id>/enrollments/scheduled')
|
||||
def scheduled(org_id: str, start_key: Annotated[str | None, Query] = None):
|
||||
def scheduled(
|
||||
org_id: str,
|
||||
start_key: Annotated[str | None, Query] = None,
|
||||
):
|
||||
return dyn.collection.query(
|
||||
key=PartitionKey(f'SCHEDULED#ORG#{org_id}'),
|
||||
start_key=start_key,
|
||||
|
||||
Reference in New Issue
Block a user