MCPcopy Create free account
hub / github.com/ccxt/ccxt / capitalize_keys

Method capitalize_keys

python/ccxt/aster.py:3976–3984  ·  view source on GitHub ↗
(self, dict: dict)

Source from the content-addressed store, hash-verified

3974 return encodedString[0:-1]
3975
3976 def capitalize_keys(self, dict: dict) -> dict:
3977 capitalized = {}
3978 keys = list(dict.keys())
3979 for i in range(0, len(keys)):
3980 key = keys[i]
3981 value = dict[key]
3982 capitalizedKey = self.capitalize(key)
3983 capitalized[capitalizedKey] = value
3984 return capitalized
3985
3986 def load_markets_and_sign_in(self):
3987 [self.load_markets(), self.sign_in()]

Callers 1

signMethod · 0.95

Calls 2

rangeFunction · 0.50
capitalizeMethod · 0.45

Tested by

no test coverage detected