BuddhaNexus/buddhanexus

View on GitHub
Merge branch 'master' into dataloader-rewrite #320
Sebastian Nehrdich authored c712002e
complete00:00:35
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.json.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-10-30T19:40:10.369252 #1]  WARN -- : Skipping frontend/src/utils/mdxPageHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:10.369315 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:11.239205 #1]  WARN -- : Skipping frontend/src/components/db/SearchableDbSourceTree/TreeNavigation/TreeBreadcrumbs.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:11.239514 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:11.328453 #1]  WARN -- : Skipping frontend/src/components/layout/QueryResultsPageContent.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:11.328650 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:11.642927 #1]  WARN -- : Skipping frontend/src/features/sidebarSuite/config/settings.ts due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:11.642983 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:11.881018 #1]  WARN -- : Skipping frontend/src/features/sidebarSuite/common/PanelHeading.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:11.881073 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:11.993211 #1]  WARN -- : Skipping frontend/src/features/sidebarSuite/subComponents/settings/DbViewSelector.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:11.993261 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:12.072076 #1]  WARN -- : Skipping frontend/src/features/sidebarSuite/subComponents/settings/DbSourceFilters/tree/DbSourceFilterTreeNode.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:12.072126 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:12.216588 #1]  WARN -- : Skipping frontend/src/features/sidebarSuite/subComponents/settings/SortOption.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:12.216643 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:12.264686 #1]  WARN -- : Skipping frontend/src/features/sidebarSuite/subComponents/tabPanelGroups/UtilityOptionsSection.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:12.264745 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:12.371777 #1]  WARN -- : Skipping frontend/src/features/globalSearch/GlobalSearchDesktop.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:12.371829 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:12.375908 #1]  WARN -- : Skipping frontend/src/features/globalSearch/GlobalSearchStyledMuiComponents.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:12.375946 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:12.377610 #1]  WARN -- : Skipping frontend/src/features/globalSearch/GlobalSearchMobile.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:12.377641 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:12.657981 #1]  WARN -- : Skipping frontend/src/pages/news/[slug].tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:12.658024 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:12.853164 #1]  WARN -- : Skipping frontend/src/pages/[slug].tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:12.853257 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:12.855565 #1]  WARN -- : Skipping frontend/src/pages/search/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:12.855598 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-10-30T19:40:16.916622 #1]  INFO -- : Skipping file dataloader/load_segments.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 71
    SEARCH_COLLECTION_NAME: str
                          ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:16.928035 #1]  INFO -- : Skipping file dataloader/dataloader_constants.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 6
    ARANGO_HOST = f"http://{os.environ['ARANGO_HOST']}:{os.environ['ARANGO_PORT']}"
                                                                                  ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:16.935157 #1]  INFO -- : Skipping file dataloader/tasks.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 76
    print(f"created {DB_NAME} database")
                                      ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:16.947167 #1]  INFO -- : Skipping file dataloader/dataloader_models.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 22
    id: str = Field(..., min_length=1)
      ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:16.965196 #1]  INFO -- : Skipping file dataloader/clean_database.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 77
    def empty_collection(collection_name: str, db: StandardDatabase, edge: bool = False):
                                        ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:16.981585 #1]  INFO -- : Skipping file dataloader/global_search.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 48
    ANALYZER_NAME: str
                 ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:16.985223 #1]  INFO -- : Skipping file dataloader/dataloader_validator.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 25
    print(f"Validating {doc_path}: OK")
                                     ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:16.999305 #1]  INFO -- : Skipping file dataloader/load_stats.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    global_stats_file = f"{folder}/{lang}/stats/global_stats.json.gz"
                                                                    ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.005700 #1]  INFO -- : Skipping file dataloader/load_parallels.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 37
    def load_parallels(parallels, db: StandardDatabase) -> None:
                                    ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.027086 #1]  INFO -- : Skipping file dataloader/utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 37
    def get_arango_client() -> ArangoClient:
                            ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.033651 #1]  INFO -- : Skipping file dataloader/load_metadata.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 18
    def load_metadata_from_files(paths: List[str], db: StandardDatabase) -> None:
                                      ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.046577 #1]  INFO -- : Skipping file ./api/endpoints/links.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    async def get_external_links(filename: str = Query(...)) -> Any:
        ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.047395 #1]  INFO -- : Skipping file ./api/endpoints/endpoint_utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 20
    raise HTTPException(status_code=404, detail="Item not found") from error
                                                                     ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.065066 #1]  INFO -- : Skipping file ./api/endpoints/numbers_view.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 48
    async def get_numbers_view(input: GeneralInput) -> Any:
        ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.066739 #1]  INFO -- : Skipping file ./api/endpoints/menu.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 13
    async def get_data_for_sidebar_menu(
        ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.084935 #1]  INFO -- : Skipping file ./api/endpoints/models/utils_models.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 7
    filename: str
            ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.086089 #1]  INFO -- : Skipping file ./api/endpoints/models/links_models.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 5
    bdrc: str
        ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.104244 #1]  INFO -- : Skipping file ./api/endpoints/models/numbers_view_models.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 6
    segmentnr: str
             ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.122188 #1]  INFO -- : Skipping file ./api/endpoints/models/text_view_models.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 7
    filename: str
            ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.124563 #1]  INFO -- : Skipping file ./api/endpoints/models/menu_models.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 6
    displayName: str
               ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.145042 #1]  INFO -- : Skipping file ./api/endpoints/models/download_models.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    download_data: DownloadData = DownloadData.table
                 ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.150894 #1]  INFO -- : Skipping file ./api/endpoints/models/graph_view_models.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 10
    par_length: int = 0
              ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.163136 #1]  INFO -- : Skipping file ./api/endpoints/models/search_models.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 16
    language: Languages
            ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.169968 #1]  INFO -- : Skipping file ./api/endpoints/models/table_view_models.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 7
    par_segnr_range: str
                   ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.181769 #1]  INFO -- : Skipping file ./api/endpoints/models/general_models.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 26
    par_length: int = 0
              ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.188709 #1]  INFO -- : Skipping file ./api/endpoints/search.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 13
    async def get_search_results(input: SearchInput) -> Any:
        ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.207145 #1]  INFO -- : Skipping file ./api/endpoints/text_view.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 13
    async def get_parallels_for_middle(input: TextViewMiddleInput) -> Any:
        ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.226569 #1]  INFO -- : Skipping file ./api/endpoints/table_view.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 14
    async def get_table_view(input: GeneralInput) -> Any:
        ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.239647 #1]  INFO -- : Skipping file ./api/endpoints/graph_view.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 11
    async def get_graph_for_file(input: GraphInput) -> Any:
        ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.245938 #1]  INFO -- : Skipping file ./api/endpoints/utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 11
    async def get_counts_for_file(input: CountMatchesInput) -> Any:
        ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.260283 #1]  INFO -- : Skipping file ./api/endpoints/download.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    async def get_table_download(input: DownloadInput) -> Any:
        ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.278789 #1]  INFO -- : Skipping file ./api/main.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 42
    def root() -> object:
               ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.449260 #1]  INFO -- : Skipping file ./api/utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 46
    def get_sort_key(sort_method) -> str:
                                  ^
SyntaxError: invalid syntax


I, [2024-10-30T19:40:17.467184 #1]  INFO -- : Skipping file ./api/db_connection.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 13
    def get_db() -> Database:
                 ^
SyntaxError: invalid syntax


W, [2024-10-30T19:40:18.450288 #1]  WARN -- : Skipping ./frontend/src/utils/mdxPageHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:18.450411 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:19.517645 #1]  WARN -- : Skipping ./frontend/src/components/db/SearchableDbSourceTree/TreeNavigation/TreeBreadcrumbs.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:19.518285 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:19.653384 #1]  WARN -- : Skipping ./frontend/src/components/layout/QueryResultsPageContent.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:19.654026 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:20.152967 #1]  WARN -- : Skipping ./frontend/src/features/sidebarSuite/config/settings.ts due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:20.153046 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:20.450253 #1]  WARN -- : Skipping ./frontend/src/features/sidebarSuite/common/PanelHeading.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:20.450300 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:20.518079 #1]  WARN -- : Skipping ./frontend/src/features/sidebarSuite/subComponents/settings/DbViewSelector.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:20.518463 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:20.598440 #1]  WARN -- : Skipping ./frontend/src/features/sidebarSuite/subComponents/settings/DbSourceFilters/tree/DbSourceFilterTreeNode.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:20.598547 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:20.829549 #1]  WARN -- : Skipping ./frontend/src/features/sidebarSuite/subComponents/settings/SortOption.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:20.829639 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:20.889298 #1]  WARN -- : Skipping ./frontend/src/features/sidebarSuite/subComponents/tabPanelGroups/UtilityOptionsSection.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:20.889402 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:21.063948 #1]  WARN -- : Skipping ./frontend/src/features/globalSearch/GlobalSearchDesktop.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:21.064033 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:21.069290 #1]  WARN -- : Skipping ./frontend/src/features/globalSearch/GlobalSearchStyledMuiComponents.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:21.069764 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:21.069889 #1]  WARN -- : Skipping ./frontend/src/features/globalSearch/GlobalSearchMobile.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:21.070034 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:21.477953 #1]  WARN -- : Skipping ./frontend/src/pages/news/[slug].tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:21.478053 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:21.724091 #1]  WARN -- : Skipping ./frontend/src/pages/[slug].tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:21.724207 #1]  WARN -- : Response status: 422
W, [2024-10-30T19:40:21.724175 #1]  WARN -- : Skipping ./frontend/src/pages/search/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-30T19:40:21.724932 #1]  WARN -- : Response status: 422
7
bandit
bandit engine documentation
View output
[main]	INFO	profile include tests: None
[main]	INFO	profile exclude tests: None
[main]	INFO	cli include tests: None
[main]	INFO	cli exclude tests: None
8
pep8
pep8 engine documentation
View output
dataloader/load_segments.py dataloader/dataloader_constants.py dataloader/tasks.py dataloader/dataloader_models.py dataloader/views_properties.py dataloader/clean_database.py dataloader/global_search.py dataloader/dataloader_validator.py dataloader/load_stats.py dataloader/load_parallels.py dataloader/__init__.py dataloader/utils.py dataloader/load_metadata.py .github/ .idea/ api/ frontend/public/ frontend/src/utils/ frontend/src/components/ frontend/src/features/ frontend/src/pages/ frontend/src/atoms/ frontend/.yarn/ frontend/.husky/ frontend/content/ setup/
9
sonar-python
sonar-python engine documentation
View output
INFO: Java 1.8.0_111-internal Oracle Corporation (64-bit)
INFO: Linux 4.4.0-1128-aws amd64
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-core-2.17.0.899.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-cli-2.1.0.566.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
INFO: Index files
INFO: Invalid character encountered in file '/code/buddhanexus_smaller.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/buddhanexus_small.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/android-chrome-192x192.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/logos/gretil.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/logos/dsbc.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/logos/gretil_light.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/logos/sc.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/logos/vri.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/logos/rkts_light.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/logos/bdrc_light.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/logos/cbeta.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/logos/rkts.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/logos/bdrc.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/partner_uni_goettingen.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/partner_sutta_central.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/partner_vipassana_research_institute.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/atii_logo.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/partner_khyentse_center.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/partner_acip.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/bg_pli_upscaled.jpeg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/bg_chn_upscaled.jpeg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/partner_uwest.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/bg_chn_upscaled_bw.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/bg_welcome_upscaled_bw.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/partner_vienna.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/partner_dsbc.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/bg_welcome_upscaled.jpeg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/bg_pli_upscaled_bw.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/partner_cbc.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/partner_rkts.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/bg_skt_upscaled_bw.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/partner_beta.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/bg_skt_upscaled.jpeg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/bg_tib_upscaled_bw.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/partner_uni_hamburg.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/partner_sub.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/bg_tib_upscaled.jpeg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/partner_buddhist_digital_resource_center.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/assets/images/partner_digital_humanities.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/favicon.ico' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/android-chrome-512x512.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/mstile-150x150.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/apple-touch-icon.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/favicon-32x32.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/frontend/public/favicon-16x16.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: 324 files indexed
ERROR: Unable to parse file: /code/dataloader/load_segments.py
ERROR: Parse error at line 71 column 26:

   66: folios = list(dict.fromkeys(folios))
   67:     return filename, segments, folios, segments_paginated, lang
   68: 
   69: 
   70: class LoadSegmentsBase:
  -->      SEARCH_COLLECTION_NAME: str
   72: 
   73:     def __init__(self) -> None:
   74:         self.metadata = self._init_metadata()
   75:         self.DATA_PATH = SEGMENT_URLS[

ERROR: Unable to parse file: /code/dataloader/dataloader_models.py
ERROR: Parse error at line 22 column 6:

   10: 
   11:     tibetan = "bo"
   12:     sanskrit = "sa"
   13:     chinese = "zh"
   14:     pali = "pa"
   15: 
   16: 
   17: class Match(BaseModel):
   18:     """
   19:     The base model of a Parallel object
   20:     """
   21: 
  -->      id: str = Field(..., min_length=1)
   23:     score: float
   24:     par_length: int
   25:     root_length: int
   26:     inquiry_pos_beg: int
   27: 

ERROR: Unable to parse file: /code/dataloader/global_search.py
ERROR: Parse error at line 48 column 17:

   39: stopwords
   40: 
   41: 
   42: bo_stopwords_list = get_stopwords_list(SA_STOPWORDS_URL)
   43: sa_stopwords_list = get_stopwords_list(BO_STOPWORDS_URL)
   44: pa_stopwords_list = get_stopwords_list(PA_STOPWORDS_URL)
   45: 
   46: 
   47: class AnalyzerBase:
  -->      ANALYZER_NAME: str
   49:     CASE: str
   50:     STOPWORDS: list
   51:     ACCENT: bool
   52: 
   53:     def create_analyzer(self, db: StandardDatabase):
   54:         db.create_analyzer

ERROR: Unable to parse file: /code/api/endpoints/models/utils_models.py
ERROR: Parse error at line 7 column 12:

    1: from pydantic import BaseModel
    2: from typing import List, Optional
    3: from .general_models import Filters
    4: 
    5: 
    6: class CountMatchesInput(BaseModel):
  -->      filename: str
    8:     filters: Optional[Filters]
    9: 
   10: 
   11: class CountMatchesOutput(BaseModel):
   12:     parallel_count: int
   13: 
   14: 
   15: class FolioOutput(BaseModel):

ERROR: Unable to parse file: /code/api/endpoints/models/links_models.py
ERROR: Parse error at line 5 column 8:

    1: from pydantic import BaseModel
    2: 
    3: 
    4: class LinksOutput(BaseModel):
  -->      bdrc: str
    6:     rkts: str
    7:     gretil: str
    8:     dsbc: str
    9:     cbeta: str
   10:     suttacentral: str
   11:     cbc: str
   12:     vri: str

ERROR: Unable to parse file: /code/api/endpoints/models/numbers_view_models.py
ERROR: Parse error at line 6 column 13:

    1: from pydantic import BaseModel
    2: from typing import List
    3: 
    4: 
    5: class Parallel(BaseModel):
  -->      segmentnr: str
    7:     displayName: str
    8:     fileName: str
    9:     category: str
   10: 
   11: 
   12: class Segment(BaseModel):
   13:     segmentnr: str
   14:     parallels:

ERROR: Unable to parse file: /code/api/endpoints/models/text_view_models.py
ERROR: Parse error at line 7 column 12:

    1: pydantic import BaseModel
    2: from typing import List, Union, Optional
    3: from .general_models import Filters, FullText
    4: 
    5: 
    6: class TextParallelsInput(BaseModel):
  -->      filename: str
    8:     folio: str = ""
    9:     active_segment: Optional[str] = "none"
   10:     filters: Optional[Filters]
   11:     page: int = 0

ERROR: Unable to parse file: /code/api/endpoints/models/menu_models.py
ERROR: Parse error at line 6 column 15:

    1: from pydantic import BaseModel
    2: from typing import List
    3: 
    4: 
    5: class File(BaseModel):
  -->      displayName: str
    7:     filename: str
    8:     search_field: str
    9: 
   10: 
   11: class CategoryBase(BaseModel):
   12:     category: str
   13:     categorydisplayname: str
   14:     categorysearch_field:

ERROR: Unable to parse file: /code/api/endpoints/models/download_models.py
ERROR: Parse error at line 12 column 17:

    3: GeneralInput
    4: 
    5: 
    6: class DownloadData(str, Enum):
    7:     table = "table"
    8:     numbers = "numbers"
    9: 
   10: 
   11: class DownloadInput(GeneralInput):
  -->      download_data: DownloadData = DownloadData.table
   13: 
   14: 
   15: class DownloadOutput(BaseModel):
   16:     __root__: bytes
   17: EOF

ERROR: Unable to parse file: /code/api/endpoints/models/graph_view_models.py
ERROR: Parse error at line 10 column 14:

    1: from pydantic import BaseModel
    2: from typing import List, Union, Optional
    3: 
    4: 
    5: class GraphFilters(BaseModel):
    6:     """
    7:     Filters for graph
    8:     """
    9: 
  -->      par_length: int = 0
   11:     score: int = 0
   12:     include_collections: Optional[List[str]]
   13: 
   14: 
   15: class GraphInput(BaseModel):
   16:     

ERROR: Unable to parse file: /code/api/endpoints/models/search_models.py
ERROR: Parse error at line 16 column 12:

    2: from typing import List, Optional
    3: from .general_models import FullNames, FullText, Languages
    4: 
    5: """
    6: Search results are not yet working so the below needs to 
    7: be updated accordingly
    8: """
    9: 
   10: 
   11: class SearchFilters(BaseModel):
   12:     """
   13:     Filters for search
   14:     """
   15: 
  -->      language: Languages
   17:     include_files: Optional[List[str]]
   18:     exclude_files: Optional[List[str]]
   19: 
   20:     include_categories: Optional[List[str

ERROR: Unable to parse file: /code/api/endpoints/models/table_view_models.py
ERROR: Parse error at line 7 column 19:

    1: from pydantic import BaseModel
    2: from typing import List
    3: from .general_models import FullNames, FullText
    4: 
    5: 
    6: class Segment(BaseModel):
  -->      par_segnr_range: str
    8:     par_full_names: FullNames
    9:     root_full_names: FullNames
   10:     root_segnr_range: str
   11:     par_length: int
   12:     root_length: int
   13:     score: int
   14:     src_lang: str

ERROR: Unable to parse file: /code/api/endpoints/models/general_models.py
ERROR: Parse error at line 26 column 14:

   14: 
   15:     position = "position"
   16:     quotedtext = "quotedtext"
   17:     length = "length"
   18:     length2 = "length2"
   19: 
   20: 
   21: class Filters(BaseModel):
   22:     """
   23:     Filters for matches
   24:     """
   25: 
  -->      par_length: int = 0
   27:     score: int = 0
   28:     languages: Optional[List[Languages]]
   29: 
   30:     include_files: Optional[List[str]]

INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 1.651s
INFO: Final Memory: 6M/292M
INFO: ------------------------------------------------------------------------