Skip to content

[Stream Analytics] Fix Azure/azure-cli-extensions#10026: az stream-analytics job list: Fix Python 3.12 invalid-escape warnings in vendored SDK docstrings#10027

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/issue-32105-fix-invalid-escape-characters
Draft

[Stream Analytics] Fix Azure/azure-cli-extensions#10026: az stream-analytics job list: Fix Python 3.12 invalid-escape warnings in vendored SDK docstrings#10027
Copilot wants to merge 2 commits into
mainfrom
copilot/issue-32105-fix-invalid-escape-characters

Conversation

Copilot AI commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

az stream-analytics job list -g <resource-group>

  • Problem summary

    • Python 3.12+ surfaces SyntaxWarning/invalid-escape diagnostics from vendored stream-analytics SDK docstrings during command execution.
    • The warnings are triggered by bare backslash patterns in generated doc text (\ / \ *).
  • Change set

    • Escaped invalid backslashes in the 4 affected vendored SDK files:
      • models/_stream_analytics_management_client_enums.py
      • operations/_inputs_operations.py
      • operations/_outputs_operations.py
      • operations/_functions_operations.py
    • Scope is docstring-only; no runtime logic or API behavior changes.
  • Representative edit

    # before
    properties to include in the response, or "\ *" to include all properties.
    # after
    properties to include in the response, or "\\ *" to include all properties.

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (azdev required; see .azure-pipelines/templates/azdev_setup.yml for the install command until azdev==0.2.11b1 is on PyPI)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

@azure-client-tools-bot-prd

azure-client-tools-bot-prd Bot commented Jun 22, 2026

Copy link
Copy Markdown
️✔️Azure CLI Extensions Breaking Change Test
️✔️Non Breaking Changes

@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi @copilot,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

Copilot AI changed the title [WIP] Fix invalid escape characters in stream-analytics extension [Stream Analytics] Fix Azure/azure-cli-extensions#10026: az stream-analytics job list: Fix Python 3.12 invalid-escape warnings in vendored SDK docstrings Jun 22, 2026
Copilot AI requested a review from a0x1ab June 22, 2026 23:20
@yonzhan

yonzhan commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Stream Analytics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants