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

Function assert_config

python/ccxt/static_dependencies/lark/exceptions.py:19–21  ·  view source on GitHub ↗
(value, options: Collection, msg='Got %r, expected one of %s')

Source from the content-addressed store, hash-verified

17
18
19def assert_config(value, options: Collection, msg='Got %r, expected one of %s'):
20 if value not in options:
21 raise ConfigurationError(msg % (value, options))
22
23
24class GrammarError(LarkError):

Callers 4

_validate_frontend_argsFunction · 0.85
__init__Method · 0.85
__setattr__Method · 0.85
__init__Method · 0.85

Calls 1

ConfigurationErrorClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…