code-review-fix task 14.4: fix inconsistent uuid_lib import to standard import uuid in main.py
This commit is contained in:
parent
3e4d4bd7ae
commit
346954bcee
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ import logging
|
|||
import os
|
||||
import re
|
||||
import threading
|
||||
import uuid as uuid_lib
|
||||
import uuid
|
||||
from pathlib import Path
|
||||
from typing import Optional, Dict, Any, List
|
||||
from datetime import datetime
|
||||
|
|
@ -1341,7 +1341,7 @@ async def training_start(request: TrainingStartRequest):
|
|||
"run_id": state.active_training_run_id,
|
||||
},
|
||||
)
|
||||
run_id = str(uuid_lib.uuid4())
|
||||
run_id = str(uuid.uuid4())
|
||||
state.active_training_run_id = run_id
|
||||
|
||||
config = state.pipeline_config or get_default_config()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue