Skip to content

SyntaxWarning: invalid escape sequence '\s' in azure-batch #38618

Open
@bebound

Description

@bebound
  • Package Name: azure-batch
  • Package Version: 14.2.0
  • Operating System: windows
  • Python Version: 3.12

Describe the bug
In azure-batch-14.2.0.tar.gz, azure/batch/models/_models_py3.py line 4846 raises SyntaxWarning in Python 3.12. \s should be \\s.

Node. (AZ_BATCH_NODE_ROOT_DIR\shared), or starting a local service on the

Expected behavior
No syntax warning.

I'm not sure if there are more syntax warnings in sdk package.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Related issue: Azure/azure-cli#28829 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BatchClientThis issue points to a problem in the data-plane of the library.Service AttentionWorkflow: This issue is responsible by Azure service team.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions