Skip to content

Update field_helpers.py - #23

Merged
Guido van Rossum (gvanrossum) merged 1 commit into
microsoft:mainfrom
supadrupa:patch-1
Oct 13, 2025
Merged

Update field_helpers.py#23
Guido van Rossum (gvanrossum) merged 1 commit into
microsoft:mainfrom
supadrupa:patch-1

Conversation

@supadrupa

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings October 12, 2025 21:44

Copilot AI 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.

Pull Request Overview

This PR removes duplicate code in the field_helpers.py file by eliminating a redundant return statement in the CamelCaseField function.

  • Removed duplicate return Field(**field_kwargs) statement

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@gvanrossum

Guido van Rossum (gvanrossum) commented Oct 13, 2025

Copy link
Copy Markdown
Collaborator

Thanks for catching this. I'm not sure if I'm set up to take 3rd party PRs yet (did you encounter a CLA screen?) so I will apply your change in one of my own PRs (with acknowledgement using Co-authored-by: supadrupa) unless I find out soon that we're set up right.

@gvanrossum

Copy link
Copy Markdown
Collaborator

Never mind. I see a note that all CLA requirements are met. I will merge this now.

@gvanrossum
Guido van Rossum (gvanrossum) merged commit cc2b82e into microsoft:main Oct 13, 2025
3 checks passed
@supadrupa
Artem B (supadrupa) deleted the patch-1 branch October 15, 2025 17:43
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