12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-20T13:51:06.021858 #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-11-20T13:51:06.131481 #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-11-20T13:51:06.168053 #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-11-20T13:51:06.181631 #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-11-20T13:51:06.187636 #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-11-20T13:51:06.206220 #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-11-20T13:51:06.211326 #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-11-20T13:51:06.240998 #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 43
def latest_faba_of_each_year_queryset() -> FinancialAccountsByAwards.objects:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:06.245953 #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 120
def _build_json_result(self, queryset: List[dict]) -> dict:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:06.265449 #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-11-20T13:51:06.267323 #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-11-20T13:51:06.326986 #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 19
def post(self, request: Request) -> Response:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:06.341099 #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 41
def construct_response(results: list, pagination: Pagination):
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:06.351004 #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 19
def post(self, request: Request) -> Response:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:06.355700 #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-11-20T13:51:06.369314 #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-11-20T13:51:06.389385 #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-11-20T13:51:06.389537 #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-11-20T13:51:06.411240 #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-11-20T13:51:06.433545 #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-11-20T13:51:06.450323 #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-11-20T13:51:06.458565 #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 25
def construct_response(results: list, pagination: Pagination, strip_total_budgetary_resources=True):
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:06.472738 #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 19
def post(self, request: Request) -> Response:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:06.482401 #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-11-20T13:51:06.499638 #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-11-20T13:51:06.531085 #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-11-20T13:51:06.533229 #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-11-20T13:51:06.642014 #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-11-20T13:51:06.651554 #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-11-20T13:51:06.665018 #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-11-20T13:51:06.795513 #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-11-20T13:51:06.874083 #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-11-20T13:51:06.893149 #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-11-20T13:51:06.941103 #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 155
working_dir = f"{settings.CSV_LOCAL_PATH}_{agency_code}_delta_gen_{timestamp}/"
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:06.943737 #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-11-20T13:51:07.044293 #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-11-20T13:51:07.085545 #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 51
def generate_download(download_job: DownloadJob, origination: Optional[str] = None):
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:07.104753 #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-11-20T13:51:07.118356 #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-11-20T13:51:07.124408 #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-11-20T13:51:07.159235 #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-11-20T13:51:07.165148 #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-11-20T13:51:07.181992 #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-11-20T13:51:07.209554 #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-11-20T13:51:07.229475 #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-11-20T13:51:07.261916 #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-11-20T13:51:07.321573 #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-11-20T13:51:07.342569 #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-11-20T13:51:07.355324 #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 32
f"latest_transaction_search__{FPDS_TO_TRANSACTION_SEARCH_COL_MAP['referenced_idv_agency_iden']}",
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:07.366050 #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-11-20T13:51:07.371595 #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-11-20T13:51:07.388990 #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-11-20T13:51:07.411018 #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-11-20T13:51:07.479271 #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-11-20T13:51:07.498188 #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 26
def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:07.506410 #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 25
def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:07.520503 #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-11-20T13:51:07.529870 #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-11-20T13:51:07.539650 #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 33
def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:07.548536 #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 26
def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:07.555500 #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-11-20T13:51:07.567568 #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 46
def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:07.573203 #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 58
def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:07.587134 #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 38
def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:07.587258 #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 26
def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:07.606237 #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 29
def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:07.624690 #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-11-20T13:51:07.639974 #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-11-20T13:51:07.647196 #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 38
def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:07.662065 #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 26
def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:07.675865 #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 26
def get(self, request: Request, *args: Any, **kwargs: Any) -> Response:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:07.679456 #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-11-20T13:51:07.729098 #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-11-20T13:51:07.732081 #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-11-20T13:51:07.758973 #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-11-20T13:51:07.802010 #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-11-20T13:51:07.996465 #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-11-20T13:51:08.017928 #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-11-20T13:51:08.024078 #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-11-20T13:51:08.033441 #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-11-20T13:51:08.047262 #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-11-20T13:51:08.072617 #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 407
"""
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:08.088886 #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-11-20T13:51:08.097941 #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-11-20T13:51:08.128276 #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-11-20T13:51:08.148940 #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-11-20T13:51:08.207042 #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 19
) -> (list, float):
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:08.299868 #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 56
f"org.apache.hadoop:hadoop-aws:{_HADOOP_VERSION}",
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:08.312510 #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-11-20T13:51:08.334882 #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 14
def test_preload_spark_jars(spark: SparkSession):
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:08.383771 #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-11-20T13:51:08.398797 #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-11-20T13:51:08.400941 #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 37
logger.info(f"Deleted {deletes[0]:,} records")
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:08.415343 #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 64
logger.info(f"Deleted {deletes[0]:,} records")
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:08.418904 #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-11-20T13:51:08.434303 #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-11-20T13:51:08.456323 #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-11-20T13:51:08.473164 #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-11-20T13:51:08.481142 #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-11-20T13:51:08.501482 #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 45
DEFAULT_CSV_LOCATION = f"{settings.FILES_SERVER_BASE_URL}/reference_data/"
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:08.519776 #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-11-20T13:51:08.521909 #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-11-20T13:51:08.643547 #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-11-20T13:51:08.651357 #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-11-20T13:51:08.713900 #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-11-20T13:51:08.821990 #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-11-20T13:51:08.861632 #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-11-20T13:51:09.131795 #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-11-20T13:51:09.172568 #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-11-20T13:51:09.205048 #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-11-20T13:51:09.221731 #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-11-20T13:51:09.255301 #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-11-20T13:51:09.276343 #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-11-20T13:51:09.290228 #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-11-20T13:51:09.295490 #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-11-20T13:51:09.309964 #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-11-20T13:51:09.315604 #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-11-20T13:51:09.334962 #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-11-20T13:51:09.468199 #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 94
flush=True,
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.486444 #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 83
flush=True,
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.500803 #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 98
def __init__(self, message=None, success_logger=print, failure_logger=print):
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.514918 #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 47
""",
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.526674 #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 76
with ScriptTimer(f"Copy submissions from {self.source_fyp} to {self.destination_fyp}"):
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.536812 #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 84
GET_BROKER_FABS_IDS_SQL = f"select {FABS_ID_COLUMN} from {BROKER_FABS_TABLE} where is_active is true"
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.547148 #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 68
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-11-20T13:51:09.550768 #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-11-20T13:51:09.569897 #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 68
with ScriptTimer(f"Convert FY{self.fiscal_year}Q{self.fiscal_quarter} submissions into monthly submissions"):
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.583988 #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 244
logger.info(t.success_message + (f"... {count:,} rows affected" if count is not None else ""))
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.600731 #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 83
flush=True,
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.632916 #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-11-20T13:51:09.648570 #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 119
flush=True,
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.657968 #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 143
logging.info(f"MIN ID: {min_id:,}, MAX ID: {max_id:,}")
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.661856 #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 83
flush=True,
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.679738 #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 83
flush=True,
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.699435 #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 204
async def update_sql_functions(pool):
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.701930 #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 89
print(f"Finished. {TOTAL_UPDATES:,} rows with overall run time: {overall_timer.elapsed_as_string}")
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.721175 #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-11-20T13:51:09.760083 #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-11-20T13:51:09.786311 #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-11-20T13:51:09.901311 #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 41
logger.critical(print(err))
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:09.945306 #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-11-20T13:51:10.018227 #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-11-20T13:51:10.030108 #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-11-20T13:51:10.040817 #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 354
spark = configure_spark_session(**extra_conf, spark_context=spark) # type: SparkSession
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:10.048873 #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-11-20T13:51:10.059516 #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 52
spark = configure_spark_session(**extra_conf, spark_context=spark) # type: SparkSession
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:10.071375 #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 24
def create_controller(self, config: dict) -> AbstractElasticsearchIndexerController:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:10.108604 #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-11-20T13:51:10.128488 #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-11-20T13:51:10.132522 #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-11-20T13:51:10.145410 #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-11-20T13:51:10.148498 #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-11-20T13:51:10.165475 #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 15
TABLE_SPEC = {**ARCHIVE_TABLE_SPEC, **LOAD_TABLE_TABLE_SPEC, **LOAD_QUERY_TABLE_SPEC}
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:10.172613 #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-11-20T13:51:10.185313 #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-11-20T13:51:10.199068 #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 81
spark = configure_spark_session(**extra_conf, spark_context=spark) # type: SparkSession
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:10.209132 #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-11-20T13:51:10.214817 #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-11-20T13:51:10.222923 #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-11-20T13:51:10.241942 #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-11-20T13:51:10.258988 #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 56
logger.info(f"Using {script_start_time} to determine if awards should be touched.")
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:10.259338 #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-11-20T13:51:10.279176 #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-11-20T13:51:10.294657 #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-11-20T13:51:10.321002 #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-11-20T13:51:10.332899 #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-11-20T13:51:10.338172 #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-11-20T13:51:10.356624 #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-11-20T13:51:10.356705 #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-11-20T13:51:10.374734 #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-11-20T13:51:10.376932 #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-11-20T13:51:10.397073 #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-11-20T13:51:10.421121 #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-11-20T13:51:10.462593 #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-11-20T13:51:10.490359 #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-11-20T13:51:10.554290 #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-11-20T13:51:10.565064 #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-11-20T13:51:10.651982 #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-11-20T13:51:10.656696 #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-11-20T13:51:10.670868 #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-11-20T13:51:10.690624 #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-11-20T13:51:10.700307 #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-11-20T13:51:10.711753 #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-11-20T13:51:10.736577 #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-11-20T13:51:10.754100 #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 45
"""
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:10.760053 #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-11-20T13:51:10.771171 #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-11-20T13:51:10.790487 #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-11-20T13:51:10.843877 #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-11-20T13:51:10.905984 #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-11-20T13:51:10.948894 #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 19
def _activate_trace_filter(filter_class: Callable) -> None:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:10.952821 #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-11-20T13:51:11.120961 #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-11-20T13:51:11.175894 #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-11-20T13:51:11.184666 #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-11-20T13:51:11.197439 #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-11-20T13:51:11.240905 #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-11-20T13:51:11.243644 #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-11-20T13:51:11.267785 #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-11-20T13:51:11.349928 #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-11-20T13:51:11.403747 #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 83
def update_list_of_dictionaries(to_update: List[dict], update_with: List[dict], common_term: str) -> dict:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:11.424733 #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-11-20T13:51:11.441769 #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-11-20T13:51:11.465454 #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-11-20T13:51:11.482013 #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-11-20T13:51:11.497161 #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-11-20T13:51:11.503959 #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-11-20T13:51:11.521230 #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-11-20T13:51:11.544814 #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-11-20T13:51:11.571747 #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-11-20T13:51:11.592090 #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-11-20T13:51:11.618906 #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-11-20T13:51:11.620987 #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-11-20T13:51:11.644386 #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-11-20T13:51:11.658132 #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 24
def is_experimental_elasticsearch_api(request: Request) -> bool:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:11.662979 #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-11-20T13:51:11.682091 #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-11-20T13:51:11.682159 #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-11-20T13:51:11.699151 #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-11-20T13:51:11.700356 #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-11-20T13:51:11.716564 #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-11-20T13:51:11.716686 #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-11-20T13:51:11.734592 #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-11-20T13:51:11.738092 #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-11-20T13:51:11.751428 #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 19
def make_cast_column_list(columns: List[str], data_types: DataTypes, alias: Optional[str] = None) -> Composed:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:11.762578 #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-11-20T13:51:11.767889 #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-11-20T13:51:11.793859 #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 11
def _get_shared_columns(source_columns: List[str], destination_columns: List[str]) -> List[str]:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:11.816681 #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-11-20T13:51:11.832403 #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-11-20T13:51:11.840370 #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 34
def _get_boto3_s3_client() -> BaseClient:
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:11.851530 #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-11-20T13:51:11.861985 #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-11-20T13:51:11.883056 #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-11-20T13:51:11.895873 #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-11-20T13:51:11.902425 #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-11-20T13:51:11.917178 #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-11-20T13:51:11.988686 #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-11-20T13:51:12.013815 #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-11-20T13:51:12.186052 #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-11-20T13:51:12.220080 #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-11-20T13:51:12.240667 #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-11-20T13:51:12.262787 #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-11-20T13:51:12.304165 #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-11-20T13:51:12.318140 #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-11-20T13:51:12.392773 #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-11-20T13:51:12.522164 #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-11-20T13:51:12.541621 #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-11-20T13:51:12.586195 #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-11-20T13:51:12.586463 #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-11-20T13:51:12.627554 #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-11-20T13:51:12.699717 #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-11-20T13:51:12.783682 #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-11-20T13:51:12.792991 #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-11-20T13:51:12.965120 #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 492
f"Cannot find Federal Account with the code of '{federal_account_code_param}'"
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:13.032796 #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 69
AWARD_URL = f"{HOST}/award/" if "localhost" in HOST else f"https://{HOST}/award/"
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:13.142767 #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-11-20T13:51:13.273429 #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-11-20T13:51:13.288311 #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 28
logger.critical(print(err))
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:13.387923 #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-11-20T13:51:13.454601 #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-11-20T13:51:13.473573 #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-11-20T13:51:13.499985 #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 14
with timer(f"deleting {len(ids_to_delete)} stale FABS data", logger.info):
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:13.539676 #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-11-20T13:51:13.690482 #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-11-20T13:51:13.691693 #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-11-20T13:51:13.708517 #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-11-20T13:51:13.722002 #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-11-20T13:51:13.732781 #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-11-20T13:51:13.742808 #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-11-20T13:51:13.757577 #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-11-20T13:51:13.765991 #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-11-20T13:51:13.799923 #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-11-20T13:51:13.817122 #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-11-20T13:51:13.818420 #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-11-20T13:51:13.836592 #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-11-20T13:51:13.853718 #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-11-20T13:51:13.869212 #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-11-20T13:51:13.883324 #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-11-20T13:51:13.929922 #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-11-20T13:51:13.975702 #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-11-20T13:51:14.110012 #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-11-20T13:51:14.130845 #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-11-20T13:51:14.131427 #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-11-20T13:51:14.220957 #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-11-20T13:51:14.241586 #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-11-20T13:51:14.251213 #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-11-20T13:51:14.319926 #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-11-20T13:51:14.332394 #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-11-20T13:51:14.347404 #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 58
**base_mapping,
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:14.365531 #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-11-20T13:51:14.396103 #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-11-20T13:51:14.414255 #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-11-20T13:51:14.431783 #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-11-20T13:51:14.440779 #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-11-20T13:51:14.453974 #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-11-20T13:51:14.460813 #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-11-20T13:51:14.480658 #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-11-20T13:51:14.527879 #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-11-20T13:51:14.529959 #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-11-20T13:51:14.543946 #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-11-20T13:51:14.561232 #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-11-20T13:51:14.605676 #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-11-20T13:51:14.618671 #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-11-20T13:51:14.728950 #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-11-20T13:51:15.004719 #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-11-20T13:51:15.177868 #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-11-20T13:51:15.194121 #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-11-20T13:51:15.200814 #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-11-20T13:51:15.222144 #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-11-20T13:51:15.228154 #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-11-20T13:51:15.241567 #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-11-20T13:51:15.283116 #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-11-20T13:51:15.285927 #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-11-20T13:51:15.305047 #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-11-20T13:51:15.318046 #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-11-20T13:51:15.334299 #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-11-20T13:51:15.358030 #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-11-20T13:51:15.386051 #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 214
**{k: v["postgres"] for k, v in SUBAWARD_SEARCH_COLUMNS.items()},
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:15.402280 #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 161
"""
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:15.426465 #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-11-20T13:51:15.446439 #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 56
agg_key: Optional[str]
^
SyntaxError: invalid syntax
I, [2024-11-20T13:51:15.447111 #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-11-20T13:51:15.467167 #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-11-20T13:51:15.469395 #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-11-20T13:51:15.486639 #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-11-20T13:51:15.489989 #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-11-20T13:51:15.501239 #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-11-20T13:51:15.508525 #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-11-20T13:51:15.526001 #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-11-20T13:51:15.546051 #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-11-20T13:51:15.546967 #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-11-20T13:51:15.569063 #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-11-20T13:51:15.611712 #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
|