add cert_expires_at
This commit is contained in:
@@ -86,7 +86,7 @@ class Course:
|
||||
|
||||
def _get_courses(ids: set) -> tuple[Course, ...]:
|
||||
pairs = tuple(KeyPair(idx, '0') for idx in ids)
|
||||
result = course_layer.collection.get_items(
|
||||
r = course_layer.collection.get_items(
|
||||
KeyChain(pairs),
|
||||
flatten_top=False,
|
||||
)
|
||||
@@ -96,7 +96,7 @@ def _get_courses(ids: set) -> tuple[Course, ...]:
|
||||
name=obj['name'],
|
||||
access_period=obj['access_period'],
|
||||
)
|
||||
for idx, obj in result.items()
|
||||
for idx, obj in r.items()
|
||||
)
|
||||
|
||||
return courses
|
||||
|
||||
Reference in New Issue
Block a user