Skip to content

Commit 791b994

Browse files
author
Oleksandr Volha
committed
fix
1 parent f5c53f5 commit 791b994

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

translator/app/translator/core/tokenizer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@ def filter_tokens(tokens: List[TOKEN_TYPE],
250250
token_type: Union[Type[Field], Type[Keyword], Type[Identifier]]) -> List[TOKEN_TYPE]:
251251
return [token for token in tokens if isinstance(token, token_type)]
252252

253-
def filter_function_tokens(self, tokens: List[Union[Field, Keyword, Identifier, Function]]) -> List[TOKEN_TYPE]:
253+
def filter_function_tokens(self,
254+
tokens: List[Union[Field, Keyword, Identifier, Function, SortArg]]) -> List[TOKEN_TYPE]:
254255
result = []
255256
for token in tokens:
256257
if isinstance(token, Field):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy