mirror of https://github.com/stijndcl/didier
Rename script to have alphabetical name ordering
parent
0262d68fc9
commit
65201cd705
|
@ -7,7 +7,7 @@ __all__ = ["main"]
|
||||||
|
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
"""Add debug Ufora courses"""
|
"""Example script: add a Ufora course"""
|
||||||
session: AsyncSession
|
session: AsyncSession
|
||||||
async with DBSession() as session:
|
async with DBSession() as session:
|
||||||
modsim = UforaCourse(
|
modsim = UforaCourse(
|
|
@ -7,7 +7,7 @@ import asyncio
|
||||||
import sys
|
import sys
|
||||||
from typing import Callable
|
from typing import Callable
|
||||||
|
|
||||||
from database.scripts.debug_add_courses import main as debug_add_courses
|
from database.scripts.db00_example import main as debug_add_courses
|
||||||
|
|
||||||
script_mapping: dict[str, Callable] = {"debug_add_courses.py": debug_add_courses}
|
script_mapping: dict[str, Callable] = {"debug_add_courses.py": debug_add_courses}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue