lanna_lalala;- commited on
Commit ·
f4f4c20
1
Parent(s): 813c139
update lesson.py -alanna
Browse files
phase/Student_view/lesson.py
CHANGED
|
@@ -8,7 +8,7 @@ import streamlit as st
|
|
| 8 |
from utils import db as dbapi # still used for teacher-assigned(DB) lessons
|
| 9 |
|
| 10 |
# use your frontend API wrapper
|
| 11 |
-
import api
|
| 12 |
|
| 13 |
def _api_post(path: str, payload: dict, timeout=10) -> dict | None:
|
| 14 |
"""
|
|
|
|
| 8 |
from utils import db as dbapi # still used for teacher-assigned(DB) lessons
|
| 9 |
|
| 10 |
# use your frontend API wrapper
|
| 11 |
+
from utils import api
|
| 12 |
|
| 13 |
def _api_post(path: str, payload: dict, timeout=10) -> dict | None:
|
| 14 |
"""
|