Skip to content

Conversation

@iscai-msft
Copy link
Contributor

fixes #41489

Copilot AI review requested due to automatic review settings June 12, 2025 20:14
Copy link
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 adds a new utility function, attribute_list, to the azure-core serialization module and its accompanying tests, while also updating auto‐generated code headers and related client configurations. Key changes include:

  • Introducing the attribute_list function in azure/core/serialization.py to extract attribute names from generated SDK models.
  • Adding a suite of tests in azure-core's test_serialization.py to validate attribute_list behavior.
  • Updating auto-generated code comments and minor adjustments in client configuration files.

Reviewed Changes

Copilot reviewed 197 out of 197 changed files in this pull request and generated no comments.

File Description
sdk/core/azure-core/azure/core/serialization.py Implements the new attribute_list function and related helper _get_flattened_attribute.
sdk/core/azure-core/tests/test_serialization.py Adds tests verifying the correct behavior of attribute_list with various model types.
Other SDK files Updates auto-generated headers and client configuration documentation to reflect new tooling.

Copy link
Member

@pvaneck pvaneck left a comment

Choose a reason for hiding this comment

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

LGTM

@iscai-msft
Copy link
Contributor Author

/check-enforcer override

1 similar comment
@iscai-msft
Copy link
Contributor Author

/check-enforcer override

@iscai-msft iscai-msft merged commit bea2830 into Azure:main Jun 20, 2025
54 of 55 checks passed
@iscai-msft iscai-msft deleted the core/addAttributeList branch June 20, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[core] add fields in azure.core.serialization

2 participants