microsoft / microsoft/azure-devops-python-api
Question/Issue: invalid escape sequence '\,'
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 684
- Fork
- 218
- Merge medio
- 8g 10h
- PR unite (30g)
- 1
Descrizione
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 ?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci l'avviso con Python 3.12 usando azure-devops 7.1.0b4, quindi esamina azure/devops/v7_1/feed/models.py intorno alla riga 58 e confronta il testo della documentazione generato con il comportamento di Python 3.10. Il lavoro è completato quando l'avviso relativo alla sequenza di escape non valida non compare più e la documentazione del modello feed rimane corretta.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100