neat variable declaration
This commit is contained in:
1 file changed
+4
-3
+4
-3
@@ -95,9 +95,10 @@ def generateScheduleV3(
|
|||||||
|
|
||||||
|
|
||||||
# Step 2 - Generate empty classes
|
# Step 2 - Generate empty classes
|
||||||
allClassRunCounts = []
|
allClassRunCounts: list[int] = []
|
||||||
courseRunInfo = {} # Generated now, used in step 4
|
courseRunInfo: dict[str: dict[str: any]] = {} # Generated now, used in step 4
|
||||||
emptyClasses = {} # List of all classes with how many students should be entered during step 3
|
emptyClasses: dict[str: dict[str: any]] = {} # List of all classes with how many students should be entered during step 3
|
||||||
|
|
||||||
# calculate number of times to run class
|
# calculate number of times to run class
|
||||||
for i in range(len(activeCourses)):
|
for i in range(len(activeCourses)):
|
||||||
index = list(activeCourses)[i]
|
index = list(activeCourses)[i]
|
||||||
|
|||||||
Reference in new issue
Block a user