mirror of
https://github.com/mgeeky/decode-spam-headers.git
synced 2026-02-22 21:43:30 +01:00
17 lines
329 B
Python
17 lines
329 B
Python
from __future__ import annotations
|
|
|
|
from pydantic import BaseModel, ConfigDict, Field
|
|
|
|
from app.engine.models import Test
|
|
|
|
|
|
class TestResponse(Test):
|
|
pass
|
|
|
|
|
|
class TestListResponse(BaseModel):
|
|
model_config = ConfigDict(populate_by_name=True)
|
|
|
|
tests: list[TestResponse]
|
|
total_count: int = Field(alias="totalCount")
|