controller.utilities.configuration.SubmoduleModel.model_post_init
- SubmoduleModel.model_post_init(__context)
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self (
BaseModel) – The BaseModel instance.__context (
Any) – The context.
- Return type:
None