MCPcopy Create free account
hub / github.com/O365/python-o365 / to_api_case

Method to_api_case

O365/connection.py:170–176  ·  view source on GitHub ↗

Converts key to snake_case :param key: key to convert into snake_case :return: key after case conversion

(key: str)

Source from the content-addressed store, hash-verified

168
169 @staticmethod
170 def to_api_case(key: str) -> str:
171 """ Converts key to snake_case
172
173 :param key: key to convert into snake_case
174 :return: key after case conversion
175 """
176 return to_snake_case(key)
177
178 def get_scopes_for(self, user_provided_scopes: Optional[Union[list, str, tuple]]) -> list:
179 """ Returns a list of scopes needed for each of the

Callers 7

updateMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
test_to_api_caseMethod · 0.80

Calls 1

to_snake_caseFunction · 0.85

Tested by 1

test_to_api_caseMethod · 0.64