DeviceStatus import

This commit is contained in:
Jörn-Michael Miehe 2022-04-07 09:02:28 +00:00
parent 64f8c416ab
commit c76d80bf47
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ Package `db`: ORM and schemas for database content.
"""
from .connection import Connection
from .device import Device, DeviceBase, DeviceCreate, DeviceRead
from .device import Device, DeviceBase, DeviceCreate, DeviceRead, DeviceStatus
from .tag import TagValue
from .user import User, UserBase, UserCreate, UserRead
@ -13,6 +13,7 @@ __all__ = [
"DeviceBase",
"DeviceCreate",
"DeviceRead",
"DeviceStatus",
"User",
"UserBase",
"UserCreate",

View file

@ -3,9 +3,8 @@
"""
from fastapi import APIRouter, Depends, HTTPException, status
from kiwi_vpn_api.db.device import DeviceStatus
from ..db import Device, DeviceCreate, DeviceRead, User
from ..db import Device, DeviceCreate, DeviceRead, DeviceStatus, User
from ..easyrsa import EASYRSA, DistinguishedName
from ._common import (Responses, get_current_user, get_device_by_id,
get_user_by_name)