def skip_children()

in azure-kusto-data/azure/kusto/data/streaming_response.py [0:0]


    def skip_children(self, prev_token: JsonToken):
        if prev_token.token_type == JsonTokenType.MAP_KEY:
            prev_token = self.read_next_token_or_throw()

        if prev_token.token_type in JsonTokenType.start_tokens():
            for potential_end_token in self:
                if potential_end_token.token_path == prev_token.token_path and potential_end_token.token_type in JsonTokenType.end_tokens():
                    break