mirror of
https://github.com/FutureOfMedTech-FITM-hack/backend.git
synced 2025-10-18 09:34:18 +03:00
11 lines
181 B
Python
11 lines
181 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class RedisValueDTO(BaseModel):
|
|
"""DTO for redis values."""
|
|
|
|
key: str
|
|
value: Optional[str] # noqa: WPS110
|