Skip to content

Commit 8d954b3

Browse files
committed
fix
1 parent eccbae3 commit 8d954b3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

uncoder-core/app/translator/core/tokenizer.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -344,11 +344,7 @@ def get_field_tokens_from_func_args( # noqa: PLR0912
344344
result.extend(self.get_field_tokens_from_func_args(args=arg.by_clauses))
345345
result.extend(self.get_field_tokens_from_func_args(args=[arg.filter_]))
346346
elif isinstance(arg, (JoinFunction, UnionFunction)):
347-
result.extend(self.get_field_tokens_from_func_args(args=arg.tokenized_query_container.tokens))
348-
result.extend(
349-
self.get_field_tokens_from_func_args(args=arg.tokenized_query_container.functions.functions)
350-
)
351-
result.extend(self.get_field_tokens_from_func_args(args=arg.condition))
347+
continue
352348
elif isinstance(arg, Function):
353349
result.extend(self.get_field_tokens_from_func_args(args=arg.args))
354350
elif isinstance(arg, SortArg) and isinstance(arg.field, Field):

0 commit comments

Comments
 (0)