mirror of
https://github.com/pocketpaw/pocketpaw.git
synced 2026-05-13 21:21:53 +00:00
- Auto-fix 155 errors (import sorting, annotations, deprecated imports) - Format 87 files with ruff format for line length compliance - Fix 15 F401 unused imports (add __all__ for re-exports, remove truly unused) - Fix 7 F841 unused variables (prefix with _) - Fix 2 F821 undefined names (add missing imports) - Fix 3 E402 module-level imports not at top - Fix 2 UP042 str+Enum → StrEnum - Fix 1 E712 == False comparison - Fix remaining 51 E501 line-too-long in string literals and expressions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
57 lines
1.3 KiB
Python
57 lines
1.3 KiB
Python
"""Cloud document models — re-exports for Beanie init."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from ee.cloud.models.agent import Agent, AgentConfig
|
|
from ee.cloud.models.comment import Comment, CommentAuthor, CommentTarget
|
|
from ee.cloud.models.file import FileObj
|
|
from ee.cloud.models.group import Group, GroupAgent
|
|
from ee.cloud.models.invite import Invite
|
|
from ee.cloud.models.message import Attachment, Mention, Message, Reaction
|
|
from ee.cloud.models.notification import Notification, NotificationSource
|
|
from ee.cloud.models.pocket import Pocket, Widget, WidgetPosition
|
|
from ee.cloud.models.session import Session
|
|
from ee.cloud.models.user import OAuthAccount, User, WorkspaceMembership
|
|
from ee.cloud.models.workspace import Workspace, WorkspaceSettings
|
|
|
|
__all__ = [
|
|
"Agent",
|
|
"AgentConfig",
|
|
"Attachment",
|
|
"Comment",
|
|
"CommentAuthor",
|
|
"CommentTarget",
|
|
"FileObj",
|
|
"Group",
|
|
"GroupAgent",
|
|
"Invite",
|
|
"Mention",
|
|
"Message",
|
|
"Notification",
|
|
"NotificationSource",
|
|
"OAuthAccount",
|
|
"Pocket",
|
|
"Reaction",
|
|
"Session",
|
|
"User",
|
|
"Widget",
|
|
"WidgetPosition",
|
|
"Workspace",
|
|
"WorkspaceMembership",
|
|
"WorkspaceSettings",
|
|
]
|
|
|
|
ALL_DOCUMENTS = [
|
|
User,
|
|
Agent,
|
|
Pocket,
|
|
Session,
|
|
Comment,
|
|
Notification,
|
|
FileObj,
|
|
Workspace,
|
|
Invite,
|
|
Group,
|
|
Message,
|
|
]
|