We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d034e28 commit bef469eCopy full SHA for bef469e
1 file changed
src/app/schemas.py
@@ -20,7 +20,8 @@
20
###################
21
22
def hyphen_to_underscore(field_name):
23
- return f"{field_name}".replace("_", "-")
+ ''' Replaces hyphen with underscore '''
24
+ return f"{field_name}".replace("-", "_")
25
26
class FeatureLabels(str, Enum):
27
''' Delivers the feature names as needed in Python '''
0 commit comments