Saving current progress with change from using Query() to Path()
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import datetime, json, pytz, secrets, time
|
||||
import pandas, xlrd # qrcode
|
||||
from fastapi import APIRouter, Body, Depends, Header, HTTPException, Query, Response, status
|
||||
from fastapi import APIRouter, Body, Depends, Header, HTTPException, Path, Query, Response, status
|
||||
from pydantic import BaseModel, EmailStr, Field, ValidationError
|
||||
from typing import Dict, List, Optional, Set, Union
|
||||
|
||||
@@ -33,7 +33,7 @@ router = APIRouter()
|
||||
async def import_event_session_list(
|
||||
e_confex_event_id: str = Query(..., min_length=5, max_length=22), # For AAPOR: aapor_2023 (2024-05); aapor_2023 (2023-05)
|
||||
|
||||
event_id: str = Query(..., min_length=11, max_length=22), # For AAPOR: MCz-Qm-48-j1 (1513 2024-05) 9jW-Db-SF-wt (1478 2023-05); x2H2P2MYlXU (1447 2022-05)
|
||||
event_id: str = Path(min_length=11, max_length=22), # For AAPOR: MCz-Qm-48-j1 (1513 2024-05) 9jW-Db-SF-wt (1478 2023-05); x2H2P2MYlXU (1447 2022-05)
|
||||
# Account ID For AAPOR: j5EBhRDqPuw (20)
|
||||
|
||||
begin_loop: int = 1,
|
||||
|
||||
Reference in New Issue
Block a user