SyntaxWarning: invalid escape sequence '\(' in auth0/management/types/client_metadata.py (6.8.0)

Open Beginner friendly
#908 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend

Research direction

Start with auth0/management/types/client_metadata.py and inspect the ClientMetadata docstring that triggers the warning. Since the file is Fern-generated, locate the generator template or escaping logic that produces it. The issue is done when importing auth0.management on Python 3.14 no longer emits this SyntaxWarning.

Written by the indexing model from the issue text.

Description

On Python 3.14, importing auth0.management emits:

auth0/management/types/client_metadata.py:7: SyntaxWarning: "\(" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\("? A raw string is also an option.

It comes from the ClientMetadata docstring, which lists the special characters :,-+=_*?"/\()<>@. Python plans to make invalid escape sequences an error.

The fix is a raw docstring (r"""…""") or \\(. This file is Fern-generated, so the generator's docstring escaping may need the fix.

Version: auth0-python 6.8.0, Python 3.14.

Dominant language
Python
Stars
578
Forks
191
Avg merge
2d 20h
Merged PRs (30d)
4

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from auth0/auth0-python

All issues in auth0/auth0-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.