microsoft / microsoft/azure-devops-python-api
Question/Issue: invalid escape sequence '\,'
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 684
- Forks
- 218
- Avg merge
- 8d 10h
- Merged PRs (30d)
- 1
Description
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 ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the warning with Python 3.12 using azure-devops 7.1.0b4, then inspect azure/devops/v7_1/feed/models.py around line 58 and compare the generated documentation text with the Python 3.10 behavior. Done means the invalid escape sequence warning no longer appears while the feed model documentation remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100