7 lines
188 B
Python
7 lines
188 B
Python
from pydantic import BaseModel, Field
|
|
|
|
|
|
class RestoreRequest(BaseModel):
|
|
preflight_token: str = Field(min_length=32, max_length=128)
|
|
mode: str = Field(pattern="^(merge|replace)$")
|