BuddhaNexus/buddhanexus

View on GitHub
removing build error + black #321
ayya-vimala authored 45bc3faa
complete00:00:30
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
docker pull codeclimate/codeclimate-pep8:b25
b25: Pulling from codeclimate/codeclimate-pep8
ab6db1bc80d0: Pulling fs layer
bf17e9a1c113: Pulling fs layer
4f8d95c214b1: Pulling fs layer
0de813e89c33: Pulling fs layer
a9696c7f4cd8: Pulling fs layer
51b9219e6e44: Pulling fs layer
e3c7e34cb08c: Pulling fs layer
328f3a57c882: Pulling fs layer
43b5f16a0c84: Pulling fs layer
0de813e89c33: Waiting
a9696c7f4cd8: Waiting
51b9219e6e44: Waiting
e3c7e34cb08c: Waiting
328f3a57c882: Waiting
43b5f16a0c84: Waiting
bf17e9a1c113: Verifying Checksum
bf17e9a1c113: Download complete
4f8d95c214b1: Verifying Checksum
4f8d95c214b1: Download complete
ab6db1bc80d0: Verifying Checksum
ab6db1bc80d0: Download complete
ab6db1bc80d0: Pull complete
a9696c7f4cd8: Verifying Checksum
a9696c7f4cd8: Download complete
51b9219e6e44: Download complete
bf17e9a1c113: Pull complete
4f8d95c214b1: Pull complete
0de813e89c33: Verifying Checksum
0de813e89c33: Download complete
e3c7e34cb08c: Verifying Checksum
e3c7e34cb08c: Download complete
328f3a57c882: Verifying Checksum
43b5f16a0c84: Verifying Checksum
43b5f16a0c84: Download complete
0de813e89c33: Pull complete
a9696c7f4cd8: Pull complete
51b9219e6e44: Pull complete
e3c7e34cb08c: Pull complete
328f3a57c882: Pull complete
43b5f16a0c84: Pull complete
Digest: sha256:75f70c714bc5f9e65359d45469a1fe7c1b181a15aee8fbabec7e23c65b19d447
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-pep8:b25
docker pull codeclimate/codeclimate-sonar-python:b10
b10: Pulling from codeclimate/codeclimate-sonar-python
709515475419: Pulling fs layer
d1c225ed7c34: Pulling fs layer
887f300163b6: Pulling fs layer
a3ed95caeb02: Pulling fs layer
9b412187b352: Pulling fs layer
8fe915fa1948: Pulling fs layer
65145a386a45: Pulling fs layer
a64dfb9c0f27: Pulling fs layer
59a464ab5a51: Pulling fs layer
47413513c002: Pulling fs layer
9f30da6d3676: Pulling fs layer
9b412187b352: Waiting
59a464ab5a51: Waiting
47413513c002: Waiting
8fe915fa1948: Waiting
65145a386a45: Waiting
a64dfb9c0f27: Waiting
9f30da6d3676: Waiting
a3ed95caeb02: Waiting
d1c225ed7c34: Verifying Checksum
d1c225ed7c34: Download complete
a3ed95caeb02: Download complete
709515475419: Verifying Checksum
709515475419: Download complete
9b412187b352: Verifying Checksum
9b412187b352: Download complete
709515475419: Pull complete
d1c225ed7c34: Pull complete
65145a386a45: Verifying Checksum
65145a386a45: Download complete
887f300163b6: Download complete
59a464ab5a51: Download complete
8fe915fa1948: Verifying Checksum
8fe915fa1948: Download complete
887f300163b6: Pull complete
a3ed95caeb02: Pull complete
47413513c002: Verifying Checksum
47413513c002: Download complete
9b412187b352: Pull complete
a64dfb9c0f27: Verifying Checksum
a64dfb9c0f27: Download complete
9f30da6d3676: Verifying Checksum
9f30da6d3676: Download complete
8fe915fa1948: Pull complete
65145a386a45: Pull complete
a64dfb9c0f27: Pull complete
59a464ab5a51: Pull complete
47413513c002: Pull complete
9f30da6d3676: Pull complete
Digest: sha256:7904831e83e5474cba8a95726a691787d74d669d74a8721f114057ebb4a8943d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-sonar-python:b10
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-10-31T08:00:25.684735 #1]  WARN -- : Skipping frontend/src/utils/mdxPageHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:25.684787 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:26.058762 #1]  WARN -- : Skipping frontend/src/components/db/SearchableDbSourceTree/TreeNavigation/TreeBreadcrumbs.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:26.058799 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:26.098453 #1]  WARN -- : Skipping frontend/src/components/layout/QueryResultsPageContent.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:26.098488 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:26.234903 #1]  WARN -- : Skipping frontend/src/features/sidebarSuite/config/settings.ts due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:26.234944 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:26.339821 #1]  WARN -- : Skipping frontend/src/features/sidebarSuite/common/PanelHeading.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:26.339852 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:26.366721 #1]  WARN -- : Skipping frontend/src/features/sidebarSuite/subComponents/settings/DbViewSelector.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:26.366748 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:26.402610 #1]  WARN -- : Skipping frontend/src/features/sidebarSuite/subComponents/settings/DbSourceFilters/tree/DbSourceFilterTreeNode.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:26.402635 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:26.468826 #1]  WARN -- : Skipping frontend/src/features/sidebarSuite/subComponents/settings/SortOption.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:26.468866 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:26.491500 #1]  WARN -- : Skipping frontend/src/features/sidebarSuite/subComponents/tabPanelGroups/UtilityOptionsSection.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:26.491528 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:26.539125 #1]  WARN -- : Skipping frontend/src/features/globalSearch/GlobalSearchDesktop.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:26.539154 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:26.541873 #1]  WARN -- : Skipping frontend/src/features/globalSearch/GlobalSearchStyledMuiComponents.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:26.541899 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:26.542996 #1]  WARN -- : Skipping frontend/src/features/globalSearch/GlobalSearchMobile.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:26.543020 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:26.664385 #1]  WARN -- : Skipping frontend/src/pages/news/[slug].tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:26.664414 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:26.745096 #1]  WARN -- : Skipping frontend/src/pages/[slug].tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:26.745133 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:26.746293 #1]  WARN -- : Skipping frontend/src/pages/search/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:26.746323 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-10-31T08:00:29.612271 #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-31T08:00:29.612838 #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-31T08:00:29.623745 #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-31T08:00:29.624277 #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-31T08:00:29.635404 #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-31T08:00:29.646855 #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-31T08:00:29.651111 #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-31T08:00:29.658162 #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-31T08:00:29.662507 #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-31T08:00:29.673493 #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-31T08:00:29.680062 #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 15
    def load_metadata_from_files(paths: List[str], db: StandardDatabase) -> None:
                                      ^
SyntaxError: invalid syntax


I, [2024-10-31T08:00:29.684340 #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-31T08:00:29.690856 #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-31T08:00:29.695413 #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-31T08:00:29.701838 #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-31T08:00:29.706619 #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-31T08:00:29.712690 #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-31T08:00:29.717595 #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-31T08:00:29.723397 #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-31T08:00:29.728396 #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-31T08:00:29.734649 #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-31T08:00:29.739341 #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-31T08:00:29.745504 #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-31T08:00:29.750014 #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-31T08:00:29.756346 #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-31T08:00:29.761009 #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-31T08:00:29.775853 #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-31T08:00:29.786628 #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-31T08:00:29.787290 #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-31T08:00:29.798105 #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-31T08:00:29.798646 #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-31T08:00:29.809889 #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-31T08:00:29.895633 #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-31T08:00:29.906445 #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-31T08:00:30.770397 #1]  WARN -- : Skipping ./frontend/src/utils/mdxPageHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:30.770681 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:31.219846 #1]  WARN -- : Skipping ./frontend/src/components/db/SearchableDbSourceTree/TreeNavigation/TreeBreadcrumbs.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:31.220082 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:31.277344 #1]  WARN -- : Skipping ./frontend/src/components/layout/QueryResultsPageContent.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:31.277573 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:31.456923 #1]  WARN -- : Skipping ./frontend/src/features/sidebarSuite/config/settings.ts due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:31.457215 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:31.617939 #1]  WARN -- : Skipping ./frontend/src/features/sidebarSuite/common/PanelHeading.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:31.618215 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:31.655438 #1]  WARN -- : Skipping ./frontend/src/features/sidebarSuite/subComponents/settings/DbViewSelector.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:31.655770 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:31.694214 #1]  WARN -- : Skipping ./frontend/src/features/sidebarSuite/subComponents/settings/DbSourceFilters/tree/DbSourceFilterTreeNode.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:31.694281 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:31.789186 #1]  WARN -- : Skipping ./frontend/src/features/sidebarSuite/subComponents/settings/SortOption.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:31.789459 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:31.805453 #1]  WARN -- : Skipping ./frontend/src/features/sidebarSuite/subComponents/tabPanelGroups/UtilityOptionsSection.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:31.805537 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:31.891960 #1]  WARN -- : Skipping ./frontend/src/features/globalSearch/GlobalSearchDesktop.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:31.892193 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:31.893814 #1]  WARN -- : Skipping ./frontend/src/features/globalSearch/GlobalSearchStyledMuiComponents.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:31.894011 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:31.894984 #1]  WARN -- : Skipping ./frontend/src/features/globalSearch/GlobalSearchMobile.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:31.895009 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:32.067954 #1]  WARN -- : Skipping ./frontend/src/pages/news/[slug].tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:32.068043 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:32.186494 #1]  WARN -- : Skipping ./frontend/src/pages/[slug].tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:32.186539 #1]  WARN -- : Response status: 422
W, [2024-10-31T08:00:32.187168 #1]  WARN -- : Skipping ./frontend/src/pages/search/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-10-31T08:00:32.187198 #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: 0.773s
INFO: Final Memory: 6M/295M
INFO: ------------------------------------------------------------------------