Repository navigation
[AI Projects] Compare TypeSpec PR 12342 generated docstrings (do not merge) - #49757
Draft
Yuchao Yan (msyyc) wants to merge 1 commit into
Draft
Yuchao Yan (msyyc) wants to merge 1 commit into
Yuchao Yan (msyyc) wants to merge 1 commit into
Conversation
Regenerate the identical main-emitted code model with microsoft/typespec#12342. Comparison only; no executable AST changes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: aaeb82ef-b4f1-4a88-9442-edd2ea4061cf
|
Azure Pipelines: 10 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Comparison only — do not merge
Show the Azure AI Projects generated SDK changes caused by
microsoft/typespec#12342.
This draft deliberately targets
users/msyyc/compare-typespec-12342-baseline,not SDK
main. The baseline contains freshly generated output from the currentTypeSpec main generator. This keeps SDK customizations and unrelated regeneration
changes out of this PR's diff.
Reproduction
d771b29578e9bcb5ad240e705cbabe4210e8e9d3.fbd3fabecbd3ca540acf981efd84e66e179dc761.Azure/azure-rest-api-specs@1ff3cf500bfd4d8f9195e09fd640a1e6b71161cd,under
specification/ai-foundry/data-plane/Foundry/src/sdk-python-js-azure-ai-projects.the same Azure AI Projects options, and the same installed dependencies
(TypeSpec compiler 1.16.0 and client-generator-core 0.72.1).
azure.ai.projects, API versionv1, no generated tests/samples,and
generate-typeddict: false.The shared code model isolates the Python generator changes in #12342 from an
unrelated newer-main emitter naming fix. No handwritten SDK customization,
package version, changelog, or API review artifact update is included in this
comparison diff.
What to review
The generated changes are string-literal quoting and docstring escaping/reflow.
The Projects-specific multiline prose, paragraphs, bullet lists, and JSON code
blocks remain intact. Relevant history: microsoft/typespec#8927,
microsoft/typespec#9466, and #44885.
Azure AI Projects uses DPG mode. That mode does not emit the generated operation
example block whose wrapping is removed by #12342.
Validation
no changed reStructuredText literal blocks or new diagnostic sets.
generators; the multiline-prose and JSON-block cases reproduce pre-[textanalytics] Raise custom error message for AttributeError on DocumentError #9466 behavior.
This is a review artifact, not a release or a proposed update to SDK
main.