.PrimaryCat¶
gd.validators.PrimaryCat
- class glyphdeck.validators.PrimaryCat(
- *,
- primary_category: str,
Bases:
BaseValidatorModelValidation model for representing the primary category.
- _field_count
The number of fields in the model.
- Type:
int
- primary_category
The primary category identified.
- Type:
str
- model_fields: ClassVar[Dict[str, FieldInfo]] = {'primary_category': FieldInfo(annotation=str, required=True, description='The primary category identified inside the input. Each category name should be concise.')}
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
This replaces Model.__fields__ from Pydantic V1.
- primary_category: str