Common Connection Models
Smarter API Manifest - Connection.metadata
- class smarter.apps.connection.manifest.models.common.connection.metadata.SAMConnectionCommonMetadata(*, name, description, version, tags=<factory>, annotations=<factory>)[source]
Bases:
AbstractSAMMetadataBaseSmarter API Connection Manifest - common Metadata class.
- 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.
Smarter API Manifest - Connection.status
- class smarter.apps.connection.manifest.models.common.connection.status.SAMConnectionCommonStatus(*, recordLocator, created, modified, dependencies=None, account_number, username)[source]
Bases:
AbstractSAMStatusBaseSmarter API Connection Manifest - Status class.
- 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.
Smarter API Connection Manifest.
- class smarter.apps.connection.manifest.models.common.connection.model.SAMConnectionCommon(*, apiVersion, kind, metadata, spec, status=None)[source]
Bases:
AbstractSAMBaseSmarter API Manifest - Common Connection Base Model.
- metadata: SAMConnectionCommonMetadata
- 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.
- status: SAMConnectionCommonStatus | None