mirror of
https://github.com/Sosokker/HomieCare.git
synced 2025-12-19 02:04:03 +01:00
Update Camera model
This commit is contained in:
parent
0b31a89315
commit
c6adb4ed7a
@ -20,8 +20,8 @@ class WeatherDataBase(BaseModel):
|
||||
indoor_light: Optional[int]
|
||||
|
||||
class Config:
|
||||
orm_mode = True
|
||||
from_attributes = True
|
||||
|
||||
class Camera(BaseModel):
|
||||
rtsp_link: str
|
||||
rtmp_link: str = None
|
||||
camera_id: int
|
||||
link: str
|
||||
Loading…
Reference in New Issue
Block a user