SAM Model
The Pydantic model of a SmarterAuthToken manifest.
- class smarter.lib.drf.manifest.models.auth_token.model.SAMSmarterAuthToken(*, apiVersion, kind, metadata, spec, status=None)[source]
Bases:
AbstractSAMBaseSmarter API Manifest - SmarterAuthToken.
- metadata: SAMSmarterAuthTokenMetadata
- model_config = {'arbitrary_types_allowed': True, 'from_attributes': True, 'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_post_init(context, /)
This function is meant to behave like a BaseModel method to initialize private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- spec: SAMSmarterAuthTokenSpec