Skip to content

Update post_load method to return BatchEndpointDefaults#47823

Draft
lavakumarrepala wants to merge 6 commits into
mainfrom
lavakumarrepala-patch-1
Draft

Update post_load method to return BatchEndpointDefaults#47823
lavakumarrepala wants to merge 6 commits into
mainfrom
lavakumarrepala-patch-1

Conversation

@lavakumarrepala

Copy link
Copy Markdown
Member

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

Updated the _from_rest_object method to directly use obj.properties.defaults for defaults instead of extracting it conditionally.
Refactor test to support attribute access for defaults and add roundtrip test for camel case conversion.
Fixed serialization of BatchEndpoint defaults to ensure deployment_name is correctly sent as camelCase (deploymentName) while maintaining backward compatibility for users accessing it as snake_case.
Added OpenAsDraft option to avoid notifying code owners until the PR is ready.
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.

1 participant