own_comments.schemas
Module Contents
Classes
- class own_comments.schemas.CommentCreateRequest
Bases:
CommentBase
- thread_id :int
- class own_comments.schemas.CommentDelete
Bases:
CommentUpdateMixin
- class own_comments.schemas.CommentPatch
Bases:
CommentBase
,CommentUpdateMixin
- class own_comments.schemas.CommentCreateResponse
Bases:
CommentCreateRequest
,CommentUpdateMixin
- id :int
- update_key :str
- date_created :datetime.datetime
- class own_comments.schemas.Comment
Bases:
CommentCreateRequest
,CommentUpdateMixin
- id :int
- date_created :datetime.datetime
- date_updated :Optional[datetime.datetime]
- approved :bool
- deleted :bool
- class own_comments.schemas.ThreadBase
Bases:
pydantic.BaseModel
- path :str
- auto_approve :bool
- date_created :datetime.datetime
- locked :bool
- class own_comments.schemas.Thread
Bases:
ThreadBase
- id :int
- comments :list[Comment] = []