Skip to content

Conversation

@iscai-msft
Copy link
Member

No description provided.

@github-actions
Copy link
Contributor

All changed packages have been documented.

  • @typespec/http-client-python
Show changes

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

Emit paging models marked with @usage overrides

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@iscai-msft
Copy link
Member Author

test pr Azure/autorest.python#3262

for (const type of typesMap.values()) {
const usageOverride = (type["usageOverride"] as UsageFlags | undefined) || 0;
if ((usageOverride & UsageFlags.Input) > 0 || (usageOverride & UsageFlags.Output) > 0) {
continue; // Don't clear usage for types used as Input or Output
Copy link
Contributor

Choose a reason for hiding this comment

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

Any context or issue for this PR?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants