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

Function string_value

python/ccxt/test/exchange/base/test_shared_methods.py:34–42  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

32
33
34def string_value(value):
35 string_val = None
36 if isinstance(value, str):
37 string_val = value
38 elif value is None:
39 string_val = 'undefined'
40 else:
41 string_val = str(value)
42 return string_val
43
44
45def assert_type(exchange, skipped_properties, entry, key, format):

Callers 15

assert_structureFunction · 0.85
assert_timestampFunction · 0.85
assert_currency_codeFunction · 0.85
assert_symbolFunction · 0.85
assert_greaterFunction · 0.85
assert_greater_or_equalFunction · 0.85
assert_lessFunction · 0.85
assert_less_or_equalFunction · 0.85
assert_equalFunction · 0.85
assert_non_equalFunction · 0.85
assert_in_arrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…