microsoft / microsoft/kiota

Issue when converting from camel case to snake case for python generation

Open
#4,531 3 comments 1 reaction 0 assignees View on GitHub
help wanted Python type:bug
Dominant language
C#
Stars
3.8k
Forks
333
Avg merge
16h 29m
Merged PRs (30d)
116

Description

I have a parameter that called `imageURL`
and its converted to `image_u_r_l`

Also happening for file names, for example `notrixSDK` becomes `notrix_s_d_k.py`

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the Python generation path and the camel-case-to-snake-case conversion used for parameters and file names, then reproduce the issue with imageURL and notrixSDK. Done means those names no longer split each uppercase letter into a separate underscore-delimited segment.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.