Azure / Azure/azure-sdk-for-python

Use constant variables for hard-coded keys for dictionary

Open
#41,645 0 comments 0 reactions 0 assignees View on GitHub
Cosmos needs-team-attention
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

There are many `hard-coded` strings for the keys for dictionaries in Cosmos DB Python SDK codes.

For this task, also consider unifying the cases of strings. Currently we have mixture of using `camel case` and `snake case` for those strings. If we can use a single case, we could reduce number of constant variables.

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.