mirror of
https://github.com/rjNemo/pass-gen
synced 2026-06-06 02:26:42 +00:00
10 lines
182 B
Python
10 lines
182 B
Python
from pydantic import BaseModel, SecretStr
|
|
|
|
|
|
class Password(BaseModel):
|
|
id: int
|
|
service: str
|
|
password: SecretStr
|
|
|
|
class Config:
|
|
anystr_strip_whitespace = True
|