• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Morry98 / sql-query-parser / 8096033456

25 Apr 2022 04:52PM CUT coverage: 54.854%. Remained the same
8096033456

push

github

Morry98
code-checks add workflow_dispatch

(cherry picked from commit 54d394370)

469 of 855 relevant lines covered (54.85%)

0.55 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/sql_query_parser/functions/function_parser.py
1
import os
×
2
from typing import Tuple
×
3

4
from sql_query_parser import functions
×
5
from sql_query_parser.configurations import Configurations
×
6

7

8
def compute(
×
9
        word: str,
10
        config: Configurations
11
) -> Tuple[bool, Configurations]:
12
    for class_ in functions.__dict__.items():
×
13
        if class_[0].startswith("_") or class_[0] == os.path.basename(__file__).replace(".py", ""):
×
14
            continue
×
15
        result, config = class_[1].compute(word=word, config=config)
×
16
        if result is True:
×
17
            return True, config
×
18
    return False, config
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc