mirror of
https://github.com/FutureOfMedTech-FITM-hack/backend.git
synced 2025-07-24 06:39:51 +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
|