fedspendingtransparency/usaspending-api

View on GitHub
Testing change to codeclimate #15099
sethstoudenmier authored e3678b7d
complete00:01:05
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
WARNING: 'languages' has been deprecated, and will not be used
WARNING: 'ratings' has been deprecated, and will not be used
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...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-12-23T17:47:30.143005 #1]  INFO -- : Skipping file ./usaspending_api/disaster/management/commands/generate_covid19_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 118
    self.spark = configure_spark_session(**extra_conf, spark_context=self.spark)
                                                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.237623 #1]  INFO -- : Skipping file ./usaspending_api/disaster/delta_models/covid_faba_spending.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 40
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.260461 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/spending_by_geography.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 36
    agg_key: Optional[str]  # name of ES index field whose term value will be used for grouping the agg
           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.268859 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/overview.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 82
    return {"award_obligations": self.award_obligations(), "award_outlays": self.award_outlays(), **self.totals()}
                                                                                                   ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.276026 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/recipient/spending.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
    sum_column_mapping: List[str]  # Set in the pagination mixin
                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.283645 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/recipient/count.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 24
    def post(self, request: Request) -> Response:
                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.292844 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/recipient/loans.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
    sum_column_mapping: List[str]  # Set in the pagination mixin
                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.307566 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/disaster_base.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 latest_faba_of_each_year_queryset() -> FinancialAccountsByAwards.objects:
                                            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.318125 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/agency/spending.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 119
    def _build_json_result(self, queryset: List[dict]) -> dict:
                                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.320413 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/agency/count.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
    def post(self, request: Request) -> Response:
                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.331553 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/agency/loans.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 83
    def _build_json_result(self, queryset: List[dict]) -> dict:
                                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.364058 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/def_code/count.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
    def post(self, request: Request) -> Response:
                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.379244 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/federal_account/spending.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 40
    def construct_response(results: list, pagination: Pagination):
                                  ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.391088 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/federal_account/count.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
    def post(self, request: Request) -> Response:
                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.391702 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/federal_account/loans.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 54
    def _build_json_result(self, queryset: List[QuerySet]) -> dict:
                                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.403515 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/federal_account/federal_account_result.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
    _federal_accounts: Dict[FedAccount, FedAccount] = field(default_factory=dict)
                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.416118 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/cfda/spending.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
    def build_elasticsearch_result(self, info_buckets: List[dict]) -> List[dict]:
                                                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.423034 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/cfda/count.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
    def post(self, request: Request) -> Response:
                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.431963 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/cfda/loans.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
    def build_elasticsearch_result(self, info_buckets: List[dict]) -> List[dict]:
                                                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.451292 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/elasticsearch_base.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 62
    query_fields: List[str]
                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.466660 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/object_class/object_class_result.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
    _object_classes: Dict[ObjectClass, ObjectClass] = field(default_factory=dict)
                   ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.472287 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/object_class/spending.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
    def construct_response(results: list, pagination: Pagination, strip_total_budgetary_resources=True):
                                  ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.477724 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/object_class/count.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
    def post(self, request: Request) -> Response:
                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.483806 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/object_class/loans.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 55
    def _build_json_result(self, queryset: List[QuerySet]) -> dict:
                                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.499489 #1]  INFO -- : Skipping file ./usaspending_api/disaster/v2/views/data_classes.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 9
    id: int
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.521939 #1]  INFO -- : Skipping file usaspending_api/conftest.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 61
    def pytest_collection_modifyitems(session: pytest.Session, config: pytest.Config, items: List[pytest.Item]) -> None:
                                             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.543683 #1]  INFO -- : Skipping file usaspending_api/conftest_helpers.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 32
    def is_pytest_xdist_parallel_sessions() -> bool:
                                            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.631130 #1]  INFO -- : Skipping file ./usaspending_api/recipient/delta_models/recipient_profile.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
    **RECIPIENT_PROFILE_COLUMNS_WITHOUT_ID,
     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.637790 #1]  INFO -- : Skipping file ./usaspending_api/recipient/delta_models/recipient_lookup.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 24
    **RECIPIENT_LOOKUP_COLUMNS_WITHOUT_ID,
     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.647528 #1]  INFO -- : Skipping file ./usaspending_api/recipient/delta_models/sam_recipient.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 32
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.795627 #1]  INFO -- : Skipping file ./usaspending_api/recipient/v2/views/recipients.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 270
    bucket_count = get_number_of_unique_terms_for_transactions(filter_query, f"{group_by_field}.hash")
                                                                                                    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.849491 #1]  INFO -- : Skipping file usaspending_api/recipient/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 119
    def return_one_level(levels: List[str]) -> Optional[str]:
                               ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.868046 #1]  INFO -- : Skipping file ./usaspending_api/download/management/commands/populate_monthly_files.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 227
    file_name = f"FY{fiscal_year}_{agency['toptier_code']}_{award_type.capitalize()}"
                                                                                    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.919568 #1]  INFO -- : Skipping file ./usaspending_api/download/management/commands/populate_monthly_delta_files.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 148
    working_dir = f"{settings.CSV_LOCAL_PATH}_{agency_code}_delta_gen_{timestamp}/"
                                                                                  ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:30.920731 #1]  INFO -- : Skipping file ./usaspending_api/download/management/commands/download_sqs_worker.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 41
    name=f"job.{JOB_TYPE}", service="bulk-download", resource=queue.url, span_type=SpanTypes.WORKER
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.083703 #1]  INFO -- : Skipping file ./usaspending_api/download/filestreaming/s3_handler.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 32
    bucket_url = f"{settings.FILES_SERVER_BASE_URL}/{self.redirect_dir}/"
                                                                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.111942 #1]  INFO -- : Skipping file ./usaspending_api/download/filestreaming/download_generation.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 53
    def generate_download(download_job: DownloadJob, origination: Optional[str] = None):
                                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.125168 #1]  INFO -- : Skipping file ./usaspending_api/download/helpers/elasticsearch_download_functions.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 34
    class _ElasticsearchDownload(metaclass=ABCMeta):
                                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.142266 #1]  INFO -- : Skipping file ./usaspending_api/download/helpers/download_file_helpers.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
    def get_last_modified_download_file(download_prefix: str, bucket_name: str) -> Optional[str]:
                                                       ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.155099 #1]  INFO -- : Skipping file ./usaspending_api/download/helpers/download_annotation_functions.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 35
    AWARD_URL = f"{HOST}/award/" if "localhost" in HOST else f"https://{HOST}/award/"
                               ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.183563 #1]  INFO -- : Skipping file ./usaspending_api/download/helpers/request_validations_helpers.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 24
    raise InvalidParameterException(f"{field} parameter not provided as a {type_name} or dict")
                                                                                             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.195277 #1]  INFO -- : Skipping file ./usaspending_api/download/helpers/disaster_filter_functions.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
    def _disaster_recipient_aggregations() -> dict:
                                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.200836 #1]  INFO -- : Skipping file ./usaspending_api/download/helpers/monthly_helpers.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 24
    log_dict["message_type"] = f"{job_type}Error"
                                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.217032 #1]  INFO -- : Skipping file ./usaspending_api/download/delta_models/download_job.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
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.257814 #1]  INFO -- : Skipping file ./usaspending_api/download/v2/list_database_downloads.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 38
    def _structure_file_response(self, file_name: str):
                                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.263556 #1]  INFO -- : Skipping file ./usaspending_api/download/v2/base_download_viewset.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 33
    request: Request,
           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.316515 #1]  INFO -- : Skipping file ./usaspending_api/download/v2/list_monthly_downloads.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 51
    monthly_download_prefixes = f"FY{fiscal_year}_{agency['toptier_code']}_{download_type}"
                                                                                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.350350 #1]  INFO -- : Skipping file ./usaspending_api/download/v2/download_status.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 27
    def get_download_status_response(self, file_name: str):
                                                    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.354923 #1]  INFO -- : Skipping file ./usaspending_api/download/v2/download_column_historical_lookups.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 33
    f"latest_transaction_search__{FPDS_TO_TRANSACTION_SEARCH_COL_MAP['referenced_idv_agency_iden']}",
                                                                                                   ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.370334 #1]  INFO -- : Skipping file ./usaspending_api/download/v2/download_list_agencies.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 30
    raise InvalidParameterException(f"type must be one of: {AGENCY_LIST_TYPES}")
                                                                              ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.375501 #1]  INFO -- : Skipping file ./usaspending_api/download/v2/list_unlinked_awards_downloads.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 30
    raise InvalidParameterException(f"Missing one or more required body parameters: {required}")
                                                                                              ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.382235 #1]  INFO -- : Skipping file ./usaspending_api/download/v2/request_validations.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 33
    name: str
        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.421469 #1]  INFO -- : Skipping file usaspending_api/download/download_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 17
    download_name = f"IDV_{slugify_text_for_file_names(json_request.get('piid'), 'UNKNOWN', 50)}_{timestamp}.zip"
                                                                                                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.499594 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/award_count.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 86
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.515525 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/federal_account_count.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
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.530413 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/program_activity_count.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 27
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.534135 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/awards.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
    "time_period": [{"start_date": f"{self.fiscal_year - 1}-10-01", "end_date": f"{self.fiscal_year}-09-30"}],
                                                                 ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.545748 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/obligations_by_award_category.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
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.548110 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/bureau_federal_account.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 34
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.562905 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/agency_base.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 29
    params_to_validate: List[str]
                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.563712 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/object_class_list.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 27
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.580612 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/budget_function.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 47
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.582563 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/federal_account_list.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 59
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.599402 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/tas_program_activity_list.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 40
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.603488 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/budget_function_count.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 27
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.613089 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/subcomponents.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 30
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.637397 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/new_award_count.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 29
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.643198 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/sub_agency.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 30
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.655889 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/tas_object_class_list.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 41
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.661896 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/program_activity_list.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 27
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.680516 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/object_class_count.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 27
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.700809 #1]  INFO -- : Skipping file ./usaspending_api/agency/v2/views/sub_agency_count.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
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.742977 #1]  INFO -- : Skipping file usaspending_api/transactions/agnostic_transaction_deletes.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
    help=f"Delete transactions using this {self.shared_pk} list (space-separated)",
                                                                                 ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.755576 #1]  INFO -- : Skipping file usaspending_api/transactions/agnostic_transaction_loader.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 35
    "--ids", nargs="+", help=f"Load/Reload transactions using this {self.shared_pk} list (space-separated)"
                                                                                                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.781512 #1]  INFO -- : Skipping file ./usaspending_api/transactions/management/commands/delete_assistance_records.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 21
    def fetch_deleted_transactions(self) -> Optional[dict]:
                                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.804608 #1]  INFO -- : Skipping file ./usaspending_api/transactions/management/commands/delete_procurement_records.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 21
    def fetch_deleted_transactions(self) -> Optional[dict]:
                                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:31.990944 #1]  INFO -- : Skipping file ./usaspending_api/transactions/delta_models/transaction_normalized.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 39
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.002436 #1]  INFO -- : Skipping file ./usaspending_api/transactions/delta_models/detached_award_procurement.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 319
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.013509 #1]  INFO -- : Skipping file ./usaspending_api/transactions/delta_models/transaction_fabs.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 162
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.031479 #1]  INFO -- : Skipping file ./usaspending_api/transactions/delta_models/transaction_fpds.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 384
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.036684 #1]  INFO -- : Skipping file ./usaspending_api/transactions/delta_models/transaction_current_cd_lookup.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
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.070662 #1]  INFO -- : Skipping file ./usaspending_api/transactions/delta_models/transaction_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 409
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.077702 #1]  INFO -- : Skipping file ./usaspending_api/transactions/delta_models/summary_state_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 25
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.090407 #1]  INFO -- : Skipping file ./usaspending_api/transactions/delta_models/published_fabs.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 113
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.107923 #1]  INFO -- : Skipping file usaspending_api/transactions/transaction_delete_journal_helpers.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 19
    def retrieve_deleted_fabs_transactions(start_datetime: datetime, end_datetime: Optional[datetime] = None) -> dict:
                                                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.138389 #1]  INFO -- : Skipping file usaspending_api/transactions/loader_functions.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 8
    def store_ids_in_file(id_iter: List, file_name: str = "temp_file", is_numeric: bool = True) -> Tuple[Path, int]:
                                 ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.219138 #1]  INFO -- : Skipping file ./usaspending_api/spending_explorer/v2/filters/type_filter.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
    ) -> (list, float):
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.301502 #1]  INFO -- : Skipping file ./usaspending_api/tests/conftest_spark.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 60
    f"org.apache.hadoop:hadoop-aws:{_HADOOP_VERSION}",
                                                    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.306098 #1]  INFO -- : Skipping file ./usaspending_api/tests/integration/test_award_index_elasticsearch.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 139
    def create_query(should) -> dict:
                             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.340480 #1]  INFO -- : Skipping file ./usaspending_api/tests/integration/test_setup_of_spark_dependencies.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 test_preload_spark_jars(spark: SparkSession):
                                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.381966 #1]  INFO -- : Skipping file ./usaspending_api/references/management/commands/load_glossary.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
    default=f"{settings.FILES_SERVER_BASE_URL}/docs/USAspendingGlossary.xlsx",
                                                                            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.399185 #1]  INFO -- : Skipping file ./usaspending_api/references/management/commands/load_offices.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 38
    logger.info(f"Deleted {deletes[0]:,} records")
                                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.407507 #1]  INFO -- : Skipping file ./usaspending_api/references/management/commands/load_tas.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 62
    logger.info(f"   Updated {count:,} TAS agency links")
                                                       ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.416349 #1]  INFO -- : Skipping file ./usaspending_api/references/management/commands/load_gtas.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 65
    logger.info(f"Deleted {deletes[0]:,} records")
                                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.422462 #1]  INFO -- : Skipping file ./usaspending_api/references/management/commands/load_agencies.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 81
    f"Reloads agencies even if the max change threshold of {MAX_CHANGES:,} is exceeded.  This is a "
                                                                                                   ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.437925 #1]  INFO -- : Skipping file ./usaspending_api/references/management/commands/load_object_classes.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 127
    f"Invalid object class code '{raw_object_class.object_class}' in row "
                                                                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.452951 #1]  INFO -- : Skipping file ./usaspending_api/references/management/commands/load_bureau_title_lookup.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 33
    logger.info(f"Source: {path}")
                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.471236 #1]  INFO -- : Skipping file ./usaspending_api/references/management/commands/load_population_data.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 31
    logger.info(f"Loading {self.type} Population data from {file}")
                                                                 ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.478581 #1]  INFO -- : Skipping file ./usaspending_api/references/management/commands/load_disaster_emergency_fund_codes.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 59
    logger.info(f"Attempting to load from file: {self.def_code_file}")
                                                                    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.496068 #1]  INFO -- : Skipping file ./usaspending_api/references/management/commands/load_historical_appropriation_account_balances.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
    DEFAULT_CSV_LOCATION = f"{settings.FILES_SERVER_BASE_URL}/reference_data/"
                                                                             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.509459 #1]  INFO -- : Skipping file ./usaspending_api/references/management/commands/load_city_county_state_code.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 31
    f"Loads city, county, and state data from USGS/GNIS NationalFedCode pipe delimited text file "
                                                                                                 ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.515324 #1]  INFO -- : Skipping file ./usaspending_api/references/management/commands/load_rosetta.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 74
    def extract_data_from_source_file(filepath: str) -> dict:
                                              ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.626455 #1]  INFO -- : Skipping file ./usaspending_api/references/management/commands/population_data_loaders/loader_factories.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 create_population_loader(self) -> Loader:
                                       ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.630551 #1]  INFO -- : Skipping file ./usaspending_api/references/management/commands/population_data_loaders/loaders.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 drop_temp_tables(self) -> None:
                               ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.698655 #1]  INFO -- : Skipping file usaspending_api/references/helpers.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
    def retrive_agency_name_from_code(code: str) -> Optional[str]:
                                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.809216 #1]  INFO -- : Skipping file ./usaspending_api/references/models/cgac.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 27
    return f"{self.cgac_code} - [{self.agency_abbreviation}] {self.agency_name}"
                                                                               ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:32.897828 #1]  INFO -- : Skipping file ./usaspending_api/references/models/frec.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
    return f"{self.frec_code} - [{self.agency_abbreviation}] {self.agency_name}"
                                                                               ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.192720 #1]  INFO -- : Skipping file ./usaspending_api/references/v2/views/autocomplete.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 114
    key = f'{toptier_agency["toptier_abbreviation"]}{toptier_agency["toptier_code"]}{toptier_agency["toptier_name"]}'
                                                                                                                    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.222557 #1]  INFO -- : Skipping file ./usaspending_api/references/v2/views/cfda.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 32
    raise NoDataFoundException(f"No grant records found for '{cfda}'.")
                                                                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.293677 #1]  INFO -- : Skipping file ./usaspending_api/references/v2/views/location_autocomplete.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 30
    es_results: ES_Response = self._query_elasticsearch(request.data["search_text"], request.data["limit"])
              ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.344007 #1]  INFO -- : Skipping file ./usaspending_api/references/v2/views/recipients.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 39
    def post(self, request: Request, format=None) -> Response:
                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.348025 #1]  INFO -- : Skipping file ./usaspending_api/references/v2/views/glossary.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 27
    def get(self, request: Request) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.370496 #1]  INFO -- : Skipping file ./usaspending_api/references/v2/views/filter_tree/filter_tree.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
    class FilterTree(metaclass=ABCMeta):
                              ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.388328 #1]  INFO -- : Skipping file ./usaspending_api/references/v2/views/filter_tree/tas.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 34
    def get(self, request: Request, tier1: str = None, tier2: str = None, tier3: str = None) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.394481 #1]  INFO -- : Skipping file ./usaspending_api/references/v2/views/filter_tree/psc_filter_tree.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 69
    def tier_3_search(self, ancestor_array, filter_string) -> list:
                                                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.411321 #1]  INFO -- : Skipping file ./usaspending_api/references/v2/views/filter_tree/psc.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 33
    def get(self, request: Request, tier1: str = None, tier2: str = None, tier3: str = None) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.430872 #1]  INFO -- : Skipping file ./usaspending_api/references/v2/views/filter_tree/naics.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 19
    def get_six_digit_naics_count(self, code: str) -> int:
                                            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.450183 #1]  INFO -- : Skipping file ./usaspending_api/references/v2/views/filter_tree/tas_filter_tree.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 tier_2_search(self, ancestor_array, filter_string) -> list:
                                                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.603703 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/backfill_fabs_unique_transaction_key.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 95
    flush=True,
         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.619480 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/backfill_gtas_defc_as_text_field.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 84
    flush=True,
         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.626361 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/reset_awards_subaward_rollups.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 99
    def __init__(self, message=None, success_logger=print, failure_logger=print):
                                                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.646233 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/management/commands/backdelete_missing_fpds_deletes.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
    """,
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.665976 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/management/commands/generate_cares_act_test_copy_submissions.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
    with ScriptTimer(f"Copy submissions from {self.source_fyp} to {self.destination_fyp}"):
                                                                                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.676468 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/management/commands/resynchronize_fabs_and_fpds.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 87
    GET_BROKER_FABS_IDS_SQL = f"select {FABS_ID_COLUMN} from {BROKER_FABS_TABLE} where is_active is true"
                                                                                                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.687838 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/management/commands/generate_cares_act_test_def_codes.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 69
    with ScriptTimer(f"Generate DEF code File B and C records for FY{self.fiscal_year}P{self.fiscal_period}"):
                                                                                                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.706825 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/management/commands/dev_4109_repair_awards.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 72
    with Timer(f"{__name__}"):
                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.724560 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/management/commands/generate_cares_act_test_monthly_submissions.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 69
    with ScriptTimer(f"Convert FY{self.fiscal_year}Q{self.fiscal_quarter} submissions into monthly submissions"):
                                                                                                              ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.733706 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/management/commands/generate_cares_act_test_helpers.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 245
    logger.info(t.success_message + (f"... {count:,} rows affected" if count is not None else ""))
                                                                  ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.745196 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/backfill_solicitation_date.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 146
    psycopg2.connect(dsn=SPENDING_CONNECTION_STRING) as spending_connection,
                                                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.749973 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/backfill_faba_distinct_award_key.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 84
    flush=True,
         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.768666 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/recompute_all_awards.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 104
    def __init__(self, msg, pipe_output=print):
                                            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.768931 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/backfill_primary_place_of_performance_scope.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 131
    psycopg2.connect(dsn=SPENDING_CONNECTION_STRING) as spending_connection,
                                                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.785963 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/backfill_fabs_indirect_federal_sharing.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 120
    flush=True,
         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.791224 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/backfill_fabpaoc_defc_as_text_field.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 84
    flush=True,
         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.803313 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/backfill_faba_defc_as_text_field.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 84
    flush=True,
         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.822001 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/backfill_submission_window_id.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 90
    print(f"Finished. {TOTAL_UPDATES:,} rows with overall run time: {overall_timer.elapsed_as_string}")
                                                                                                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.823463 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/backfill_business_categories.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 205
    async def update_sql_functions(pool):
            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.842452 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/populate_awards_idv_columns/populate_awards_idv_columns.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 153
    flush=True,
         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.842976 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/job_archive/backfill_per_transaction_exec_comp.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 250
    psycopg2.connect(dsn=SPENDING_CONNECTION_STRING) as spending_connection,
                                                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.864182 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/matview_generator/matview_sql_generator.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 83
    matview_name_with_schema = f"{final_matview_schema_name}.{matview_temp_name}"
                                                                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.868570 #1]  INFO -- : Skipping file ./usaspending_api/database_scripts/matview_generator/chunked_matview_sql_generator.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 114
    final_sql_strings.extend(make_matview_create(f"{matview_schema}.{matview_name}", sql_json["matview_sql"]))
                                                                                  ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:33.981014 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/load_base.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 45
    logger.critical(print(err))
                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.031996 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/drop_table_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 30
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.110377 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/update_file_c_linkages_in_delta.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 32
    spark: SparkSession
         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.114288 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/swap_in_new_table.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
    curr_schema_name: str
                    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.126010 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/load_table_to_delta.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 353
    spark = configure_spark_session(**extra_conf, spark_context=spark)
                                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.133156 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/load_submission.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 89
    logger.info(f"Starting processing for submission {self.submission_id}...")
                                                                            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.143272 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/load_zips_from_broker.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 51
    spark = configure_spark_session(**extra_conf, spark_context=spark)
                                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.151034 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/elasticsearch_indexer_for_spark.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
    def create_controller(self, config: dict) -> AbstractElasticsearchIndexerController:
                                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.174753 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/copy_table_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 41
    async def index_with_concurrency(index_definitions, index_concurrency):
            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.186599 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/load_multiple_submissions.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 87
    f"Controls the number of File C records processed in a single batch.  Theoretically, "
                                                                                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.192898 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/load_transactions_in_delta.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 60
    etl_level: str
             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.215533 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/update_file_c_linkages.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 87
    update_file_path = f"{self.ETL_SQL_FILE_PATH}c_file_linkage/{update_filename}"
                                                                                 ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.223767 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/elasticsearch_indexer.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 108
    logger.info(format_log(f"Starting script\n{'=' * 56}"))
                                                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.232873 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/create_delta_table.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
    TABLE_SPEC = {**ARCHIVE_TABLE_SPEC, **LOAD_TABLE_TABLE_SPEC, **LOAD_QUERY_TABLE_SPEC}
                   ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.251438 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/combine_transaction_search_chunks.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 61
    logger.info(f"Chunk Count: {chunk_count}")
                                            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.261184 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/check_es_doc_duplication.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 33
    _es_client_config: dict = None
                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.282146 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/archive_table_in_delta.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 80
    spark = configure_spark_session(**extra_conf, spark_context=spark)
                                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.289546 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/es_configure.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 64
    self.index_pattern = f"*{settings.ES_AWARDS_NAME_SUFFIX}"
                                                            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.301378 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/load_table_from_delta.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 49
    logger: logging.Logger
          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.308417 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/update_covid_awards_in_delta.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 81
    spark: SparkSession
         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.331428 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/update_postgres_award_with_subaward_counts.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 47
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.338966 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/load_query_to_delta.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 306
    destination_database: str
                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.357334 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/touch_last_period_awards.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 55
    logger.info(f"Using {script_start_time} to determine if awards should be touched.")
                                                                                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.357484 #1]  INFO -- : Skipping file ./usaspending_api/etl/management/commands/update_delta_award_with_subaward_counts.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
    destination_database: str
                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.379331 #1]  INFO -- : Skipping file usaspending_api/etl/award_helpers.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 277
    def execute_database_statement(sql: str, values: Optional[list] = None) -> int:
                                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.399242 #1]  INFO -- : Skipping file ./usaspending_api/etl/elasticsearch_loader_helpers/utilities.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
    name: str
        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.419088 #1]  INFO -- : Skipping file ./usaspending_api/etl/elasticsearch_loader_helpers/index_config.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
    logger.info(format_log(f"Creating index '{index}'", action="Index"))
                                                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.419630 #1]  INFO -- : Skipping file ./usaspending_api/etl/elasticsearch_loader_helpers/controller_for_spark.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 30
    def __init__(self, config: dict, spark: SparkSession, spark_created_by_command: bool = False):
                             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.437836 #1]  INFO -- : Skipping file ./usaspending_api/etl/elasticsearch_loader_helpers/delete_data.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 27
    client: Elasticsearch,
          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.439419 #1]  INFO -- : Skipping file ./usaspending_api/etl/elasticsearch_loader_helpers/transform_data.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 transform_award_data(worker: TaskSpec, records: List[dict]) -> List[dict]:
                                   ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.457319 #1]  INFO -- : Skipping file ./usaspending_api/etl/elasticsearch_loader_helpers/load_data.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 33
    def load_data(worker: TaskSpec, records: List[dict], client: Elasticsearch) -> Tuple[int, int]:
                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.458037 #1]  INFO -- : Skipping file ./usaspending_api/etl/elasticsearch_loader_helpers/extract_data.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 44
    def obtain_min_max_count_sql(config: dict) -> str:
                                       ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.475619 #1]  INFO -- : Skipping file ./usaspending_api/etl/elasticsearch_loader_helpers/aggregate_key_functions.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
    def award_recipient_agg_key(record: dict) -> str:
                                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.493906 #1]  INFO -- : Skipping file ./usaspending_api/etl/elasticsearch_loader_helpers/controller.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 36
    def init_shared_abort(a: Event) -> None:
                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.522850 #1]  INFO -- : Skipping file ./usaspending_api/etl/transaction_loaders/fpds_loader.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
    logger.debug(f"Obtained these delete record IDs: [{ids_to_delete}]")
                                                                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.585294 #1]  INFO -- : Skipping file ./usaspending_api/etl/transaction_loaders/tests/test_fpds_loader.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 65
    **transaction_fpds_nonboolean_columns,
     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.604166 #1]  INFO -- : Skipping file ./usaspending_api/etl/transaction_loaders/tests/integration/test_fpds_loader.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
    **transaction_fpds_nonboolean_columns,
     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.624668 #1]  INFO -- : Skipping file ./usaspending_api/etl/transaction_loaders/tests/integration/test_fabs_loader.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 19
    "afa_generated_unique": f"{trx_id}",
                                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.718681 #1]  INFO -- : Skipping file ./usaspending_api/etl/submission_loader_helpers/disaster_emergency_fund_codes.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 9
    def get_disaster_emergency_fund(row: dict) -> Optional[dict]:
                                       ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.728338 #1]  INFO -- : Skipping file ./usaspending_api/etl/submission_loader_helpers/treasury_appropriation_account.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 65
    return None, f"TAS Account Number (tas_lookup.account_num) '{account_num}' not found in Broker"
                                                                                                  ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.759445 #1]  INFO -- : Skipping file ./usaspending_api/etl/submission_loader_helpers/file_b.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 54
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.763041 #1]  INFO -- : Skipping file ./usaspending_api/etl/submission_loader_helpers/program_activities.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 84
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.779247 #1]  INFO -- : Skipping file ./usaspending_api/etl/submission_loader_helpers/file_a.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 66
    logger.info(f"Skipped {count:,} rows due to {tas}")
                                                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.780464 #1]  INFO -- : Skipping file ./usaspending_api/etl/submission_loader_helpers/submission_ids.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
    since_sql = f"and s.updated_at >= ''{since_datetime}''::timestamp" if since_datetime else ""
                                                                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.814356 #1]  INFO -- : Skipping file ./usaspending_api/etl/submission_loader_helpers/submission_attributes.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 57
    raise RuntimeError(f"Missing DABS Window record necessary for {submission_id}")
                                                                                 ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.814958 #1]  INFO -- : Skipping file ./usaspending_api/etl/submission_loader_helpers/object_class.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
    raise ValueError(f"Invalid format for object_class={object_class}.")
                                                                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.831313 #1]  INFO -- : Skipping file ./usaspending_api/etl/submission_loader_helpers/file_c.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 47
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.846016 #1]  INFO -- : Skipping file ./usaspending_api/etl/operations/treasury_appropriation_account/update_agencies.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 54
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.862290 #1]  INFO -- : Skipping file ./usaspending_api/etl/operations/federal_account/update_agency.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 57
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.898551 #1]  INFO -- : Skipping file ./usaspending_api/etl/operations/subaward/update_city_county.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 65
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.951440 #1]  INFO -- : Skipping file ./usaspending_api/routers/replicas.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
    def db_for_read(self, model, **hints) -> str:
                                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:34.990321 #1]  INFO -- : Skipping file usaspending_api/common/tracing.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
    def _activate_trace_filter(filter_class: Callable) -> None:
                                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.006461 #1]  INFO -- : Skipping file ./usaspending_api/common/management/commands/matview_runner.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 102
    logger.warning(f"Clearing dir {dir_path}")
                                            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.202174 #1]  INFO -- : Skipping file ./usaspending_api/common/management/commands/check_for_endpoint_documentation.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 21
SyntaxError: only named arguments may follow *expression


I, [2024-12-23T17:47:35.255145 #1]  INFO -- : Skipping file ./usaspending_api/common/elasticsearch/elasticsearch_sql_helpers.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
    def verify_database_view_exists(view_name: str, force_close_conns: bool = False) -> bool:
                                             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.266968 #1]  INFO -- : Skipping file ./usaspending_api/common/elasticsearch/client.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 instantiate_elasticsearch_client() -> Elasticsearch:
                                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.284042 #1]  INFO -- : Skipping file ./usaspending_api/common/elasticsearch/search_wrappers.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
    def __init__(self, **kwargs) -> None:
                                 ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.319679 #1]  INFO -- : Skipping file usaspending_api/common/cache_decorator.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
    def contains_queryset(data: Any) -> bool:
                              ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.341388 #1]  INFO -- : Skipping file ./usaspending_api/common/data_connectors/async_sql_query.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
    async def async_run_select(sql):
            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.362228 #1]  INFO -- : Skipping file usaspending_api/common/views.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 19
    return {**context}
             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.466182 #1]  INFO -- : Skipping file usaspending_api/common/api_request_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 29
    return {**date_start, **date_end}
             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.505527 #1]  INFO -- : Skipping file ./usaspending_api/common/helpers/dict_helpers.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 87
    def update_list_of_dictionaries(to_update: List[dict], update_with: List[dict], common_term: str) -> dict:
                                             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.527415 #1]  INFO -- : Skipping file ./usaspending_api/common/helpers/spark_helpers.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_active_spark_context() -> Optional[SparkContext]:
                                   ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.537564 #1]  INFO -- : Skipping file ./usaspending_api/common/helpers/s3_helpers.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 19
    def _get_boto3_s3_client(region_name=CONFIG.AWS_REGION) -> BaseClient:
                                                            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.570491 #1]  INFO -- : Skipping file ./usaspending_api/common/helpers/date_helper.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 102
    def datetime_is_ge(first_datetime: datetime, second_datetime: datetime) -> bool:
                                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.579194 #1]  INFO -- : Skipping file ./usaspending_api/common/helpers/api_helper.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 100
    def get_award_type_and_mapping_values(award_type_codes: List[str], is_subaward: bool) -> Tuple[str, List[str]]:
                                                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.613281 #1]  INFO -- : Skipping file ./usaspending_api/common/helpers/fiscal_year_helpers.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
    def get_fiscal_year_end_datetime(fiscal_year: int) -> FiscalDateTime:
                                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.624916 #1]  INFO -- : Skipping file ./usaspending_api/common/helpers/generic_helper.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 36
    def convert_string_to_datetime(input: str) -> datetime.datetime:
                                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.646702 #1]  INFO -- : Skipping file ./usaspending_api/common/helpers/etl_helpers.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 57
    logger.info(f"Running {file_name}")
                                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.680653 #1]  INFO -- : Skipping file ./usaspending_api/common/helpers/endpoint_documentation.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 113
    f"{qualified_name} ({url}) has no docstring.  The docstring is used to provide documentation in "
                                                                                                    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.698011 #1]  INFO -- : Skipping file ./usaspending_api/common/helpers/sql_helpers.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
    def get_database_dsn_string(db_alias: str = DEFAULT_DB_ALIAS):
                                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.713108 #1]  INFO -- : Skipping file ./usaspending_api/common/helpers/orm_helpers.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 111
    prefix = f"{relation_name}__" if relation_name else ""
                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.729316 #1]  INFO -- : Skipping file ./usaspending_api/common/helpers/aws_helpers.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
    access_key: str = None,
              ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.743930 #1]  INFO -- : Skipping file ./usaspending_api/common/helpers/timing_helpers.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
    def timer(msg="", logging_func=print):
                                       ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.747219 #1]  INFO -- : Skipping file ./usaspending_api/common/helpers/download_csv_strategies.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 40
    source_sql: str,
              ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.765120 #1]  INFO -- : Skipping file usaspending_api/common/experimental_api_flags.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
    def is_experimental_elasticsearch_api(request: Request) -> bool:
                                                 ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.785988 #1]  INFO -- : Skipping file usaspending_api/common/query_with_filters.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 33
    def generate_elasticsearch_query(cls, filter_values: List[str], query_type: _QueryType, **options) -> ES_Q:
                                                       ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.791452 #1]  INFO -- : Skipping file usaspending_api/common/pagination.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
    request_parameters = {**request.data, **request.query_params}
                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.803438 #1]  INFO -- : Skipping file ./usaspending_api/common/etl/postgres/etl_query.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 __init__(self, sql: str) -> None:
                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.816370 #1]  INFO -- : Skipping file ./usaspending_api/common/etl/postgres/etl_query_file.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
    def __init__(self, file_path: str, **sql_kwargs: Any) -> None:
                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.820120 #1]  INFO -- : Skipping file ./usaspending_api/common/etl/postgres/mixins.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
    def _delete_update_insert_rows(self, what: str, source: ETLObjectBase, destination: ETLObjectBase):
                                             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.833863 #1]  INFO -- : Skipping file ./usaspending_api/common/etl/postgres/etl_temporary_table.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
    table_name: str,
              ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.836737 #1]  INFO -- : Skipping file ./usaspending_api/common/etl/postgres/etl_table.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
    table_name: str,
              ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.849731 #1]  INFO -- : Skipping file ./usaspending_api/common/etl/postgres/etl_dblink_table.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
    def __init__(self, table_name: str, dblink_name: str, data_types: DataTypes, schema_name: str = "public") -> None:
                                 ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.854611 #1]  INFO -- : Skipping file ./usaspending_api/common/etl/postgres/etl_writable_object_base.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 8
    class ETLWritableObjectBase(ETLObjectBase, metaclass=ABCMeta):
                                                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.868492 #1]  INFO -- : Skipping file ./usaspending_api/common/etl/postgres/primatives.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 make_cast_column_list(columns: List[str], data_types: DataTypes, alias: Optional[str] = None) -> Composed:
                                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.872224 #1]  INFO -- : Skipping file ./usaspending_api/common/etl/postgres/introspection.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 24
    def _get_whatever(table_name: str, schema_name: str, dblink_name: str, sql: str, data_types: DataTypes):
                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.887484 #1]  INFO -- : Skipping file ./usaspending_api/common/etl/postgres/etl_object_base.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
    class ETLObjectBase(metaclass=ABCMeta):
                                 ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.903983 #1]  INFO -- : Skipping file ./usaspending_api/common/etl/postgres/operations.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
    def _get_shared_columns(source_columns: List[str], destination_columns: List[str]) -> List[str]:
                                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.921628 #1]  INFO -- : Skipping file ./usaspending_api/common/etl/spark.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 81
    spark: SparkSession,
         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.923198 #1]  INFO -- : Skipping file usaspending_api/common/csv_helpers.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 35
    file_path: str,
             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.939733 #1]  INFO -- : Skipping file usaspending_api/common/recipient_lookups.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 86
    def obtain_recipient_level(recipient_record: dict) -> str:
                                               ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.939799 #1]  INFO -- : Skipping file usaspending_api/common/csv_stream_s3_to_pg.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 35
    def _get_boto3_s3_client() -> BaseClient:
                               ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.967515 #1]  INFO -- : Skipping file usaspending_api/common/logging.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 162
    def format(self, record: logging.LogRecord) -> str:
                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.978918 #1]  INFO -- : Skipping file ./usaspending_api/common/sqs/sqs_work_dispatcher.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 248
    message_transformer=lambda msg: msg.body,
                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.990081 #1]  INFO -- : Skipping file ./usaspending_api/common/sqs/queue_exceptions.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
    class AbstractQueueError(Exception, metaclass=ABCMeta):
                                                 ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:35.997779 #1]  INFO -- : Skipping file ./usaspending_api/common/sqs/sqs_handler.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 36
    _FAKE_QUEUE_URL = f"https://fake-us-region.queue.amazonaws.com/{_FAKE_AWS_ACCT}/{LOCAL_FAKE_QUEUE_NAME}"
                                                                                                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.019048 #1]  INFO -- : Skipping file ./usaspending_api/common/sqs/sqs_job_logging.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 34
    log_dict["message_type"] = f"{job_type}Error"
                                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.061333 #1]  INFO -- : Skipping file ./usaspending_api/common/calculations/file_b.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 _obligation_columns() -> Dict[str, Union[str, F]]:
                              ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.105553 #1]  INFO -- : Skipping file ./usaspending_api/common/validator/tinyshield.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 262
    item["value"] = ...
                    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.125023 #1]  INFO -- : Skipping file ./usaspending_api/common/validator/helpers.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 182
    raise UnprocessableEntityException(f"Required object fields: {list(rule['object_keys'].keys())}")
                                                                                                   ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.333224 #1]  INFO -- : Skipping file ./usaspending_api/common/validator/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 12
    def update_model_in_list(model_list: list, model_name: str, new_dict: dict, replace: bool = False) -> list:
                                       ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.422476 #1]  INFO -- : Skipping file usaspending_api/common/data_classes.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 8
    page: int
        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.424511 #1]  INFO -- : Skipping file usaspending_api/common/serializers.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 85
    **kwargs,
     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.455402 #1]  INFO -- : Skipping file ./usaspending_api/reporting/management/commands/populate_reporting_agency_overview.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 72
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.494692 #1]  INFO -- : Skipping file ./usaspending_api/reporting/v2/views/agencies/overview.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 171
    *(
    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.533073 #1]  INFO -- : Skipping file ./usaspending_api/reporting/v2/views/agencies/toptier_code/overview.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 136
    *(
    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.599511 #1]  INFO -- : Skipping file ./usaspending_api/reporting/v2/views/agencies/toptier_code/differences.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 61
    def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.762075 #1]  INFO -- : Skipping file ./usaspending_api/submissions/management/commands/rm_submission.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
    raise RuntimeError(f"Broker submission ID {submission_id} does not exist")
                                                                            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.798328 #1]  INFO -- : Skipping file ./usaspending_api/submissions/management/commands/reveal_dabs_submission_window_schedule.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 36
    logger.info(f"Revealing schedule {schedule.id} - Year {year}, Month: {month}, Quarter: {is_quarter}")
                                                                                                       ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.819216 #1]  INFO -- : Skipping file usaspending_api/submissions/helpers.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 get_last_closed_submission_date(is_quarter: Optional[bool] = None) -> Optional[dict]:
                                                  ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.827476 #1]  INFO -- : Skipping file usaspending_api/submissions/dabs_loader_queue_helpers.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 29
    def add_submission_ids(submission_ids: List[int]) -> int:
                                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.859878 #1]  INFO -- : Skipping file ./usaspending_api/submissions/models/submission_attributes.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 30
    f"TOPTIER {self.toptier_code} "
                                  ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.937517 #1]  INFO -- : Skipping file ./usaspending_api/data/gsdm_maps.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 65
    "case_2_map": {**change_reasons},
                    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:36.994865 #1]  INFO -- : Skipping file ./usaspending_api/accounts/models/treasury_appropriation_account.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 tas_rendering_label_to_component_dictionary(tas_rendering_label) -> dict:
                                                                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.019663 #1]  INFO -- : Skipping file ./usaspending_api/accounts/models/federal_account.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 30
    def fa_rendering_label_to_component_dictionary(fa_rendering_label) -> dict:
                                                                       ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.253162 #1]  INFO -- : Skipping file ./usaspending_api/accounts/views/federal_accounts_v2.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 493
    f"Cannot find Federal Account with the code of '{federal_account_code_param}'"
                                                                                 ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.319804 #1]  INFO -- : Skipping file ./usaspending_api/accounts/v2/filters/account_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 70
    AWARD_URL = f"{HOST}/award/" if "localhost" in HOST else f"https://{HOST}/award/"
                               ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.424056 #1]  INFO -- : Skipping file ./usaspending_api/broker/management/commands/load_fpds_transactions.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 45
    def load_fpds_incrementally(self, date: Optional[datetime], chunk_size: int = CHUNK_SIZE) -> None:
                                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.563558 #1]  INFO -- : Skipping file ./usaspending_api/broker/management/commands/fabs_nightly_loader.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 60
    f"Unable to find last_load_date in table {ExternalDataLoadDate.objects.model._meta.db_table} "
                                                                                                 ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.572862 #1]  INFO -- : Skipping file ./usaspending_api/broker/management/commands/derive_office_names.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 29
    logger.critical(print(err))
                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.651806 #1]  INFO -- : Skipping file ./usaspending_api/broker/helpers/store_deleted_fabs.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
    file_name = f"{datetime.now(timezone.utc).strftime('%Y-%m-%d')}_FABSdeletions_{seconds}.csv"
                                                                                               ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.736449 #1]  INFO -- : Skipping file ./usaspending_api/broker/helpers/upsert_fabs_transactions.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 40
    logger.info(f"Fetching {i + 1}-{max_index} out of {total_uid_count} records from source table")
                                                                                                 ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.744963 #1]  INFO -- : Skipping file ./usaspending_api/broker/helpers/last_load_date.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 32
    logger.warning(f"No record of a previous run for `{key}` was found!")
                                                                       ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.779811 #1]  INFO -- : Skipping file ./usaspending_api/broker/helpers/delete_fabs_transactions.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
    with timer(f"deleting {len(ids_to_delete)} stale FABS data", logger.info):
                                                              ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.887103 #1]  INFO -- : Skipping file ./usaspending_api/broker/delta_models/broker_zips.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
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.910868 #1]  INFO -- : Skipping file usaspending_api/config/__init__.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
    def _parse_config_arg() -> dict:
                            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.925094 #1]  INFO -- : Skipping file ./usaspending_api/config/envs/default.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 35
    _PROJECT_ROOT_DIR: pathlib.Path = pathlib.Path(__file__).parent.parent.parent.parent.resolve()
                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.930048 #1]  INFO -- : Skipping file usaspending_api/config/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 25
    def unveil(possible_secret_str: Union[Any, SecretStr]) -> Any:
                                  ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.936465 #1]  INFO -- : Skipping file ./usaspending_api/config/envs/production.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 24
    ENV_CODE: ClassVar[str] = "prd"
            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.944512 #1]  INFO -- : Skipping file ./usaspending_api/config/envs/sandbox.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 24
    ENV_CODE: ClassVar[str] = "sbx"
            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.952521 #1]  INFO -- : Skipping file ./usaspending_api/config/envs/local.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
    ENV_CODE: ClassVar[str] = "lcl"
            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.966838 #1]  INFO -- : Skipping file ./usaspending_api/config/envs/qat.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 24
    ENV_CODE: ClassVar[str] = "qat"
            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:37.969000 #1]  INFO -- : Skipping file ./usaspending_api/config/envs/staging.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 24
    ENV_CODE: ClassVar[str] = "stg"
            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.006759 #1]  INFO -- : Skipping file ./usaspending_api/idvs/v2/views/activity.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 150
    def _parse_and_validate_request(request: dict) -> dict:
                                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.017215 #1]  INFO -- : Skipping file ./usaspending_api/idvs/v2/views/awards.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 189
    def _parse_and_validate_request(request: dict) -> dict:
                                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.024650 #1]  INFO -- : Skipping file ./usaspending_api/idvs/v2/views/count/federal_account.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 56
    def _parse_and_validate_request(requested_award: str, request_data: dict) -> dict:
                                                   ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.043562 #1]  INFO -- : Skipping file ./usaspending_api/idvs/v2/views/funding_rollup.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 73
    def _business_logic(request_data: dict) -> OrderedDict:
                                    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.048342 #1]  INFO -- : Skipping file ./usaspending_api/idvs/v2/views/accounts.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 94
    def _business_logic(request_data: dict) -> list:
                                    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.065822 #1]  INFO -- : Skipping file ./usaspending_api/idvs/v2/views/amounts.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 47
    def fetch_account_details_idv(award_id, award_id_column) -> dict:
                                                             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.078552 #1]  INFO -- : Skipping file ./usaspending_api/idvs/v2/views/funding.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 151
    def _parse_and_validate_request(request_data: dict) -> dict:
                                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.116351 #1]  INFO -- : Skipping file ./usaspending_api/awards/management/commands/reload_views.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 38
    self.logger.info(f"Reloading {view_name}")
                                            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.154371 #1]  INFO -- : Skipping file ./usaspending_api/awards/management/commands/generate_unlinked_awards_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 94
    self.spark = configure_spark_session(**extra_conf, spark_context=self.spark)
                                                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.224775 #1]  INFO -- : Skipping file ./usaspending_api/awards/models/transaction_normalized.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 157
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.242845 #1]  INFO -- : Skipping file ./usaspending_api/awards/models/transaction_fabs.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 191
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.247232 #1]  INFO -- : Skipping file ./usaspending_api/awards/models/transaction_fpds.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 374
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.330947 #1]  INFO -- : Skipping file ./usaspending_api/awards/delta_models/awards.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 57
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.342687 #1]  INFO -- : Skipping file ./usaspending_api/awards/delta_models/broker_subawards.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 160
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.345041 #1]  INFO -- : Skipping file ./usaspending_api/awards/delta_models/financial_accounts_by_awards.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 64
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.415609 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/lookups/matview_lookups.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 99
    **grant_award_mapping,
     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.426862 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/lookups/lookups.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 79
    **grant_award_mapping,
     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.443957 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/lookups/elasticsearch_lookups.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 59
    **base_mapping,
     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.463969 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/views/awards.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 _parse_and_validate_request(self, provided_award_id: str) -> dict:
                                                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.476297 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/views/count/federal_accounts_count.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 24
    def _parse_and_validate_request(self, provided_award_id: str) -> dict:
                                                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.503423 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/views/count/subaward_count.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 24
    def _parse_and_validate_request(self, provided_award_id: str) -> dict:
                                                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.513532 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/views/count/transaction_count.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 24
    def _parse_and_validate_request(self, provided_award_id: str) -> dict:
                                                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.524745 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/views/funding_rollup.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 51
    def _business_logic(request_data: dict) -> OrderedDict:
                                    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.525430 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/views/transactions.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 58
    def _parse_and_validate_request(self, request_dict: dict) -> dict:
                                                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.538505 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/views/accounts.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 75
    def _business_logic(request_data: dict) -> list:
                                    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.550138 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/views/funding.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 109
    def _business_logic(request_data: dict) -> list:
                                    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.577960 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/filters/location_filter_geocode.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 geocode_filter_locations(scope: str, values: list) -> Q:
                                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.588294 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/filters/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 272
    regex = f"^({'|'.join([str(elem) for elem in require])}).*"
                                                              ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.591472 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/filters/sub_award.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 28
    def geocode_filter_subaward_locations(scope: str, values: list) -> Q:
                                               ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.607542 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/filters/filter_helpers.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 129
    obl_bin_filter = {f"{'sub_' if is_subaward else ''}total_obl_bin__in": set(bins)}
                                                                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.643532 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/data_layer/orm.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 construct_assistance_response(requested_award_dict: dict) -> OrderedDict:
                                                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.653961 #1]  INFO -- : Skipping file ./usaspending_api/awards/v2/data_layer/orm_mappers.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 44
    *OFFICER_FIELDS.items(),
    ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:38.747768 #1]  INFO -- : Skipping file usaspending_api/settings.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 127
    f"https://files{'-nonprod' if DOWNLOAD_ENV not in ('production', 'staging') else ''}.usaspending.gov",
                                                                                                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.014079 #1]  INFO -- : Skipping file ./usaspending_api/search/filters/elasticsearch/tas.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
    def generate_elasticsearch_query(cls, filter_values, query_type: _QueryType, **options) -> ES_Q:
                                                                   ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.036063 #1]  INFO -- : Skipping file ./usaspending_api/search/filters/elasticsearch/filter.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
    class _Filter(metaclass=ABCMeta):
                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.194546 #1]  INFO -- : Skipping file ./usaspending_api/search/filters/elasticsearch/psc.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 9
    def generate_elasticsearch_query(cls, filter_values, query_type: _QueryType, **options) -> ES_Q:
                                                                   ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.209280 #1]  INFO -- : Skipping file ./usaspending_api/search/filters/elasticsearch/naics.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
    def generate_elasticsearch_query(cls, filter_values, query_type: _QueryType, **options) -> ES_Q:
                                                                   ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.235496 #1]  INFO -- : Skipping file ./usaspending_api/search/filters/elasticsearch/HierarchicalFilter.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
    def _query_string(cls, require, exclude) -> str:
                                             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.235790 #1]  INFO -- : Skipping file ./usaspending_api/search/filters/postgres/defc.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 63
    def_codes=",".join([f"'{code}'" for code in filter_values])
                                  ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.259413 #1]  INFO -- : Skipping file ./usaspending_api/search/filters/postgres/tas.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
    raise InvalidParameterException(f"tas_codes must be an array or object")
                                                                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.283459 #1]  INFO -- : Skipping file ./usaspending_api/search/filters/postgres/HierarchicalFilter.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 47
    code: str
        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.295496 #1]  INFO -- : Skipping file ./usaspending_api/search/filters/mixins/psc.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
    f"PSC codes must be one to four character uppercased alphanumeric strings.  "
                                                                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.308448 #1]  INFO -- : Skipping file ./usaspending_api/search/filters/time_period/query_types.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
    def __init__(self, default_start_date: str, default_end_date: str):
                                         ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.309070 #1]  INFO -- : Skipping file ./usaspending_api/search/filters/time_period/decorators.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 __init__(self, time_period_obj: AbstractTimePeriod, query_type: _QueryType):
                                      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.323619 #1]  INFO -- : Skipping file ./usaspending_api/search/filters/time_period/time_period.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 filter_value(self) -> Dict[str, str]:
                           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.340101 #1]  INFO -- : Skipping file ./usaspending_api/search/helpers/spending_by_category_helpers.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
    def fetch_agency_tier_id_by_agency(agency_name: str, is_subtier: bool = False) -> Optional[int]:
                                                  ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.368356 #1]  INFO -- : Skipping file ./usaspending_api/search/delta_models/subaward_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 216
    **{k: v["postgres"] for k, v in SUBAWARD_SEARCH_COLUMNS.items()},
     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.377077 #1]  INFO -- : Skipping file ./usaspending_api/search/delta_models/award_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 163
    """
      ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.402005 #1]  INFO -- : Skipping file ./usaspending_api/search/v2/views/spending_by_award.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 64
    **{award_type: CONTRACT_SOURCE_LOOKUP for award_type in contract_type_mapping},
     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.412437 #1]  INFO -- : Skipping file ./usaspending_api/search/v2/views/spending_over_time.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 65
    def validate_request_data(json_data: dict) -> Tuple[dict, dict]:
                                       ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.417754 #1]  INFO -- : Skipping file ./usaspending_api/search/v2/views/spending_by_geography.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 64
    agg_key: Optional[str]
           ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.425804 #1]  INFO -- : Skipping file ./usaspending_api/search/v2/views/spending_by_award_count.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 105
    def handle_subawards(filters: dict) -> dict:
                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.432181 #1]  INFO -- : Skipping file ./usaspending_api/search/v2/views/search_elasticsearch.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 102
    f"Sort value is not currently supported: {payload_sort_key}. Allowed values are: [{', '.join(permitted_sort_values.keys())}]"
                                                                                                                                ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.437009 #1]  INFO -- : Skipping file ./usaspending_api/search/v2/views/spending_by_category_views/spending_by_industry_codes.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 27
    class AbstractIndustryCodeViewSet(AbstractSpendingByCategoryViewSet, metaclass=ABCMeta):
                                                                                  ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.448176 #1]  INFO -- : Skipping file ./usaspending_api/search/v2/views/spending_by_category_views/spending_by_federal_account.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 19
    class AbstractAccountViewSet(AbstractSpendingByCategoryViewSet, metaclass=ABCMeta):
                                                                             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.449668 #1]  INFO -- : Skipping file ./usaspending_api/search/v2/views/spending_by_category_views/spending_by_recipient.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
    def _get_recipient_id(row: list) -> str:
                             ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.466308 #1]  INFO -- : Skipping file ./usaspending_api/search/v2/views/spending_by_category_views/spending_by_category.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
    name: str
        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.467031 #1]  INFO -- : Skipping file ./usaspending_api/search/v2/views/spending_by_category_views/spending_by_agency_types.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
    class AbstractAgencyViewSet(AbstractSpendingByCategoryViewSet, metaclass=ABCMeta):
                                                                            ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.484032 #1]  INFO -- : Skipping file ./usaspending_api/search/v2/views/spending_by_category_views/spending_by_locations.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 30
    def _combine_dicts_by_keys(dicts, keys, sum_key) -> List[Dict]:
                                                     ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.497089 #1]  INFO -- : Skipping file ./usaspending_api/search/v2/views/spending_by_category.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 54
    def post(self, request: Request) -> Response:
                          ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.514718 #1]  INFO -- : Skipping file ./usaspending_api/search/v2/views/new_awards_over_time.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 111
    "time_period": {"fiscal_year": f"{x}"},
                                        ^
SyntaxError: invalid syntax


I, [2024-12-23T17:47:39.534805 #1]  INFO -- : Skipping file ./usaspending_api/search/v2/elasticsearch_helper.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 168
    def get_number_of_unique_terms_for_transactions(filter_query: ES_Q, field: str) -> int:
                                                                ^
SyntaxError: invalid syntax
7
pep8
pep8 engine documentation
View output
csv_downloads/ .github/ bulk_downloads/ manage.py requirements/ usaspending_api/disaster/management/ usaspending_api/disaster/models/ usaspending_api/disaster/delta_models/ usaspending_api/disaster/__init__.py usaspending_api/disaster/v2/ usaspending_api/conftest.py usaspending_api/conftest_helpers.py usaspending_api/bulk_download/__init__.py usaspending_api/bulk_download/v2/ usaspending_api/bulk_download/config/ usaspending_api/recipient/management/ usaspending_api/recipient/delta_models/ usaspending_api/recipient/__init__.py usaspending_api/recipient/v2/ usaspending_api/recipient/models.py usaspending_api/download/management/ usaspending_api/download/models/ usaspending_api/download/filestreaming/ usaspending_api/download/helpers/ usaspending_api/download/lookups.py usaspending_api/download/delta_models/ usaspending_api/download/__init__.py usaspending_api/download/v2/ usaspending_api/download/models.py usaspending_api/download/download_utils.py usaspending_api/download/sql/ usaspending_api/agency/management/ usaspending_api/agency/__init__.py usaspending_api/agency/v2/ usaspending_api/views.py usaspending_api/transactions/agnostic_transaction_deletes.py usaspending_api/transactions/agnostic_transaction_loader.py usaspending_api/transactions/management/ usaspending_api/transactions/models/ usaspending_api/transactions/delta_models/ usaspending_api/transactions/apps.py usaspending_api/transactions/transaction_delete_journal_helpers.py usaspending_api/transactions/__init__.py usaspending_api/transactions/loader_functions.py usaspending_api/spending_explorer/__init__.py usaspending_api/spending_explorer/v2/ usaspending_api/templates/ usaspending_api/tests/ usaspending_api/references/management/ usaspending_api/references/abbreviations.py usaspending_api/references/helpers.py usaspending_api/references/models/ usaspending_api/references/fixtures/ usaspending_api/references/constants.py usaspending_api/references/apps.py usaspending_api/references/__init__.py usaspending_api/references/v2/ usaspending_api/references/v1/ usaspending_api/references/account_helpers.py usaspending_api/database_scripts/job_archive/ usaspending_api/database_scripts/matviews/ usaspending_api/database_scripts/servers/ usaspending_api/database_scripts/extensions/ usaspending_api/database_scripts/etl/ usaspending_api/database_scripts/populate_awards_idv_columns/ usaspending_api/database_scripts/matview_generator/ usaspending_api/database_scripts/__init__.py usaspending_api/etl/csv_data_reader.py usaspending_api/etl/broker_etl_helpers.py usaspending_api/etl/management/ usaspending_api/etl/award_helpers.py usaspending_api/etl/helpers.py usaspending_api/etl/elasticsearch_loader_helpers/ usaspending_api/etl/apps.py usaspending_api/etl/transaction_loaders/ usaspending_api/etl/__init__.py usaspending_api/etl/submission_loader_helpers/ usaspending_api/etl/operations/ usaspending_api/static_doc_files/docs/ usaspending_api/static_doc_files/css/ usaspending_api/static_doc_files/img/ usaspending_api/financial_activities/apps.py usaspending_api/financial_activities/__init__.py usaspending_api/financial_activities/models.py usaspending_api/routers/ usaspending_api/common/api_versioning.py usaspending_api/common/tracing.py usaspending_api/common/management/ usaspending_api/common/long_to_terse.py usaspending_api/common/zip.py usaspending_api/common/elasticsearch/ usaspending_api/common/cache_decorator.py usaspending_api/common/data_connectors/ usaspending_api/common/mixins.py usaspending_api/common/views.py usaspending_api/common/threaded_data_loader.py usaspending_api/common/api_request_utils.py usaspending_api/common/custom_django_fields.py usaspending_api/common/retrieve_file_from_uri.py usaspending_api/common/helpers/ usaspending_api/common/matview_manager.py usaspending_api/common/experimental_api_flags.py usaspending_api/common/query_with_filters.py usaspending_api/common/pagination.py usaspending_api/common/etl/ usaspending_api/common/csv_helpers.py usaspending_api/common/csv_stream_s3_to_pg.py usaspending_api/common/recipient_lookups.py usaspending_api/common/logging.py usaspending_api/common/containers.py usaspending_api/common/sqs/ usaspending_api/common/__init__.py usaspending_api/common/exceptions.py usaspending_api/common/calculations/ usaspending_api/common/renderers.py usaspending_api/common/validator/ usaspending_api/common/models.py usaspending_api/common/operations_reporter.py usaspending_api/common/data_classes.py usaspending_api/common/cache.py usaspending_api/common/serializers.py usaspending_api/common/custom_exception_handler.py usaspending_api/reporting/management/ usaspending_api/reporting/apps.py usaspending_api/reporting/__init__.py usaspending_api/reporting/v2/ usaspending_api/reporting/models.py usaspending_api/logs/ usaspending_api/__init__.py usaspending_api/wsgi.py usaspending_api/submissions/management/ usaspending_api/submissions/views.py usaspending_api/submissions/helpers.py usaspending_api/submissions/dabs_loader_queue_helpers.py usaspending_api/submissions/models/ usaspending_api/submissions/apps.py usaspending_api/submissions/__init__.py usaspending_api/submissions/urls.py usaspending_api/submissions/serializers.py usaspending_api/data/ usaspending_api/accounts/urls_federal_obligations.py usaspending_api/accounts/urls_federal_account.py usaspending_api/accounts/urls_financial_spending.py usaspending_api/accounts/urls_financial_balances.py usaspending_api/accounts/urls_budget_authority.py usaspending_api/accounts/helpers.py usaspending_api/accounts/models/ usaspending_api/accounts/views/ usaspending_api/accounts/urls_federal_accounts_v2.py usaspending_api/accounts/apps.py usaspending_api/accounts/__init__.py usaspending_api/accounts/v2/ usaspending_api/accounts/urls.py usaspending_api/accounts/urls_tas.py usaspending_api/accounts/serializers.py usaspending_api/urls.py usaspending_api/broker/management/ usaspending_api/broker/helpers/ usaspending_api/broker/lookups.py usaspending_api/broker/delta_models/ usaspending_api/broker/__init__.py usaspending_api/broker/models.py usaspending_api/config/__init__.py usaspending_api/config/utils.py usaspending_api/config/envs/ usaspending_api/idvs/apps.py usaspending_api/idvs/__init__.py usaspending_api/idvs/v2/ usaspending_api/awards/management/ usaspending_api/awards/models/ usaspending_api/awards/delta_models/ usaspending_api/awards/serializers_v2/ usaspending_api/awards/apps.py usaspending_api/awards/__init__.py usaspending_api/awards/v2/ usaspending_api/awards/v1/ usaspending_api/awards/serializers.py usaspending_api/settings.py usaspending_api/search/elasticsearch/ usaspending_api/search/models/ usaspending_api/search/filters/ usaspending_api/search/helpers/ usaspending_api/search/delta_models/ usaspending_api/search/__init__.py usaspending_api/search/v2/ __init__.py setup.py config/
8
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/readme.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/usaspending_api/references/management/commands/cfda_sample.csv' at line 4 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/usaspending_api/references/management/commands/PSC_Data_June_2019_Edition_FINAL_6-20-19+DRW.xlsx' 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/usaspending_api/static_doc_files/img/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/usaspending_api/data/DEFC ABC Pd 6 FY18.xlsx' 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/usaspending_api/data/budget_authority/quarterly/1203932150.xls' 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/usaspending_api/data/budget_authority/quarterly/1203932159.xls' 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/usaspending_api/data/budget_authority/quarterly/1203932149.xls' 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/usaspending_api/data/budget_authority/quarterly/1203932148.xls' 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/usaspending_api/data/budget_authority/quarterly/1203932154.xls' 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/usaspending_api/data/budget_authority/quarterly/1203932156.xls' 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/usaspending_api/data/budget_authority/quarterly/1203932157.xls' 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/usaspending_api/data/budget_authority/quarterly/1203932160.xls' 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/usaspending_api/data/budget_authority/broker_rules_fr_entity.xlsx' 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/usaspending_api/data/Data_Dictionary_Crosswalk.xlsx' 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/usaspending_api/data/ref_city_county_code.csv' at line 2710 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/usaspending_api/data/testing_data/budget_authority/quarterly/1203932156.xls' 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/usaspending_api/data/testing_data/budget_authority/broker_rules_fr_entity.xlsx' 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/usaspending_api/data/testing_data/USAspendingGlossary.xlsx' 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/usaspending_api/data/naics_archive/2-6 digit 2012 Code File.xlsx' 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/usaspending_api/data/naics_archive/2-6 digit 2017 Code File.xlsx' 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/usaspending_api/data/naics_archive/2-6 digit 2002 Code File.xlsx' 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/usaspending_api/data/naics_archive/2-6 digit 2007 Code File.xlsx' 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/usaspending_api/data/broker_rules_for_fr_entity.xlsx' 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/usaspending_api/data/Basic-API-Training.pdf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: 922 files indexed
ERROR: Unable to parse file: /code/usaspending_api/disaster/v2/views/spending_by_geography.py
ERROR: Parse error at line 36 column 11:

   25: "district"
   26:     STATE = "state"
   27: 
   28: 
   29: class SpendingByGeographyViewSet(DisasterBase):
   30:     """Spending by Recipient Location"""
   31: 
   32:     endpoint_doc = "usaspending_api/api_contracts/contracts/v2/disaster/spending_by_geography.md"
   33: 
   34:     required_filters = ["def_codes", "award_type_codes"]
   35: 
  -->      agg_key: Optional[str]                                                                             
   37:     sub_agg_key: Optional[str]
   38:     geo_layer: GeoLayer
   39:     geo_layer_filters: Optional[List[str]]
   40:     spending_type: str

ERROR: Unable to parse file: /code/usaspending_api/disaster/v2/views/recipient/spending.py
ERROR: Parse error at line 23 column 22:

   12: :
   13:     """
   14:     This route takes DEF Codes, Query text, and Award Type Codes and returns Spending by Recipient.
   15:     """
   16: 
   17:     endpoint_doc = "usaspending_api/api_contracts/contracts/v2/disaster/recipient/spending.md"
   18: 
   19:     required_filters = ["def_codes", "award_type_codes", "query"]
   20:     query_fields = ["recipient_name.contains"]
   21:     agg_key = "recipient_agg_key"
   22: 
  -->      sum_column_mapping: List[str]                               
   24: 
   25:     def build_elasticsearch_result(self, info_buckets: List[dict]) -> List[dict]:
   26:         results = [

ERROR: Unable to parse file: /code/usaspending_api/disaster/v2/views/recipient/loans.py
ERROR: Parse error at line 23 column 22:

   12: :
   13:     """
   14:     This route takes DEF Codes and Query text and returns Loans by Recipient.
   15:     """
   16: 
   17:     endpoint_doc = "usaspending_api/api_contracts/contracts/v2/disaster/recipient/loans.md"
   18: 
   19:     required_filters = ["def_codes", "query", "_loan_award_type_codes"]
   20:     query_fields = ["recipient_name.contains"]
   21:     agg_key = "recipient_agg_key"
   22: 
  -->      sum_column_mapping: List[str]                               
   24: 
   25:     def build_elasticsearch_result(self, info_buckets: List[dict]) -> List[dict]:
   26:         results = [

ERROR: Unable to parse file: /code/usaspending_api/disaster/v2/views/federal_account/federal_account_result.py
ERROR: Parse error at line 20 column 21:

    9: ):
   10:     """Renaming the original generic object to clearly be TAS"""
   11: 
   12: 
   13: class FedAccount(Collation):
   14:     """Renaming the original generic object to clearly be Federal Account"""
   15: 
   16: 
   17: @dataclass_json
   18: @dataclass
   19: class FedAcctResults:
  -->      _federal_accounts: Dict[FedAccount, FedAccount] = field(default_factory=dict)
   21: 
   22:     def __getitem__(self, key):
   23:         return self._federal_accounts.

ERROR: Unable to parse file: /code/usaspending_api/disaster/v2/views/elasticsearch_base.py
ERROR: Parse error at line 62 column 16:

   56: 
   57:         return self.run_models(list(self.sort_column_mapping), default_sort_column="id")
   58: 
   59: 
   60: class ElasticsearchDisasterBase(DisasterBase):
   61: 
  -->      query_fields: List[str]
   63:     agg_key: str
   64:     agg_group_name: str = "group_by_agg_key"                                              
   65:     sub_agg_key: str = None                                                                                
   66:     sub_agg_group_name: str = "sub_group_by_sub_agg_key"                                              
   67: 
   68:     filter_query:

ERROR: Unable to parse file: /code/usaspending_api/disaster/v2/views/object_class/object_class_result.py
ERROR: Parse error at line 20 column 19:

    9: ):
   10:     """Renaming the original generic object to clearly be Object Class"""
   11: 
   12: 
   13: class MajorClass(Collation):
   14:     """Renaming the original generic object to clearly be Major Object Class"""
   15: 
   16: 
   17: @dataclass_json
   18: @dataclass
   19: class ObjectClassResults:
  -->      _object_classes: Dict[ObjectClass, ObjectClass] = field(default_factory=dict)
   21: 
   22:     def __getitem__(self, key):
   23:         return self._object_classes.

ERROR: Unable to parse file: /code/usaspending_api/disaster/v2/views/data_classes.py
ERROR: Parse error at line 9 column 6:

    1: from dataclasses import dataclass, field
    2: from dataclasses_json import dataclass_json
    3: from typing import List
    4: 
    5: 
    6: @dataclass_json
    7: @dataclass
    8: class Element:
  -->      id: int
   10:     code: str
   11:     description: str
   12:     award_count: int = None
   13:     obligation: float = 0
   14:     outlay: float = 0
   15:     total_budgetary_resources

ERROR: Unable to parse file: /code/usaspending_api/download/filestreaming/download_generation.py
ERROR: Parse error at line 139 column 14:

  132: .IS_LOCAL:
  133:         with (
  134:             tracer.trace(
  135:                 name=f"job.{JOB_TYPE}.download.s3",
  136:                 service="bulk-download",
  137:                 resource=f"s3://{settings.BULK_DOWNLOAD_S3_BUCKET_NAME}",
  138:                 span_type=SpanTypes.WORKER,
  -->              ) as span,
  140:             tracer.trace(
  141:                 name="s3.command",
  142:                 service="aws.s3",
  143:                 resource=".".join(
  144:                     [multipart_upload.__module__, (multipart_upload.__qualname__

ERROR: Unable to parse file: /code/usaspending_api/download/helpers/elasticsearch_download_functions.py
ERROR: Parse error at line 38 column 15:

   31: logging.getLogger(__name__)
   32: 
   33: 
   34: class _ElasticsearchDownload(metaclass=ABCMeta):
   35:     _source_field = None
   36:     _filter_query_func = None
   37:     _search_type = None
  -->      _base_model: Model = None
   39: 
   40:     @classmethod
   41:     def _get_download_ids_generator(cls, search: Union[AwardSearch, TransactionSearch, SubawardSearch], size: int):
   42: 

ERROR: Unable to parse file: /code/usaspending_api/download/v2/request_validations.py
ERROR: Parse error at line 33 column 8:

   27: models import DisasterEmergencyFundCode, ToptierAgency
   28: from usaspending_api.submissions import helpers as sub_helpers
   29: from usaspending_api.submissions.helpers import get_last_closed_submission_date
   30: 
   31: 
   32: class DownloadValidatorBase:
  -->      name: str
   34: 
   35:     def __init__(self, request_data: dict):
   36:         self.common_tinyshield_models = [
   37:             {
   38:                 "name": "columns",
   39:                 "key": "columns",
   40:                 "type"

ERROR: Unable to parse file: /code/usaspending_api/agency/v2/views/agency_base.py
ERROR: Parse error at line 29 column 22:

   21: , Agency
   22: from usaspending_api.submissions.helpers import validate_request_within_revealed_submissions
   23: 
   24: logger = logging.getLogger(__name__)
   25: 
   26: 
   27: class AgencyBase(APIView):
   28: 
  -->      params_to_validate: List[str]
   30:     additional_models: dict
   31: 
   32:     def _validate_params(self, param_values, params_to_validate=None):
   33:         params_to_validate = params_to_validate or getattr(

ERROR: Unable to parse file: /code/usaspending_api/references/v2/views/location_autocomplete.py
ERROR: Parse error at line 30 column 18:

   21: class LocationAutocompleteViewSet(APIView):
   22:     """
   23:     This end point returns a list of locations from Elasticsearch that match the given search_text value.
   24:     """
   25: 
   26:     endpoint_doc = "usaspending_api/api_contracts/contracts/v2/autocomplete/location.md"
   27: 
   28:     @cache_response()
   29:     def post(self, request):
  -->          es_results: ES_Response = self._query_elasticsearch(request.data["search_text"], request.data["limit"])
   31:         formatted_results = {
   32:             "countries": self._format_country_results

ERROR: Unable to parse file: /code/usaspending_api/database_scripts/job_archive/backfill_solicitation_date.py
ERROR: Parse error at line 146 column 61:

  140: "%Y/%m/%d %H:%M:%S (%Z)")
  141: 
  142:     fabs_row_count, fpds_row_count = 0, 0
  143: 
  144:     with Timer() as overall_timer:
  145:         with (
  -->              psycopg2.connect(dsn=SPENDING_CONNECTION_STRING) as spending_connection,
  147:             psycopg2.connect(dsn=BROKER_CONNECTION_STRING) as broker_connection,
  148:         ):
  149:             spending_connection.autocommit = True
  150: 
  151:             logging.info("Running FPDS backfill from Broker to USAspending")

ERROR: Unable to parse file: /code/usaspending_api/database_scripts/job_archive/backfill_primary_place_of_performance_scope.py
ERROR: Parse error at line 131 column 61:

  125: log_format, datefmt="%Y/%m/%d %H:%M:%S (%Z)")
  126: 
  127:     fabs_row_count = 0
  128: 
  129:     with Timer() as overall_timer:
  130:         with (
  -->              psycopg2.connect(dsn=SPENDING_CONNECTION_STRING) as spending_connection,
  132:             psycopg2.connect(dsn=BROKER_CONNECTION_STRING) as broker_connection,
  133:         ):
  134:             spending_connection.autocommit = True
  135: 
  136:             logging.info("Running FABS backfill from Broker to USAspending")

ERROR: Unable to parse file: /code/usaspending_api/database_scripts/job_archive/backfill_per_transaction_exec_comp.py
ERROR: Parse error at line 250 column 61:

  244: "%Y/%m/%d %H:%M:%S (%Z)")
  245: 
  246:     fabs_row_count, fpds_row_count = 0, 0
  247: 
  248:     with Timer() as overall_timer:
  249:         with (
  -->              psycopg2.connect(dsn=SPENDING_CONNECTION_STRING) as spending_connection,
  251:             psycopg2.connect(dsn=BROKER_CONNECTION_STRING) as broker_connection,
  252:         ):
  253:             spending_connection.autocommit = True
  254: 
  255:             logging.info("Running FABS backfill from Broker to USAspending")

ERROR: Unable to parse file: /code/usaspending_api/etl/management/commands/swap_in_new_table.py
ERROR: Parse error at line 42 column 20:

   12: ordered_dictionary_fetcher,
   13:     is_table_partitioned,
   14:     get_parent_partitioned_table,
   15: )
   16: 
   17: logger = logging.getLogger("script")
   18: 
   19: 
   20: class Command(BaseCommand):
   21:     help = """
   22:     This command is used to swap two tables. It uses a base table name and then discriminating suffixes (possibly
   23:     empty string) for the tables to be swapped (defaults to swapping <table>_temp in for <table>).
   24:     Validation is run against the new table to ensure that after the swap is complete all of the indexes, constraints,
   25:     columns, and table name will be the same.
   26: 
   27:     NOTE: This entire process IS NOT ATOMIC (only the final swap of tables)!
   28:     This choice was made to prevent potential deadlock scenarios since the swapping / renaming of indexes, constraints,
   29:     and tables should only take milliseconds. If this command fails then any cleanup will have to be done manually.
   30: 
   31:     Current API and Download functionality is not affected until the step that actually renames the old table. That
   32:     change will take an ACCESS EXCLUSIVE LOCK and any future queries following it will hit the new table. On a Primary
   33:     database where typical query performance is under 1 minute this could cause some queries to take longer as they wait
   34:     on the LOCK to be released, depending on what the lock is waiting on. For a Replica database this will cause some
   35:     queries to cancel if they are blocking the ACCESS EXCLUSIVE LOCK for too long and could impede replication.
   36: 
   37:     At the time of the actual DROP TABLE command there should be no activity present on the old table since the
   38:     ALTER TABLE for the rename would have blocked all activity and routed to the new table following the rename.
   39:     """
   40: 
   41: 
  -->      curr_schema_name: str
   43:     curr_table_name: str
   44:     dest_suffix: str                                               
   45:     temp_schema_name: str
   46:     temp_table_name: str
   47:     source_suffix: str                                                 
   48:     is_temp_table_partitioned: bool
   49:     temp_table_parent_partitioned_table: Optional

ERROR: Unable to parse file: /code/usaspending_api/etl/management/commands/update_file_c_linkages_in_delta.py
ERROR: Parse error at line 32 column 9:

   16: 
   17: 
   18:     help = (
   19:         "This command links File C (financial_accounts_by_awards) records to File D (awards) records.",
   20:         "It creates a new copy of the `financial_accounts_by_awards` Delta table in the `int` schema",
   21:         "based on the copy in the `raw` schema and applies the updates there. These records are linked to",
   22:         "the `awards` table in the `int` schema. By default, this copy is peformed as a SHALLOW CLONE,",
   23:         "but if the `--no-clone` command is used, a full copy of the table will be made instead. In either",
   24:         "case, the int table is replaced during each run.",
   25:         "",
   26:         "Before updating the int table, it builds a temporary view containing all necessary updates to",
   27:         "linkages. At the end of the command, this view is written to Postgres replacing the contents of the",
   28:         "contents of the `c_to_d_linkages` table, which is later used to perform the same updates on the",
   29:         "Postgres version of the FABA table.",
   30:     )
   31: 
  -->      spark: SparkSession
   33: 
   34:     def add_arguments(self, parser):
   35: 
   36:         parser.add_argument(
   37:             "--no-clone",
   38:             action="store_true",
   39:             required=False,
   40:             help="Whether to create a full new `int` table instead of a clone."

ERROR: Unable to parse file: /code/usaspending_api/etl/management/commands/load_transactions_in_delta.py
ERROR: Parse error at line 60 column 13:

   40: TRANSACTION_FPDS_COLUMNS,
   41:     DAP_TO_NORMALIZED_COLUMN_INFO,
   42: )
   43: from usaspending_api.transactions.delta_models.transaction_normalized import TRANSACTION_NORMALIZED_COLUMNS
   44: 
   45: 
   46: class Command(BaseCommand):
   47: 
   48:     help = """
   49:         This command reads transaction data from source / bronze tables in delta and creates the delta silver tables
   50:         specified via the "etl_level" argument. Each "etl_level" uses an exclusive value for "last_load_date" from the
   51:         "external_data_load_date" table in Postgres to determine the subset of transactions to load. For a full
   52:         pipeline run the "award_id_lookup" and "transaction_id_lookup" levels should be run first in order to populate the
   53:         lookup tables. These lookup tables are used to keep track of PK values across the different silver tables.
   54: 
   55:         *****NOTE*****: Before running this command for the first time on a usual basis, it should be run with the
   56:             "etl_level" set to "initial_run" to set up the needed lookup tables and populate the needed sequences and
   57:             "last_load_date" values for the lookup tables.
   58:     """
   59: 
  -->      etl_level: str
   61:     last_etl_date: str
   62:     spark_s3_bucket: str
   63:     no_initial_copy: bool
   64:     logger: logging.Logger
   65:     spark: SparkSession
   66: 
   67: 
   68:     award_id_lookup_delete_subquery: str = """
   69:         -- Adding CTEs to pre-filter award_id_lookup table for significant speedups when joining
   70:         WITH
   71:         aidlu_fpds AS (
   72:             SELECT * FROM int.award_id_lookup
   73:             WHERE is_fpds = TRUE
   74:         ),
   75:         aidlu_fabs AS (
   76:             SELECT * FROM int.award_id_lookup
   77:             WHERE is_fpds = FALSE
   78:         )
   79:         SELECT aidlu.transaction_unique_id AS id_to_remove
   80:         FROM aidlu_fpds AS aidlu LEFT JOIN raw.detached_award_procurement AS dap ON (
   81:             aidlu.transaction_unique_id = ucase(dap.detached_award_proc_unique)
   82:         )
   83:         WHERE dap.detached_award_proc_unique IS NULL
   84:         UNION ALL
   85:         SELECT aidlu.transaction_unique_id AS id_to_remove
   86:         FROM aidlu_fabs AS aidlu LEFT JOIN raw.published_fabs AS pfabs ON (
   87:             aidlu.transaction_unique_id = ucase(pfabs.afa_generated_unique)
   88:         )
   89:         WHERE pfabs.afa_generated_unique IS NULL
   90:     """

ERROR: Unable to parse file: /code/usaspending_api/etl/management/commands/check_es_doc_duplication.py
ERROR: Parse error at line 33 column 21:

   12: = logging.getLogger(__name__)
   13: 
   14: 
   15: class Command(BaseCommand):
   16:     """Check whether an index has duplicate documents on different shards with the same ``_id`` value
   17: 
   18:     Assumptions:
   19:         - The duplication is determined by two docs existing with the same value for meta field ``_id``
   20:         - There is some non-default shard-routing on the index that would allow for two docs with the same ``_id``
   21:           value to end up on different shards (by default, shard-routing is done using the ``_id`` field)
   22:     """
   23: 
   24:     help = (
   25:         "Check whether an index has duplicate documents on different shards with the same ``_id`` value. "
   26:         "There are two approaches, and one needs to be chosen using either --query-type scroll, or --query-type "
   27:         "partition. See arg info for --query-type for more info. There is no fast way to perform this check, "
   28:         "but these two strategies provide a client-side-intense way to do it or a server-side intense way to do it, "
   29:         "respectively. Each takes a very long time to process (e.g. 8hrs for 100M docs). Trial out performance and "
   30:         "impact to client or server by testing with a small --stop-after value."
   31:     )
   32: 
  -->      _es_client_config: dict = None
   34:     _index: str = None
   35:     _partition_size: int = None
   36:     _num_partitions: int = None
   37:     _lock = Lock()
   38:     _completed_count

ERROR: Unable to parse file: /code/usaspending_api/etl/management/commands/load_table_from_delta.py
ERROR: Parse error at line 49 column 10:

   37: "JSONB using {column_name}::JSON", "delta": "TEXT"},
   38: }
   39: 
   40: 
   41: _SPARK_CSV_WRITE_TO_PG_MAX_RECORDS_PER_FILE = CONFIG.SPARK_PARTITION_ROWS
   42: 
   43: 
   44: _PG_WORK_MEM_FOR_LARGE_CSV_COPY = 256 * 1024                                   
   45: 
   46: 
   47: class Command(BaseCommand):
   48: 
  -->      logger: logging.Logger
   50: 
   51:     help = """
   52:     This command reads data from a Delta table and copies it into a corresponding Postgres database table (under a
   53:     temp name). As of now, it only supports a full reload of a table. If the table with the chosen temp name already
   54:     exists, all existing data will be deleted before new data is written. Note this only loads in the data
   55:     without accounting for the metadata, so make sure to run the command `copy_table_metadata` after this is complete
   56:     if a new table has been made.
   57:     """
   58: 
   59:     def add_arguments(self, parser):
   60:         parser.add_argument(
   61:             "--delta-table",
   62:             type=str,
   63:             required

ERROR: Unable to parse file: /code/usaspending_api/etl/management/commands/update_covid_awards_in_delta.py
ERROR: Parse error at line 81 column 9:

   58: UPDATE_OPERATION_SQL = """
   59: UPDATE
   60:     int.awards
   61: SET
   62:     update_date = NOW()
   63: """
   64: 
   65: COUNT_OPERATION_SQL = """
   66: SELECT
   67:     count(*)
   68: FROM
   69:     int.awards AS award_to_update_count
   70: """
   71: 
   72: 
   73: class Command(BaseCommand):
   74:     help = (
   75:         "This command updates the `update_date` field on the `int.awards` table in Delta Lake for",
   76:         "awards that had Covid or Infrastructure data in the previous two submission periods when a",
   77:         "new submission period is revealed. This is to signal to Elasticsearch that the award records",
   78:         "should be reindexed.",
   79:     )
   80: 
  -->      spark: SparkSession
   82: 
   83:     def add_arguments(self, parser):
   84:         parser.add_argument(
   85:             "--dry-run",
   86:             action="store_true",
   87:             default=False,
   88:             help="Only log the count of awards that would have been updated. No awards will be updated"

ERROR: Unable to parse file: /code/usaspending_api/etl/management/commands/load_query_to_delta.py
ERROR: Parse error at line 306 column 24:

  289: ,
  290:         "postgres_seq_name": None,
  291:         "tsvectors": None,
  292:         "postgres_partition_spec": None,
  293:     },
  294: }
  295: 
  296: 
  297: class Command(BaseCommand):
  298: 
  299:     help = """
  300:     This command reads data via a Spark SQL query that relies on delta tables that have already been loaded paired
  301:     with temporary views of tables in a Postgres database. As of now, it only supports a full reload of a table.
  302:     All existing data will be deleted before new data is written.
  303:     """
  304: 
  305: 
  -->      destination_database: str
  307:     destination_table_name: str
  308:     spark: SparkSession
  309: 
  310:     def add_arguments(self, parser):
  311:         parser.add_argument(
  312:             "--destination-table",
  313:             type=str

ERROR: Unable to parse file: /code/usaspending_api/etl/management/commands/update_delta_award_with_subaward_counts.py
ERROR: Parse error at line 18 column 24:

    4: usaspending_api.common.helpers.spark_helpers import (
    5:     configure_spark_session,
    6:     get_active_spark_session,
    7:     get_jvm_logger,
    8: )
    9: 
   10: 
   11: class Command(BaseCommand):
   12: 
   13:     help = """
   14:     This command simply updates the awards data on delta lake with subaward counts based on rpt.subaward_search
   15:     """
   16: 
   17: 
  -->      destination_database: str
   19:     destination_table_name: str
   20:     spark: SparkSession
   21: 
   22:     def handle(self, *args, **options):
   23:         extra_conf = {
   24: 
   25:             "spark.sql.extensions":

ERROR: Unable to parse file: /code/usaspending_api/etl/elasticsearch_loader_helpers/utilities.py
ERROR: Parse error at line 22 column 8:

   13: usaspending_api.common.helpers.sql_helpers import get_database_dsn_string
   14: 
   15: logger = logging.getLogger("script")
   16: 
   17: 
   18: @dataclass
   19: class TaskSpec:
   20:     """Contains details for a single ETL task"""
   21: 
  -->      name: str
   23:     index: str
   24:     sql: str
   25:     view: str
   26:     base_table: str
   27:     base_table_id: str
   28:     field_for_es_id: str
   29:     primary_key: str

ERROR: Unable to parse file: /code/usaspending_api/common/tracing.py
ERROR: Parse error at line 67 column 14:

   62: name: str,
   63:         service: str = None,
   64:         resource: str = None,
   65:         span_type: SpanTypes = None,
   66:         can_drop_sample: bool = True,
  -->          **tags,
   68:     ) -> None:
   69:         self.name = name
   70:         self.service = service
   71:         self.resource = resource
   72:         self.span_type =

ERROR: Unable to parse file: /code/usaspending_api/common/helpers/spark_helpers.py
ERROR: Parse error at line 98 column 13:

   93: app_name="Spark App",
   94:     log_level: int = None,
   95:     log_spark_config_vals: bool = False,
   96:     log_hadoop_config_vals: bool = False,
   97:     enable_hive_support: bool = False,
  -->      **options,
   99: ) -> SparkSession:
  100:     """Get a SparkSession object with some of the default/boiler-plate config needed for THIS project pre-set
  101: 
  102:     Providing no arguments will work, and give a plain-vanilla SparkSession wrapping a plain vanilla SparkContext
  103:     with all the default spark configurations set (or set with any file-based configs that have been established in
  104:     the runtime environment (e.g. $SPARK_HOME/spark-defaults.conf)
  105: 
  106:     Use arguments in varying combinations to override or provide pre-configured components of the SparkSession.
  107:     Lastly, provide a dictionary or exploded dict (like: **my_options) of name-value pairs of spark properties with
  108:     specific values.
  109: 
  110:     Args:
  111:         java_gateway (JavaGateway): Provide your own JavaGateway, which is typically a network interface to a running
  112:             spark-submit process, through which PySpark jobs can be submitted to a JVM-based Spark runtime.
  113:             NOTE: Only JavaGateway and not ClientServer (which would be used for support of PYSPARK_PIN_THREAD) is
  114:             supported at this time.
  115: 
  116:         spark_context (SparkContext): Provide your own pre-built or fetched-from-elsewhere SparkContext object that
  117:             the built SparkSession will wrap. The given SparkContext must be active (not stopped). Since an active
  118:             SparkContext will have its own active underlying JVM gateway, you cannot provide this AND a java_gateway.
  119: 
  120:         master (str): URL in the form of spark://host:port where the master node of the Spark cluster can be found.
  121:             If not provided here, or via a conf property spark.master, the default value of local[*] will remain.
  122: 
  123:         app_name (str): The name given to the app running in this SparkSession. This is not a modifiable property,
  124:             and can only be set if creating a brand new SparkContext and SparkSession.
  125: 
  126:         log_level (str): Set the log level. Only set AFTER construction of the SparkContext, unfortunately.
  127:             Values are one of: logging.ERROR, logging.WARN, logging.WARNING, logging.INFO, logging.DEBUG
  128: 
  129:         log_spark_config_vals (bool): If True, log at INFO the current spark config property values
  130: 
  131:         log_hadoop_config_vals (bool): If True, log at INFO the current hadoop config property values
  132: 
  133:         enable_hive_support (bool): If True, enable hive on the created SparkSession. Doing so internally sets the
  134:             spark conf spark.sql.catalogImplementation=hive, which persists the metastore_db to its configured location
  135:             (by default the working dir of the spark command run as a Derby DB folder, but configured explicitly here
  136:             if running locally (not AWS))
  137: 
  138:         options (kwargs): dict or named-arguments (unlikely due to dots in properties) of key-value pairs representing
  139:             additional spark config values to set as the SparkContext and SparkSession are created.
  140:             NOTE: If a value is provided, and a SparkContext is also provided, the value must be a modifiable
  141:             property, otherwise an error will be thrown.
  142:     """
  143:     if spark_context and (
  144:         not spark_context._jvm or spark_context._jvm.SparkSession.getDefaultSession().get

ERROR: Unable to parse file: /code/usaspending_api/common/etl/spark.py
ERROR: Parse error at line 532 column 15:

  526: _USAS_RDS_REF_TABLES]
  527: 
  528: 
  529: def _generate_global_view_sql_strings(tables: List[str], jdbc_url: str) -> List[str]:
  530:     """Generates the CREATE OR REPLACE SQL strings for each of the given tables and JDBC URL"""
  531: 
  -->      sql_strings: List[str] = []
  533:     jdbc_conn_props = get_jdbc_connection_properties()
  534: 
  535:     for table_name in tables:
  536:         sql_strings.append(
  537:             f"""
  538:             CREATE OR REPLACE GLOBAL TEMPORARY VIEW {table_name}
  539:             USING JDBC
  540:             OPTIONS (
  541:                 driver '{jdbc_conn_props["driver"]}',
  542:                 fetchsize '{jdbc_conn_props["fetchsize"]}',
  543:                 url '{jdbc_url}',
  544:                 dbtable '{table_name}'
  545:             )
  546:             """
  547:         )
  548: 
  549:     

ERROR: Unable to parse file: /code/usaspending_api/common/sqs/sqs_work_dispatcher.py
ERROR: Parse error at line 251 column 31:

  244:     def dispatch(
  245:         self,
  246:         job,
  247:         *additional_job_args,
  248:         message_transformer=lambda msg: msg.body,
  249:         worker_process_name=None,
  250:         exit_handler=None,
  -->          **additional_job_kwargs,
  252:     ):
  253:         """Get work from the queue and dispatch it in a newly started worker process.
  254: 
  255:         Poll the queue for a message to work on. Any additional (not named in the signature) args or additional
  256:         (not named in the signature) keyword-args will be combined with the args/kwargs provided by the
  257:         message_transformer. This complete set of arguments is provided to the callable :param:`job` that will be
  258:         executed in a separate worker process. The worker process will be monitored so that heartbeats can be
  259:         sent to the SQS to allow it to keep going.
  260: 
  261:         Args:
  262:             job (Callable[]): the callable to execute as work for the job
  263:             additional_job_args: Zero or many variadic args that are unnamed (not keyword) that may be
  264:                 passed along with those from the message to the callable job. NOTE: Passing args to the job this
  265:                 way can be done when needed, but it is preferred to use keyword-args through
  266:                 :param:`additional_job_kwargs` to be more explicit what arg values are going to what params.
  267:             message_transformer: A lambda to extract arguments to be passed to the callable from the queue message.
  268:                 By default, a function that just returns the message body is used. A provided transformer can
  269:                 return a single object as its arg, a tuple of args, or a dictionary of named args (which will
  270:                 be used as keyword-args in the job invocation). This is a keyword-only argument that can only be
  271:                 passed with its name: ``message_transformer=xxx``
  272:             worker_process_name: Name given to the newly created child process. If not already set, defaults to
  273:                 the name of the provided job callable. This is a keyword-only argument that can only be
  274:                 passed with its name: ``worker_process_name=abc``
  275:             exit_handler: a callable to be called when handling an :attr:`EXIT_SIGNALS` signal, giving the
  276:                 opportunity to perform cleanup before the process exits. When invoked, it gets the same args passed
  277:                 to it that were passed to the :param:`job` callable.
  278:             additional_job_kwargs: Zero or many variadic keyword-args that may be passed along with those from
  279:                 the message to the callable job
  280: 
  281:         Examples:
  282:             Given job function::
  283: 
  284:                 def my_job(a, b, c, d):
  285:                     pass  # do something
  286: 
  287:             The preferred way to dispatch it is with a message_transformer that returns a dictionary and,
  288:             if necessary, additional args passed as keyword args::
  289: 
  290:                 dispatcher.dispatch(my_job,
  291:                                     message_transformer=lambda msg: {"a": msg.body, "b": db.get_org(msg.body)},
  292:                                     c=some_tracking_id,
  293:                                     d=datetime.datetime.now())
  294: 
  295:         Returns:
  296:             bool: True if a message was found on the queue and dispatched, otherwise False if nothing on the queue
  297: 
  298:         Raises:
  299:             SystemExit(1): If it can't connect to the queue or receive messages
  300:             QueueWorkerProcessError: Under various conditions where the child worker process fails to run the job
  301:             QueueWorkDispatcherError: Under various conditions where the parent dispatcher process can't
  302:                 orchestrate work execution, monitoring, or exit-signal-handling
  303:         """
  304:         self._dequeue_message(self._long_poll_seconds)
  305:         if self._current_sqs_message is None:
  306:             return False
  307: 
  308:         job_args

ERROR: Unable to parse file: /code/usaspending_api/common/calculations/file_b.py
ERROR: Parse error at line 85 column 0:

   75: val)
   76: 
   77:         returnpya_columns
   78: 
   79: 
   80: def _calculate_obligations_and_outlays(
   81:     calculation_type: str,
   82:     *,
   83:     is_multi_year: bool = False,
   84:     include_final_sub_filter: bool = False,
  -->  ) -> Case:
   86:     """
   87:     Builds the Case statement used to decide the Obligation or Outlay calculation that should be used.
   88: 
   89:     Args:
   90:         calculation_type: Whether to calculate obligations or outlays
   91: 
   92:         is_multi_year: Determines what records should be included in a calculation based on PYA
   93: 
   94:         include_final_sub_filter: There are slightly different implementations for calculating the obligations and
   95:             outlays for File B. Including this filter as optional allows for outside logic to select submissions.
   96: 
   97:     Returns:
   98:         A single Case object is returned that adds together corresponding columns depending on their PYA value
   99:         and optional filtering
  100:     """
  101:     calculation_type = CalculationType(calculation_type)
  102: 
  103:     if is_multi_year and calculation_type == CalculationType.OUTLAY:
  104:         raise ValueError(

ERROR: Unable to parse file: /code/usaspending_api/common/data_classes.py
ERROR: Parse error at line 8 column 8:

    1: from dataclasses import dataclass
    2: from typing import Optional
    3: from typing_extensions import Literal
    4: 
    5: 
    6: @dataclass
    7: class Pagination:
  -->      page: int
    9:     limit: int
   10:     lower_limit: int
   11:     upper_limit: int
   12:     sort_key: Optional[str] = None
   13:     sort_order: Optional[str]

ERROR: Unable to parse file: /code/usaspending_api/submissions/helpers.py
ERROR: Parse error at line 78 column 15:

   67: False
   68:     if period == 1:
   69:         is_valid_period = False
   70: 
   71:     return is_valid_period
   72: 
   73: 
   74: @dataclass
   75: class ClosedPeriod:
   76:     """Little convenience class to bundle some common period functionality."""
   77: 
  -->      fiscal_year: int
   79:     fiscal_quarter: Optional[int]
   80:     fiscal_month: Optional[int]
   81: 
   82:     def __post_init__(self):
   83:         if self.fiscal_quarter is

ERROR: Unable to parse file: /code/usaspending_api/config/__init__.py
ERROR: Parse error at line 80 column 6:

   75: )
   76:     cli_config_overrides = _parse_config_arg()
   77:     return runtime_env["constructor"](**cli_config_overrides) if cli_config_overrides else runtime_env["constructor"]()
   78: 
   79: 
  -->  CONFIG: Type[Union[DefaultConfig, LocalConfig]] = _load_config()
   81: EOF

ERROR: Unable to parse file: /code/usaspending_api/config/envs/default.py
ERROR: Parse error at line 35 column 17:

   19: ,
   20:     validate_url_and_parts,
   21:     check_required_url_parts,
   22:     backfill_url_parts_config,
   23: )
   24: from pydantic import (
   25:     AnyHttpUrl,
   26:     BaseSettings,
   27:     PostgresDsn,
   28:     SecretStr,
   29:     root_validator,
   30: )
   31: 
   32: _PROJECT_NAME = "usaspending-api"
   33: 
   34: 
  -->  _PROJECT_ROOT_DIR: pathlib.Path = pathlib.Path(__file__).parent.parent.parent.parent.resolve()
   36: _SRC_ROOT_DIR: pathlib.Path =

ERROR: Unable to parse file: /code/usaspending_api/config/envs/production.py
ERROR: Parse error at line 24 column 12:

   10: from typing import ClassVar, Union
   11: 
   12: from usaspending_api.config.envs.default import DefaultConfig
   13: 
   14: 
   15: class ProductionConfig(DefaultConfig):
   16:     """Config for a production runtime environment, which inherits and overrides from DefaultConfig
   17: 
   18:     See Also:
   19:         Attributes inherited from or overridden from ``DefaultConfig``
   20: 
   21:     """
   22: 
   23: 
  -->      ENV_CODE: ClassVar[str] = "prd"
   25: 
   26: 
   27:     AWS_PROFILE: Union[str, None] = None
   28:     SPARK_S3_BUCKET = "dti-da-usaspending-spark-prod"
   29:     BULK_DOWNLOAD_S3_BUCKET_NAME: str = "dti-usaspending-bulk-download"
   30:     DATABASE_DOWNLOAD_S3_BUCKET_NAME

ERROR: Unable to parse file: /code/usaspending_api/config/envs/sandbox.py
ERROR: Parse error at line 24 column 12:

   10: from typing import ClassVar, Union
   11: 
   12: from usaspending_api.config.envs.default import DefaultConfig
   13: 
   14: 
   15: class SandboxConfig(DefaultConfig):
   16:     """Config for a sandbox runtime environment, which inherits and overrides from DefaultConfig
   17: 
   18:     See Also:
   19:         Attributes inherited from or overridden from ``DefaultConfig``
   20: 
   21:     """
   22: 
   23: 
  -->      ENV_CODE: ClassVar[str] = "sbx"
   25: 
   26: 
   27:     AWS_PROFILE: Union[str, None] = None
   28:     SPARK_S3_BUCKET = "dti-da-usaspending-spark-qat"
   29:     BULK_DOWNLOAD_S3_BUCKET_NAME: str = "dti-usaspending-bulk-download-qat"
   30: 
   31:     DELTA_LAKE_S3_PATH

ERROR: Unable to parse file: /code/usaspending_api/config/envs/local.py
ERROR: Parse error at line 37 column 12:

   14: , _PROJECT_ROOT_DIR
   15: from usaspending_api.config.utils import (
   16:     USER_SPECIFIC_OVERRIDE,
   17:     FACTORY_PROVIDED_VALUE,
   18:     eval_default_factory_from_root_validator,
   19: )
   20: 
   21: 
   22: class LocalConfig(DefaultConfig):
   23:     """Config for a local runtime environment, which inherits and overrides from DefaultConfig
   24: 
   25:     See Also:
   26:         Attributes inherited from or overridden from ``DefaultConfig``
   27: 
   28:     Attributes:
   29:         MINIO_ACCESS_KEY: Access key for accessing S3 object data stored locally via MinIO
   30:         MINIO_SECRET_KEY: Secret key for accessing S3 object data stored locally via MinIO
   31:         MINIO_DATA_DIR: Where docker persists "object data" for S3 objects stored locally
   32:             - Should point to a path where data can be persistend beyond docker restarts,
   33:               outside of the git source repository
   34:     """
   35: 
   36: 
  -->      ENV_CODE: ClassVar[str] = "lcl"
   38: 
   39:     _USASPENDING_USER: str = "usaspending"
   40:     _USASPENDING_PASSWORD: SecretStr = "usaspender"
   41: 
   42: 
   43:     USASPENDING_DB_USER: str = _USASPENDING_USER
   44:     USASPENDING_DB_PASSWORD: SecretStr =

ERROR: Unable to parse file: /code/usaspending_api/config/envs/staging.py
ERROR: Parse error at line 24 column 12:

   10: from typing import ClassVar, Union
   11: 
   12: from usaspending_api.config.envs.default import DefaultConfig
   13: 
   14: 
   15: class StagingConfig(DefaultConfig):
   16:     """Config for a staging runtime environment, which inherits and overrides from DefaultConfig
   17: 
   18:     See Also:
   19:         Attributes inherited from or overridden from ``DefaultConfig``
   20: 
   21:     """
   22: 
   23: 
  -->      ENV_CODE: ClassVar[str] = "stg"
   25: 
   26: 
   27:     AWS_PROFILE: Union[str, None] = None
   28:     SPARK_S3_BUCKET = "dti-da-usaspending-spark-staging"
   29:     BULK_DOWNLOAD_S3_BUCKET_NAME: str = "dti-usaspending-bulk-download-staging"
   30:     DATABASE_DOWNLOAD_S3_BUCKET_NAME

ERROR: Unable to parse file: /code/usaspending_api/config/envs/qat.py
ERROR: Parse error at line 24 column 12:

   10: from typing import ClassVar, Union
   11: 
   12: from usaspending_api.config.envs.default import DefaultConfig
   13: 
   14: 
   15: class QATConfig(DefaultConfig):
   16:     """Config for a qat runtime environment, which inherits and overrides from DefaultConfig
   17: 
   18:     See Also:
   19:         Attributes inherited from or overridden from ``DefaultConfig``
   20: 
   21:     """
   22: 
   23: 
  -->      ENV_CODE: ClassVar[str] = "qat"
   25: 
   26: 
   27:     AWS_PROFILE: Union[str, None] = None
   28:     SPARK_S3_BUCKET = "dti-da-usaspending-spark-qat"
   29:     BULK_DOWNLOAD_S3_BUCKET_NAME: str = "dti-usaspending-bulk-download-qat"
   30:     DATABASE_DOWNLOAD_S3_BUCKET_NAME

ERROR: Unable to parse file: /code/usaspending_api/search/filters/elasticsearch/HierarchicalFilter.py
ERROR: Parse error at line 56 column 8:

   47: 
   48:     @abstractmethod
   49:     def node(code, positive, positive_codes, negative_codes):
   50:         pass
   51: 
   52: 
   53: class Node:
   54:     """Represents one part of the final query, either requiring or excluding one code, with any exceptions"""
   55: 
  -->      code: str
   57:     ancestors: list
   58:     positive: bool
   59:     children: list
   60: 
   61:     def __init__(self, code, positive, positive_codes, negative_codes):
   62: 

ERROR: Unable to parse file: /code/usaspending_api/search/filters/postgres/HierarchicalFilter.py
ERROR: Parse error at line 47 column 8:

   38: 
   39:     @abstractmethod
   40:     def node(code, positive, positive_codes, negative_codes):
   41:         pass
   42: 
   43: 
   44: class Node:
   45:     """Represents one part of the final query, either requiring or excluding one code, with any exceptions"""
   46: 
  -->      code: str
   48:     ancestors: list
   49:     positive: bool
   50:     children: list
   51: 
   52:     def __init__(self, code, positive, positive_codes, negative_codes):
   53: 

ERROR: Unable to parse file: /code/usaspending_api/search/v2/views/spending_by_geography.py
ERROR: Parse error at line 64 column 11:

   53: "transactions"
   54: 
   55: 
   56: @api_transformations(api_version=API_VERSION, function_list=API_TRANSFORM_FUNCTIONS)
   57: class SpendingByGeographyVisualizationViewSet(APIView):
   58:     """
   59:     This route takes award filters, and returns spending by state code, county code, or congressional district code.
   60:     """
   61: 
   62:     endpoint_doc = "usaspending_api/api_contracts/contracts/v2/search/spending_by_geography.md"
   63: 
  -->      agg_key: Optional[str]
   65:     filters: dict
   66:     geo_layer: GeoLayer
   67:     geo_layer_filters: Optional[List[str]]
   68:     loc_field_name: str
   69:     loc_lookup:

ERROR: Unable to parse file: /code/usaspending_api/search/v2/views/spending_by_category_views/spending_by_industry_codes.py
ERROR: Parse error at line 32 column 22:

   21: "cfda_number"
   22:     PSC = "product_or_service_code"
   23:     NAICS = "naics_code"
   24:     DEFC = "disaster_emergency_fund_codes"
   25: 
   26: 
   27: class AbstractIndustryCodeViewSet(AbstractSpendingByCategoryViewSet, metaclass=ABCMeta):
   28:     """
   29:     Abstract class used by the different spending by Industry Code endpoints
   30:     """
   31: 
  -->      industry_code_type: IndustryCodeType
   33: 
   34:     def build_elasticsearch_result(self, response: dict) -> List[dict]:
   35: 
   36:         industry_info_buckets = response.get("group_by_agg_key", {

ERROR: Unable to parse file: /code/usaspending_api/search/v2/views/spending_by_category_views/spending_by_federal_account.py
ERROR: Parse error at line 24 column 16:

   12: )
   13: 
   14: 
   15: class AccountType(Enum):
   16:     FEDERAL_ACCOUNT = "federal_account"
   17: 
   18: 
   19: class AbstractAccountViewSet(AbstractSpendingByCategoryViewSet, metaclass=ABCMeta):
   20:     """
   21:     Abstract class used by Federal Accounts spending_by_category endpoint
   22:     """
   23: 
  -->      account_type: AccountType
   25: 
   26:     def build_elasticsearch_result(self, response: dict) -> List[dict]:
   27:         results = []
   28:         account_info_buckets = response.

ERROR: Unable to parse file: /code/usaspending_api/search/v2/views/spending_by_category_views/spending_by_agency_types.py
ERROR: Parse error at line 30 column 15:

   19: "awarding_toptier"
   20:     AWARDING_SUBTIER = "awarding_subtier"
   21:     FUNDING_TOPTIER = "funding_toptier"
   22:     FUNDING_SUBTIER = "funding_subtier"
   23: 
   24: 
   25: class AbstractAgencyViewSet(AbstractSpendingByCategoryViewSet, metaclass=ABCMeta):
   26:     """
   27:     Abstract class used by the different Awarding / Funding Agencies and Subagencies
   28:     """
   29: 
  -->      agency_type: AgencyType
   31: 
   32:     def build_elasticsearch_result(self, response: dict) -> List[dict]:
   33: 
   34:         agency_info_buckets = response.get("group_by_agg_key", {

ERROR: Unable to parse file: /code/usaspending_api/search/v2/views/spending_by_category_views/spending_by_category.py
ERROR: Parse error at line 42 column 8:

   35: usaspending_api.search.filters.time_period.decorators import NewAwardsOnlyTimePeriod
   36: 
   37: logger = logging.getLogger(__name__)
   38: 
   39: 
   40: @dataclass
   41: class Category:
  -->      name: str
   43:     agg_key: str
   44: 
   45: 
   46: @api_transformations(api_version=settings.API_VERSION, function_list=API_TRANSFORM_FUNCTIONS)
   47: class AbstractSpendingByCategoryViewSet(APIView, metaclass=ABCMeta

ERROR: Unable to parse file: /code/usaspending_api/search/v2/views/spending_by_category_views/spending_by_locations.py
ERROR: Parse error at line 76 column 17:

   66: ]
   67: 
   68:         returnlist(combined_dicts.values())
   69: 
   70: 
   71: class AbstractLocationViewSet(AbstractSpendingByCategoryViewSet, metaclass=ABCMeta):
   72:     """
   73:     Base class used by the different spending by Location endpoints
   74:     """
   75: 
  -->      location_type: LocationType
   77: 
   78:     def build_elasticsearch_result(self, response: dict) -> List[dict]:
   79:         def _key_to_geo_code(key):
   80:             if

INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 10.338s
INFO: Final Memory: 28M/1421M
INFO: ------------------------------------------------------------------------