Skip to content

[Monitor Query] Regenerate from Typespec#46161

Open
pvaneck wants to merge 2 commits intoAzure:mainfrom
pvaneck:monitor-pyright
Open

[Monitor Query] Regenerate from Typespec#46161
pvaneck wants to merge 2 commits intoAzure:mainfrom
pvaneck:monitor-pyright

Conversation

@pvaneck
Copy link
Copy Markdown
Member

@pvaneck pvaneck commented Apr 6, 2026

Updated tsp-location.yaml to new specs repo path.

Regeneration introduces updates and improvements to generated code.

  • Moves the project to pyproject.toml based
  • Fixes pyright failures in CI

@github-actions github-actions bot added the Monitor Monitor, Monitor Ingestion, Monitor Query label Apr 6, 2026
Regeneration introduces updates and improvements to generated code.

- Moves the project to by pyproject.toml based
- Fixes pyright failures in CI

Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
@pvaneck pvaneck marked this pull request as ready for review April 6, 2026 21:21
@pvaneck pvaneck requested a review from a team as a code owner April 6, 2026 21:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates azure-monitor-query to regenerate from the updated TypeSpec location, including switching packaging to pyproject.toml and incorporating regenerated client/model/runtime code changes.

Changes:

  • Updated tsp-location.yaml to point at the new spec directory/commit for regeneration.
  • Migrated packaging from setup.py to pyproject.toml (PEP 621 / setuptools dynamic metadata).
  • Regenerated code updates models/operations/utilities (typing updates, streaming handling, and deserialization helpers).

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
sdk/monitor/azure-monitor-query/tsp-location.yaml Updates TypeSpec spec location + commit used for regeneration.
sdk/monitor/azure-monitor-query/setup.py Removed legacy setuptools packaging entrypoint.
sdk/monitor/azure-monitor-query/pyproject.toml Adds pyproject-based packaging configuration and dynamic version/readme.
sdk/monitor/azure-monitor-query/azure/monitor/query/models/_models.py Regenerated REST models with updated typing (builtins) and enum reference changes.
sdk/monitor/azure-monitor-query/azure/monitor/query/models/_enums.py Enum docstring formatting updates.
sdk/monitor/azure-monitor-query/azure/monitor/query/models/init.py Regenerated models package exports/import structure.
sdk/monitor/azure-monitor-query/azure/monitor/query/_utils/serialization.py Regenerated serialization helpers (typing + safer basic type conversion).
sdk/monitor/azure-monitor-query/azure/monitor/query/_utils/model_base.py Regenerated model base/deserialization behavior and failsafe error deserialization API.
sdk/monitor/azure-monitor-query/azure/monitor/query/_operations/_operations.py Regenerated sync operations (streaming decompress support; updated failsafe deserialization call).
sdk/monitor/azure-monitor-query/azure/monitor/query/_operations/init.py Exposes regenerated operations mixin via package init.
sdk/monitor/azure-monitor-query/azure/monitor/query/_client.py Adjusted operations import path; docstring formatting updates.
sdk/monitor/azure-monitor-query/azure/monitor/query/_configuration.py Docstring formatting updates for api_version.
sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_operations/_operations.py Regenerated async operations (streaming decompress support; updated failsafe deserialization call).
sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_operations/init.py Exposes regenerated async operations mixin via package init.
sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_client.py Adjusted operations import path; docstring formatting updates.
sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_configuration.py Docstring formatting updates for api_version.
sdk/monitor/azure-monitor-query/apiview-properties.json Updates APIView cross-language mapping metadata.
sdk/monitor/azure-monitor-query/_metadata.json Adds apiVersions map alongside apiVersion.

Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Monitor Monitor, Monitor Ingestion, Monitor Query

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants