blakeblackshear.frigate/frigate/api/defs/response/generic_response.py
Nicolas Mowen d3b631a952
Api improvements (#15327)
* Organize api files

* Add more API definitions for events

* Add export select by ID

* Typing fixes

* Update openapi spec

* Change type

* Fix test

* Fix message

* Fix tests
2024-12-06 08:04:02 -06:00

7 lines
102 B
Python

from pydantic import BaseModel
class GenericResponse(BaseModel):
success: bool
message: str