Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Update as_dict/from_dict #540

Merged
merged 6 commits into from
Aug 26, 2024
Merged

Python: Update as_dict/from_dict #540

merged 6 commits into from
Aug 26, 2024

Conversation

lucasmcdonald3
Copy link
Contributor

@lucasmcdonald3 lucasmcdonald3 commented Aug 23, 2024

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@lucasmcdonald3 lucasmcdonald3 marked this pull request as ready for review August 23, 2024 21:53
@lucasmcdonald3 lucasmcdonald3 requested a review from a team as a code owner August 23, 2024 21:53
Copy link
Contributor

@ShubhamChaturvedi7 ShubhamChaturvedi7 left a comment

Choose a reason for hiding this comment

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

Is CI expected to fail?

/**
* Override Smithy-Python writeAsDict to handle shapes with {@link ReferenceTrait}s.
* Most of this is lifted directly from Smithy-Python; the changed components are
* highlighted.
Copy link
Contributor

Choose a reason for hiding this comment

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

The whole thing is highlighted if you meant that the diff would be highlighted (In that case, it's better to remove the highlighted word).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh no, by "highlighted" I meant that I was calling out specific areas.
But it is unclear. Let me clarify

@lucasmcdonald3
Copy link
Contributor Author

lucasmcdonald3 commented Aug 26, 2024

CI doesn't need to pass for this PR, but it was easy to make it pass. I updated this branch with the latest python-reviewed branch, and now most CI is passing.

The final check will pass after #541, which formats the file in this PR with the updated logic from this PR, so I'll merge #541 in after this PR goes in.

Copy link
Contributor

@ShubhamChaturvedi7 ShubhamChaturvedi7 left a comment

Choose a reason for hiding this comment

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

Checked with Lucas, prettier runs here #541

@lucasmcdonald3 lucasmcdonald3 merged commit 87577eb into python-reviewed Aug 26, 2024
73 of 74 checks passed
@lucasmcdonald3 lucasmcdonald3 deleted the dicts branch August 26, 2024 21:03
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.

2 participants