(exchange, include_unknown=True)
| 481 | |
| 482 | |
| 483 | def get_active_markets(exchange, include_unknown=True): |
| 484 | filtered_active = exchange.filter_by(exchange.markets, 'active', True) |
| 485 | if include_unknown: |
| 486 | filtered_undefined = exchange.filter_by(exchange.markets, 'active', None) |
| 487 | return exchange.array_concat(filtered_active, filtered_undefined) |
| 488 | return filtered_active |
| 489 | |
| 490 | |
| 491 | def remove_proxy_options(exchange, skipped_properties): |
nothing calls this directly
no test coverage detected
searching dependent graphs…