microsoft / microsoft/azure-devops-python-api
Question/Issue: invalid escape sequence '\,'
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 684
- 分支
- 218
- 平均合併
- 8 天 10 小時
- 30 天內合併 PR
- 1
描述
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 ?
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
使用 Python 3.12 搭配 azure-devops 7.1.0b4 重現該警告,然後檢查 azure/devops/v7_1/feed/models.py 第 58 行附近的內容,並將產生的文件文字與 Python 3.10 的行為進行比較。當無效跳脫序列警告不再出現,且 feed 模型文件仍然正確時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- api
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100