chitose.com.atproto.moderation package
Submodules
chitose.com.atproto.moderation.create_report module
chitose.com.atproto.moderation.defs module
Module contents
- class chitose.com.atproto.moderation.Moderation_(service: str, headers: dict[str, str])
Bases:
objectWe recommend calling methods in this class via the chitose.BskyAgent class instead of creating instances of this class directly.
- create_report(reason_type: Literal['com.atproto.moderation.defs#reasonSpam', 'com.atproto.moderation.defs#reasonViolation', 'com.atproto.moderation.defs#reasonMisleading', 'com.atproto.moderation.defs#reasonSexual', 'com.atproto.moderation.defs#reasonRude', 'com.atproto.moderation.defs#reasonOther'], subject: RepoRef | StrongRef, reason: str | None = None) bytes
Report a repo or a record.