You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SyntaxWarning: invalid escape sequence '\(' in auth0/management/types/client_metadata.py (6.8.0) #908
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.
Hi @hanneslipusch, thank you for the report and for the detail on the cause. We're looking into this and will share an update here once we have more information.
Confirmed this still fires on current master (pushed 2026-11-24): src/auth0/management/types/client_metadata.py:7 still carries \( in the ClientMetadata docstring. The file moved under src/ since the 6.8.0 report. I ran the exact docstring text through CPython 3.12.3 locally. Compiling it emits SyntaxWarning: invalid escape sequence '\(', and with -W error::SyntaxWarning it becomes a hard error, so the import will break once invalid escapes become errors as planned.
Scope looks narrow. A code search for the "special characters" docstring text finds only this one file in the repo, so a single-file fix (raw docstring or \\() would cover the reported case. The file header says it is Fern-generated, so the durable fix may belong in the generator's docstring escaping, but the generated file itself is where the warning fires today.
Activity
rmad17 commentedon Nov 16, 2026
Hi @hanneslipusch, thank you for the report and for the detail on the cause. We're looking into this and will share an update here once we have more information.
ToniAdreal commentedon Nov 26, 2026
Confirmed this still fires on current master (pushed 2026-11-24):
src/auth0/management/types/client_metadata.py:7still carries\(in theClientMetadatadocstring. The file moved undersrc/since the 6.8.0 report. I ran the exact docstring text through CPython 3.12.3 locally. Compiling it emitsSyntaxWarning: invalid escape sequence '\(', and with-W error::SyntaxWarningit becomes a hard error, so the import will break once invalid escapes become errors as planned.Scope looks narrow. A code search for the "special characters" docstring text finds only this one file in the repo, so a single-file fix (raw docstring or
\\() would cover the reported case. The file header says it is Fern-generated, so the durable fix may belong in the generator's docstring escaping, but the generated file itself is where the warning fires today.