Annotations
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| AnnotatedObject aclientp.schema.base Base class for generated models. |
⋔ Inheritance diagram¶
graph TD
95970855769472["content_blocks.Annotations"]
95970862258240["base.AnnotatedObject"]
95970862254416["base.Schema"]
95970851503232["main.BaseModel"]
125067848591872["builtins.object"]
95970862258240 --> 95970855769472
95970862254416 --> 95970862258240
95970851503232 --> 95970862254416
125067848591872 --> 95970851503232
🛈 DocStrings¶
Bases: AnnotatedObject
Optional annotations for the client.
The client can use annotations to inform how objects are used or displayed.
Source code in src/aclientp/schema/content_blocks.py
audience
class-attribute
instance-attribute
¶
Audience for the annotated resource.
last_modified
class-attribute
instance-attribute
¶
Last modified timestamp of the annotated resource.
priority
class-attribute
instance-attribute
¶
Priority of the annotated resource.
optionally_create
classmethod
¶
optionally_create(
audience: Audience | None = None,
last_modified: datetime | str | None = None,
priority: float | None = None,
) -> Self | None
Create an annotations object if any value is given, otherwise return None.