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

Function concat

python/ccxt/test/exchange/base/test_shared_methods.py:513–525  ·  view source on GitHub ↗
(a=None, b=None)

Source from the content-addressed store, hash-verified

511
512
513def concat(a=None, b=None):
514 # we use this method temporarily, because of ast-transpiler issue across langs
515 if a is None:
516 return b
517 elif b is None:
518 return a
519 else:
520 result = []
521 for i in range(0, len(a)):
522 result.append(a[i])
523 for j in range(0, len(b)):
524 result.append(b[j])
525 return result
526
527
528def assert_non_emtpy_array(exchange, skipped_properties, method, entry, hint=None):

Callers 1

assert_structureFunction · 0.70

Calls 2

rangeFunction · 0.50
appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…