Skip to content

Remove keep_keys parameter from SagemcomClient#463

Merged
iMicknl merged 1 commit intomainfrom
enhancement/remove_keep_keys
Apr 7, 2026
Merged

Remove keep_keys parameter from SagemcomClient#463
iMicknl merged 1 commit intomainfrom
enhancement/remove_keep_keys

Conversation

@iMicknl
Copy link
Copy Markdown
Owner

@iMicknl iMicknl commented Apr 7, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 7, 2026 07:02
@github-actions github-actions bot added the enhancement New feature or request label Apr 7, 2026
@iMicknl iMicknl merged commit 658c482 into main Apr 7, 2026
8 checks passed
@iMicknl iMicknl deleted the enhancement/remove_keep_keys branch April 7, 2026 07:04
Copy link
Copy Markdown
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 removes the keep_keys option from SagemcomClient, making snake_case key conversion the unconditional behavior when extracting response values.

Changes:

  • Removed the keep_keys parameter and related instance state from SagemcomClient.__init__.
  • Simplified __get_response_value by dropping its keep_keys override and always applying humps.decamelize(...) when a value is present.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants