Add optional dependency groups for server and client components

未关闭
#1,414 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
fastapi, python

调研方向

首先检查包依赖配置,以及 API 类型、BlueapiClient 和服务器组件的暴露方式。验证基础安装仅提供 API 类型,而客户端 extra 会添加 BlueapiClient 及其依赖项,但不会添加 FastAPI;使用项目的打包检查确认最终的依赖集合。

由索引模型根据 Issue 内容生成。

描述

dependencies

Installing blueapi into a new project shouldn't include dependencies required for the server and client. It should only include API types (TypeRequest, DataEvent etc).

Adding blueapi[client] should bring in the BlueapiClient and dependencies without dragging in fastapi etc.

主要语言
Python
星标
14
派生
14
平均合并
2 天 23 小时
30 天内合并 PR
27

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DiamondLightSource/blueapi 的其他 Issue

查看 DiamondLightSource/blueapi 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。