walk# API documentation for tradeexecutor.state.validator.walk Python function. walk(name, val, key_type)[source]# Raise hierarchical exceptions to locate the bad key-value pair in nested data. Raises: BadStateData – In the case we have sneaked something into the state that does not belong there. Parameters: name (str | int) – val (dict | list | object) – key_type (Type) –