advanced-alchemy-repositories by alti3/litestar-skills
npx skills add https://github.com/alti3/litestar-skills --skill advanced-alchemy-repositoriesSQLAlchemyAsyncRepository、SQLAlchemySyncRepository,或其 slug 或 query 变体。model_type 并保持仓库的模型特定性。list_and_count(),而不是重新实现分页逻辑。from advanced_alchemy.repository import SQLAlchemyAsyncRepository
class PostRepository(SQLAlchemyAsyncRepository[Post]):
model_type = Post
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
model_type 指向预期的映射类。advanced-alchemy-modeling。advanced-alchemy-services。advanced-alchemy-routing 或框架技能。每周安装次数
1
代码仓库
GitHub 星标数
4
首次出现
1 天前
安全审计
已安装于
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1
SQLAlchemyAsyncRepository, SQLAlchemySyncRepository, or a slug or query variant.model_type immediately and keep repositories model-specific.list_and_count() for list endpoints instead of reimplementing pagination logic.from advanced_alchemy.repository import SQLAlchemyAsyncRepository
class PostRepository(SQLAlchemyAsyncRepository[Post]):
model_type = Post
model_type points at the intended mapped class.advanced-alchemy-modeling before defining repositories.advanced-alchemy-services when handlers need schema conversion or domain rules.advanced-alchemy-routing or a framework skill when repository methods are exposed over HTTP.Weekly Installs
1
Repository
GitHub Stars
4
First Seen
1 day ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1
Android 整洁架构指南:模块化设计、依赖注入与数据层实现
1,100 周安装