DeviceStatus import
This commit is contained in:
parent
64f8c416ab
commit
c76d80bf47
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ Package `db`: ORM and schemas for database content.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from .connection import Connection
|
from .connection import Connection
|
||||||
from .device import Device, DeviceBase, DeviceCreate, DeviceRead
|
from .device import Device, DeviceBase, DeviceCreate, DeviceRead, DeviceStatus
|
||||||
from .tag import TagValue
|
from .tag import TagValue
|
||||||
from .user import User, UserBase, UserCreate, UserRead
|
from .user import User, UserBase, UserCreate, UserRead
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@ __all__ = [
|
||||||
"DeviceBase",
|
"DeviceBase",
|
||||||
"DeviceCreate",
|
"DeviceCreate",
|
||||||
"DeviceRead",
|
"DeviceRead",
|
||||||
|
"DeviceStatus",
|
||||||
"User",
|
"User",
|
||||||
"UserBase",
|
"UserBase",
|
||||||
"UserCreate",
|
"UserCreate",
|
||||||
|
|
|
@ -3,9 +3,8 @@
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from fastapi import APIRouter, Depends, HTTPException, status
|
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 ..easyrsa import EASYRSA, DistinguishedName
|
||||||
from ._common import (Responses, get_current_user, get_device_by_id,
|
from ._common import (Responses, get_current_user, get_device_by_id,
|
||||||
get_user_by_name)
|
get_user_by_name)
|
||||||
|
|
Loading…
Reference in a new issue