Skip to content

[python] add imports for readonly and constant props during msrest model generation - #8319

Merged
iscai-msft merged 5 commits into
microsoft:mainfrom
iscai-msft:python/msrestDatetimeImportReadonly
Sep 2, 2025
Merged

[python] add imports for readonly and constant props during msrest model generation#8319
iscai-msft merged 5 commits into
microsoft:mainfrom
iscai-msft:python/msrestDatetimeImportReadonly

Conversation

@github-actions

github-actions Bot commented Aug 28, 2025

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • @typespec/http-client-python
Show changes

@typespec/http-client-python - fix ✏️

Add imports for readonly and constant props for msrest model generation

@azure-sdk

Azure SDK Bot (azure-sdk) commented Aug 28, 2025

Copy link
Copy Markdown
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@msyyc Yuchao Yan (msyyc) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It seems the new logic will result in unused import for msrest model file: Azure/autorest.python#3190
Update: committed a fix for this PR and code diff is expected now.

@msyyc Yuchao Yan (msyyc) added the emitter:client:python Issue for the Python client emitter: @typespec/http-client-python label Aug 29, 2025
@iscai-msft
iscai-msft added this pull request to the merge queue Sep 2, 2025
Merged via the queue into microsoft:main with commit cd58be1 Sep 2, 2025
37 checks passed
@iscai-msft
iscai-msft deleted the python/msrestDatetimeImportReadonly branch September 2, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:python Issue for the Python client emitter: @typespec/http-client-python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants