Skip to content

Python package displays warning: "SyntaxWarning: invalid escape sequence '\W' " #40582

Open
@AiRev-SebastianBienert

Description

@AiRev-SebastianBienert
  • Package Name: azure-search-documents
  • Package Version: 11.6.0b11
  • Operating System: Linux
  • Python Version: 3.13

I cannot reopen bug 39777 so I created another one

Describe the bug
Python package throws syntax warning:

/python3.13/site-packages/azure/search/documents/indexes/_generated/models/_models_py3.py:5869: SyntaxWarning: invalid escape sequence '\W'
pattern: str = "\W+",

To Reproduce
Steps to reproduce the behavior:

  1. Startup your app which imports the package. You'll see the warning in the console.

Expected behavior
I would expect this package to not throw a warning

Screenshots
N/A

Additional context
I cannot reopen bug 39777 so I created another one

Metadata

Metadata

Assignees

No one assigned

    Labels

    Searchcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.issue-addressedWorkflow: The Azure SDK team believes it to be addressed and ready to close.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions