Source code for geochemistrypi.auth.schemas
from typing import Union
# from data_mining.schemas import Dataset
from pydantic import BaseModel
[docs]
class UserBase(BaseModel):
username: str = None
email: str = None
is_active: Union[bool, None] = True
upload_count: int = 0