Azure / Azure/azure-cli

Unexpected warning from batch.

Open
#32,495 7 comments 4 reactions 2 assignees Claimed by @ReaNAiveD View on GitHub
Account act-identity-squad Auto-Assign Azure CLI Team customer-reported Possible-Solution question Similar-Issue
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

See error log.

This is the latest regression in 2.81.
IIRC 2.79 was fine.

Please forward to the owning team if it's not directly caused by cli.

### Related command

`az login --use-device-code`

### Errors

```
****/azure-cli/2.81.0/libexec/lib/python3.13/site-packages/azure/batch/models/_models.py:9067: SyntaxWarning: invalid escape sequence '\ '
"""The source port ranges to match for the rule. Valid values are '\ *' (for all ports 0 - 65535),
****/azure-cli/2.81.0/libexec/lib/python3.13/site-packages/azure/batch/models/_models.py:9235: SyntaxWarning: invalid escape sequence '\ '
using brackets (for example abc[\ *] would match a file named abc*\ ). Note that both and / are
```

### Environment Summary

azure-cli 2.81.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.