ahvn.ukf.templates.basic.template module

class ahvn.ukf.templates.basic.template.TemplateUKFT(*, name, notes='', short_description='', description='', type='general', version='v0.1.0', version_notes='', variant='default', variant_notes='', content='', content_resources=<factory>, content_composers=<factory>, source='unknown', parents=<factory>, creator='unknown', owner='unknown', workspace='unknown', collection='general', tags=<factory>, synonyms=<factory>, triggers=<factory>, priority=0, related=<factory>, auths=<factory>, timefluid=False, timestamp=<factory>, last_verified=<factory>, expiration=-1, inactive_mark=False, metadata=<factory>, profile=<factory>)[源代码]

基类:BaseUKF

Template like jinja folders or other templating systems.

UKF Type: template Recommended Components of content_resources:

None

Recommended Composers:

Any

参数:
type_default: ClassVar[str] = 'template'
model_config = {'validate_assignment': True, 'validate_default': 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 initialise private attributes.

It takes context as an argument since that's what pydantic-core passes when calling it.

参数:
  • self (BaseModel) -- The BaseModel instance.

  • context (Any) -- The context.

返回类型:

None