danielgtaylor / danielgtaylor/python-betterproto

Add casing to from_dict method

Open
#660 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
1.8k
Forks
234
PR merge metrics
No merged PRs in 30d

Description

### Summary

from_dict method did not support casing

### What is the feature request for?

The core library

### The Problem

When using `to_dict` method I can pass case, but for `from_dict` method only safe_snake_case is available, It looks like some inconsistent behavior

### The Ideal Solution

As i understand `safe snake case` is not necessarily needs to be safe, so replacing it with any casting method would be safe

### The Current Solution

Just use snakecase in dict

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.