Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /AngelDanielSanchezCastillo_oauth2fast-fastapi /src /oauth2fast_fastapi /models /bases.py
| from sqlmodel import MetaData, SQLModel | |
| from tools2fast_fastapi import IdMixin, TimestampMixin | |
| metadata = MetaData() | |
| class BasicModel(SQLModel): | |
| __abstract__ = True | |
| metadata = metadata | |
| class BasicAuthModel(TimestampMixin, BasicModel): | |
| """Base model without predefined primary key, but with timestamps.""" | |
| __abstract__ = True | |
| class IdAuthModel(IdMixin, BasicModel): | |
| """Base model with BigInteger primary key.""" | |
| __abstract__ = True | |
| class AuthModel(TimestampMixin, IdAuthModel): | |
| """Default base model with BigInteger primary key and timestamps.""" | |
| __abstract__ = True | |
Xet Storage Details
- Size:
- 611 Bytes
- Xet hash:
- c342051679d74fdbe1d3d884991fefdfcce1cd5cae4fb4e154443a554e99b2a0
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.