Download cbh/api/security/models.py from brestok/spark: direct link, hf CLI and curl.
- Browser
- Download file 322 Bytes
-
https://huggingface.co/spaces/brestok/spark/resolve/main/cbh/api/security/models.py
- Command line
-
hf download hf://spaces/brestok/spark/cbh/api/security/models.py
-
curl -L -o models.py https://huggingface.co/spaces/brestok/spark/resolve/main/cbh/api/security/models.py
322 Bytes
| from datetime import datetime | |
| from pydantic import Field | |
| from cbh.api.account.models import AccountShorten | |
| from cbh.core.database import MongoBaseModel | |
| class VerificationCodeModel(MongoBaseModel): | |
| account: AccountShorten | |
| expiresAt: datetime | |
| datetimeInserted: datetime = Field(default_factory=datetime.now) | |