IntegerPropertySchema
Base classes
| Name |
Children |
Inherits |
AnnotatedObject aclientp.schema.v2.base A v2 object with the ``_meta`` extension point. |
|
|
⋔ Inheritance diagram
graph TD
95970869065152["elicitation.IntegerPropertySchema"]
95970868359040["base.AnnotatedObject"]
95970855946400["base.Schema"]
95970851503232["main.BaseModel"]
125067848591872["builtins.object"]
95970868359040 --> 95970869065152
95970855946400 --> 95970868359040
95970851503232 --> 95970855946400
125067848591872 --> 95970851503232
🛈 DocStrings
Bases: AnnotatedObject
Schema for integer properties in an elicitation form.
Source code in src/aclientp/schema/v2/elicitation.py
| class IntegerPropertySchema(AnnotatedObject):
"""Schema for integer properties in an elicitation form."""
type: Literal["integer"] = Field(default="integer", init=False)
title: str | MISSING | None = MISSING
"""Optional title for the property."""
description: str | MISSING | None = MISSING
"""Human-readable description."""
minimum: int | MISSING | None = MISSING
"""Minimum value (inclusive)."""
maximum: int | MISSING | None = MISSING
"""Maximum value (inclusive)."""
default: int | MISSING | None = MISSING
"""Default value."""
|
default
class-attribute
instance-attribute
default: int | MISSING | None = MISSING
description
class-attribute
instance-attribute
description: str | MISSING | None = MISSING
Human-readable description.
maximum
class-attribute
instance-attribute
maximum: int | MISSING | None = MISSING
Maximum value (inclusive).
minimum
class-attribute
instance-attribute
minimum: int | MISSING | None = MISSING
Minimum value (inclusive).
title
class-attribute
instance-attribute
title: str | MISSING | None = MISSING
Optional title for the property.
:fa-brands-github: Show source on GitHub