microsoft / microsoft/azure-devops-python-api
Question/Issue: invalid escape sequence '\,'
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 684
- フォーク
- 218
- 平均マージ
- 8日 10時間
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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