mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-30 22:10:13 +03:00
fix: Import status module in project.py
Fix F821 undefined name 'status' error by importing the status module from fastapi. This resolves build errors when using status.HTTP_403_FORBIDDEN and status.HTTP_404_NOT_FOUND.
This commit is contained in:
parent
cd732ab4b5
commit
b4220d55c6
@ -21,7 +21,7 @@ import hashlib
|
||||
import datetime
|
||||
|
||||
from uuid import UUID, uuid4
|
||||
from fastapi import HTTPException
|
||||
from fastapi import HTTPException, status
|
||||
|
||||
from gns3server.compute.compute_error import ComputeError, ComputeNotFoundError, ComputeForbiddenError
|
||||
from .port_manager import PortManager
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user