chitose.com.atproto.moderation package
Submodules
chitose.com.atproto.moderation.create_report module
chitose.com.atproto.moderation.defs module
- class chitose.com.atproto.moderation.defs.ReasonType(value)
Bases:
EnumAn enumeration.
- REASON_MISLEADING = 'com.atproto.moderation.defs#reasonMisleading'
- REASON_OTHER = 'com.atproto.moderation.defs#reasonOther'
- REASON_RUDE = 'com.atproto.moderation.defs#reasonRude'
- REASON_SEXUAL = 'com.atproto.moderation.defs#reasonSexual'
- REASON_SPAM = 'com.atproto.moderation.defs#reasonSpam'
- REASON_VIOLATION = 'com.atproto.moderation.defs#reasonViolation'
Module contents
- class chitose.com.atproto.moderation.Moderation_(service: str, headers: dict[str, str])
Bases:
object- create_report(reason_type: ReasonType, subject: RepoRef | StrongRef, reason: str | None = None)
Report a repo or a record.