-
Notifications
You must be signed in to change notification settings - Fork 27
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
DOGE-55: Fix dict snake case dump #1409
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1409 +/- ##
==========================================
- Coverage 90.65% 90.63% -0.02%
==========================================
Files 119 119
Lines 14357 14361 +4
==========================================
+ Hits 13015 13016 +1
- Misses 1342 1345 +3
|
if camel_case: | ||
return {to_camel_case(key): value for key, value in dct.items()} | ||
else: | ||
return {to_snake_case(key): value for key, value in dct.items()} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can’t you use convert_dict_to_case
?
@ddonukis this is still in draft? Or is it ready for review? |
This needs more work. |
Closing as v7 will fix this by removing |
Description
Addressing issue: #1087
Checklist:
If a new method has been added it should be referenced in cognite.rst in order to generate docs based on its docstring.