microsoft / microsoft/typespec
Enums been mis-capitalized by codegen
Open
emitter:client:python
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
The capitalization of some enums for Planetary Computer is unusual. I would expected something like MODIS_10A1, rather than MODIS_10A1
[sdk/planetarycomputer/azure-planetarycomputer/azure/planetarycomputer/models/_enums.py](https://github.com/Azure/azure-sdk-for-python/pull/42219/files/c120adf186563468fcf0f828e01486ce3c7df963#diff-8e73e4cfc2bde457b0a8f51aa3092e256c751a98d8c4d6ceee8ecf3f497e3c90)
```python
"""Magma colormap - sequential black to yellow colormap"""
MAGMA_R = "magma_r"
"""Reversed magma colormap"""
MODIS10_A1 = "modis-10A1"
```
Contributor guide
Assessment
This issue has not been assessed yet.