Question/Issue: invalid escape sequence '\,'
还没有人认领这个 Issue。
评估
调研方向
使用 Python 3.12 和 azure-devops 7.1.0b4 重现该警告,然后检查 azure/devops/v7_1/feed/models.py 第 58 行附近的内容,并将生成的文档文本与 Python 3.10 的行为进行比较。当无效转义序列警告不再出现且 feed 模型文档仍然正确时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
When using azure-devops 7.1.0b4 with Python 3.12 i'm getting this warning:
/agent/_work/1/s/xxx/.venv/lib/python3.12/site-packages/azure/devops/v7_1/feed/models.py:58: SyntaxWarning: invalid escape sequence ',' (" \ , ")
:param name: A name for the feed. feed names must follow these rules: Must not exceed 64 characters Must not contain whitespaces Must not start with an underscore or a period Must not end with a period Must not contain any of the following illegal characters: , |, /, \\, ?, :, &, $, *, \", #, [, ] ]]>
The issue was not experienced before when using azure-devops 7.1.0b4 with Python 3.10
Could you please advice how to resolve it ?
- 主要语言
- Python
- 星标
- 684
- 派生
- 218
- 平均合并
- 8 天 10 小时
- 30 天内合并 PR
- 1
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/azure-devops-python-api 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
-
难度 1/5 1 小时以内 新手友好度 55/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 45/100
-
难度 2/5 1-3 小时 新手友好度 38/100
microsoft/azure-devops-python-api#526 · 1 条评论 ·
查看 microsoft/azure-devops-python-api 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
难度 1/5 1 小时以内 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 70/100
huggingface/Repo2RLEnv#163 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
难度 2/5 1-3 小时 新手友好度 70/100
NousResearch/hermes-agent#121143 ·