12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-12T01:46:54.563971 #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-12T01:46:54.639418 #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-12T01:46:54.661149 #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-12T01:46:54.662511 #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-12T01:46:54.676703 #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-12T01:46:54.678076 #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-12T01:46:54.689328 #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-12T01:46:54.702294 #1] INFO -- : Skipping file ./usaspending_api/disaster/v2/views/disaster_base.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 42
def latest_faba_of_each_year_queryset() -> FinancialAccountsByAwards.objects:
^
SyntaxError: invalid syntax
I, [2024-11-12T01:46:54.704924 #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-12T01:46:54.716904 #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-12T01:46:54.719256 #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-12T01:46:54.750806 #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-12T01:46:54.761677 #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-12T01:46:54.771700 #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-12T01:46:54.772589 #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-12T01:46:54.784020 #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-12T01:46:54.795192 #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-12T01:46:54.796205 #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-12T01:46:54.808321 #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-12T01:46:54.817757 #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-12T01:46:54.831670 #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-12T01:46:54.838426 #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-12T01:46:54.847902 #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-12T01:46:54.852804 #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-12T01:46:54.863513 #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-12T01:46:54.896473 #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-12T01:46:54.896626 #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-12T01:46:54.988573 #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-12T01:46:54.991400 #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-12T01:46:55.005128 #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-12T01:46:55.117179 #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-12T01:46:55.161357 #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-12T01:46:55.172540 #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-12T01:46:55.201464 #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-12T01:46:55.207128 #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-12T01:46:55.268636 #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-12T01:46:55.297986 #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-12T01:46:55.308918 #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-12T01:46:55.312854 #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-12T01:46:55.319487 #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-12T01:46:55.335973 #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-12T01:46:55.341903 #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-12T01:46:55.346700 #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-12T01:46:55.357635 #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-12T01:46:55.387653 #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-12T01:46:55.388203 #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-12T01:46:55.429871 #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-12T01:46:55.460584 #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-12T01:46:55.464444 #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-12T01:46:55.471588 #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-12T01:46:55.475441 #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-12T01:46:55.486456 #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-12T01:46:55.502894 #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-12T01:46:55.528783 #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-12T01:46:55.549059 #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-12T01:46:55.563060 #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-12T01:46:55.564675 #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-12T01:46:55.573943 #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-12T01:46:55.575993 #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-12T01:46:55.586696 #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-12T01:46:55.588075 #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-12T01:46:55.602652 #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-12T01:46:55.604462 #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-12T01:46:55.613735 #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-12T01:46:55.619186 #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-12T01:46:55.628051 #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-12T01:46:55.642452 #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-12T01:46:55.650347 #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-12T01:46:55.653283 #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-12T01:46:55.664594 #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-12T01:46:55.676734 #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-12T01:46:55.677402 #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-12T01:46:55.718245 #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-12T01:46:55.725039 #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-12T01:46:55.754985 #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-12T01:46:55.769491 #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-12T01:46:55.970425 #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-12T01:46:55.973639 #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-12T01:46:55.985456 #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-12T01:46:55.993439 #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-12T01:46:55.996360 #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-12T01:46:56.011121 #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-12T01:46:56.017331 #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-12T01:46:56.023741 #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-12T01:46:56.035035 #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-12T01:46:56.045798 #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-12T01:46:56.080941 #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-12T01:46:56.124647 #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-12T01:46:56.135938 #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-12T01:46:56.149873 #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-12T01:46:56.176185 #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-12T01:46:56.187053 #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-12T01:46:56.193089 #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-12T01:46:56.198615 #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-12T01:46:56.206507 #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-12T01:46:56.223203 #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-12T01:46:56.232229 #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-12T01:46:56.234312 #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-12T01:46:56.248085 #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-12T01:46:56.261378 #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-12T01:46:56.263626 #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-12T01:46:56.274211 #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-12T01:46:56.344250 #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-12T01:46:56.351672 #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-12T01:46:56.386888 #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-12T01:46:56.457937 #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-12T01:46:56.503786 #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-12T01:46:56.667096 #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-12T01:46:56.692272 #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-12T01:46:56.714322 #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-12T01:46:56.725429 #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-12T01:46:56.750321 #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-12T01:46:56.762204 #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-12T01:46:56.772381 #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-12T01:46:56.780772 #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-12T01:46:56.785007 #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-12T01:46:56.793443 #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-12T01:46:56.804597 #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-12T01:46:56.900530 #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-12T01:46:56.911556 #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-12T01:46:56.919284 #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-12T01:46:56.930947 #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-12T01:46:56.936192 #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-12T01:46:56.943221 #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-12T01:46:56.947701 #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-12T01:46:56.956807 #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-12T01:46:56.971377 #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-12T01:46:56.976266 #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-12T01:46:57.000804 #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-12T01:46:57.012332 #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-12T01:46:57.013345 #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-12T01:46:57.023552 #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-12T01:46:57.024394 #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-12T01:46:57.034507 #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-12T01:46:57.045693 #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-12T01:46:57.046168 #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-12T01:46:57.060118 #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-12T01:46:57.086157 #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-12T01:46:57.097634 #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-12T01:46:57.156456 #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-12T01:46:57.185795 #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-12T01:46:57.235459 #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-12T01:46:57.246502 #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-12T01:46:57.251200 #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-12T01:46:57.257767 #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-12T01:46:57.262593 #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-12T01:46:57.268785 #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-12T01:46:57.279714 #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-12T01:46:57.291338 #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-12T01:46:57.291870 #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-12T01:46:57.304242 #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-12T01:46:57.305254 #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-12T01:46:57.315239 #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-12T01:46:57.316470 #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-12T01:46:57.326051 #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-12T01:46:57.337016 #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-12T01:46:57.339013 #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-12T01:46:57.347844 #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-12T01:46:57.349495 #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-12T01:46:57.360228 #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-12T01:46:57.369957 #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-12T01:46:57.374725 #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-12T01:46:57.380608 #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-12T01:46:57.391812 #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-12T01:46:57.402503 #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-12T01:46:57.408427 #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-12T01:46:57.413398 #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-12T01:46:57.421545 #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-12T01:46:57.426091 #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-12T01:46:57.437577 #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-12T01:46:57.438200 #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-12T01:46:57.455933 #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-12T01:46:57.465959 #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-12T01:46:57.485987 #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-12T01:46:57.521312 #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-12T01:46:57.533991 #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-12T01:46:57.550742 #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-12T01:46:57.606719 #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-12T01:46:57.607310 #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-12T01:46:57.621241 #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 53
"""
^
SyntaxError: invalid syntax
I, [2024-11-12T01:46:57.631231 #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-12T01:46:57.635360 #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-12T01:46:57.642272 #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-12T01:46:57.661450 #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-12T01:46:57.666067 #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-12T01:46:57.672294 #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-12T01:46:57.679252 #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-12T01:46:57.693408 #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-12T01:46:57.719446 #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-12T01:46:57.740853 #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-12T01:46:57.767083 #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-12T01:46:57.778548 #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-12T01:46:57.889261 #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-12T01:46:57.925623 #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-12T01:46:57.926219 #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-12T01:46:57.938937 #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-12T01:46:57.961919 #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-12T01:46:57.969928 #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-12T01:46:57.988985 #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-12T01:46:58.084714 #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-12T01:46:58.116119 #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-12T01:46:58.127644 #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-12T01:46:58.140656 #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-12T01:46:58.155039 #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-12T01:46:58.159671 #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-12T01:46:58.181711 #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-12T01:46:58.193269 #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-12T01:46:58.206293 #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-12T01:46:58.218005 #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-12T01:46:58.238104 #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-12T01:46:58.248373 #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 108
prefix = f"{relation_name}__" if relation_name else ""
^
SyntaxError: invalid syntax
I, [2024-11-12T01:46:58.263027 #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-12T01:46:58.274152 #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-12T01:46:58.277510 #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-12T01:46:58.289468 #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-12T01:46:58.300314 #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-12T01:46:58.300885 #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-12T01:46:58.311610 #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-12T01:46:58.315882 #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-12T01:46:58.322781 #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-12T01:46:58.331838 #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-12T01:46:58.335302 #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-12T01:46:58.343876 #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-12T01:46:58.346752 #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-12T01:46:58.357878 #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-12T01:46:58.358364 #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-12T01:46:58.369275 #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-12T01:46:58.382463 #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-12T01:46:58.393930 #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-12T01:46:58.397689 #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-12T01:46:58.408577 #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-12T01:46:58.409438 #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-12T01:46:58.419740 #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-12T01:46:58.431972 #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-12T01:46:58.432220 #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-12T01:46:58.443929 #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-12T01:46:58.445581 #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-12T01:46:58.494489 #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-12T01:46:58.505962 #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-12T01:46:58.629163 #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-12T01:46:58.652716 #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-12T01:46:58.667071 #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-12T01:46:58.680746 #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-12T01:46:58.703650 #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-12T01:46:58.732214 #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-12T01:46:58.760375 #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-12T01:46:58.839575 #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-12T01:46:58.853355 #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-12T01:46:58.873884 #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-12T01:46:58.881336 #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-12T01:46:58.901120 #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-12T01:46:58.951065 #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-12T01:46:58.986792 #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-12T01:46:58.999511 #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-12T01:46:59.146939 #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-12T01:46:59.187731 #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-12T01:46:59.261613 #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-12T01:46:59.394125 #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-12T01:46:59.416887 #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-12T01:46:59.428135 #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-12T01:46:59.478841 #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-12T01:46:59.480910 #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-12T01:46:59.502097 #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-12T01:46:59.610773 #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-12T01:46:59.633638 #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-12T01:46:59.645949 #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-12T01:46:59.652125 #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-12T01:46:59.656921 #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-12T01:46:59.662767 #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-12T01:46:59.671128 #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-12T01:46:59.673424 #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-12T01:46:59.685027 #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-12T01:46:59.708357 #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-12T01:46:59.710312 #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-12T01:46:59.719500 #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-12T01:46:59.731744 #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-12T01:46:59.732241 #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-12T01:46:59.743084 #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-12T01:46:59.753302 #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-12T01:46:59.779751 #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-12T01:46:59.815976 #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-12T01:46:59.896152 #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-12T01:46:59.910117 #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-12T01:46:59.913268 #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-12T01:46:59.979777 #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-12T01:46:59.980385 #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-12T01:46:59.993083 #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-12T01:47:00.048735 #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-12T01:47:00.052346 #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-12T01:47:00.066130 #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-12T01:47:00.084119 #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-12T01:47:00.095145 #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-12T01:47:00.106192 #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-12T01:47:00.122007 #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-12T01:47:00.128190 #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-12T01:47:00.139776 #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-12T01:47:00.144665 #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-12T01:47:00.160806 #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-12T01:47:00.189454 #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-12T01:47:00.197283 #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-12T01:47:00.205700 #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-12T01:47:00.222138 #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-12T01:47:00.241393 #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-12T01:47:00.255970 #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-12T01:47:00.342652 #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-12T01:47:00.537126 #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-12T01:47:00.648488 #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-12T01:47:00.695158 #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-12T01:47:00.695265 #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-12T01:47:00.712248 #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-12T01:47:00.723215 #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-12T01:47:00.725902 #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-12T01:47:00.764215 #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-12T01:47:00.764810 #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-12T01:47:00.777438 #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-12T01:47:00.787924 #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-12T01:47:00.788911 #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-12T01:47:00.810578 #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-12T01:47:00.831394 #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-12T01:47:00.838196 #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-12T01:47:00.856472 #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-12T01:47:00.866308 #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-12T01:47:00.869936 #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-12T01:47:00.877625 #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-12T01:47:00.882380 #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-12T01:47:00.893637 #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-12T01:47:00.895007 #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-12T01:47:00.905163 #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-12T01:47:00.907624 #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-12T01:47:00.919813 #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-12T01:47:00.936013 #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-12T01:47:00.936846 #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-12T01:47:00.947789 #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-12T01:47:00.981120 #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
|