12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-21T18:08:08.166594 #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-21T18:08:08.223229 #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-21T18:08:08.239844 #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-21T18:08:08.244309 #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-21T18:08:08.250429 #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-21T18:08:08.254931 #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-21T18:08:08.260979 #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-21T18:08:08.271703 #1] INFO -- : Skipping file ./usaspending_api/disaster/v2/views/disaster_base.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 43
def latest_faba_of_each_year_queryset() -> FinancialAccountsByAwards.objects:
^
SyntaxError: invalid syntax
I, [2024-11-21T18:08:08.276006 #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-21T18:08:08.282211 #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-21T18:08:08.286609 #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-21T18:08:08.318229 #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-21T18:08:08.328927 #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-21T18:08:08.329413 #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-21T18:08:08.339596 #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-21T18:08:08.350016 #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-21T18:08:08.350560 #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-21T18:08:08.360548 #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-21T18:08:08.361211 #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-21T18:08:08.371757 #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-21T18:08:08.382259 #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-21T18:08:08.391759 #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-21T18:08:08.392615 #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-21T18:08:08.402236 #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-21T18:08:08.412687 #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-21T18:08:08.423815 #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-21T18:08:08.434315 #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-21T18:08:08.500537 #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-21T18:08:08.501145 #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-21T18:08:08.511914 #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-21T18:08:08.591050 #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-21T18:08:08.623627 #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-21T18:08:08.637594 #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-21T18:08:08.669183 #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-21T18:08:08.669681 #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-21T18:08:08.732842 #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-21T18:08:08.745005 #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-21T18:08:08.755941 #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-21T18:08:08.766217 #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-21T18:08:08.766707 #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-21T18:08:08.789161 #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-21T18:08:08.789404 #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-21T18:08:08.799875 #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-21T18:08:08.816301 #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-21T18:08:08.827038 #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-21T18:08:08.836786 #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-21T18:08:08.866068 #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-21T18:08:08.887984 #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-21T18:08:08.889193 #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-21T18:08:08.898699 #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-21T18:08:08.899704 #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-21T18:08:08.909568 #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-21T18:08:08.923239 #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-21T18:08:08.958999 #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-21T18:08:08.969339 #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-21T18:08:08.969878 #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-21T18:08:08.980054 #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-21T18:08:08.980526 #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-21T18:08:08.990661 #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-21T18:08:08.991175 #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-21T18:08:09.001161 #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-21T18:08:09.001762 #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-21T18:08:09.011806 #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-21T18:08:09.012309 #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-21T18:08:09.022313 #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-21T18:08:09.022846 #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-21T18:08:09.033356 #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-21T18:08:09.044098 #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-21T18:08:09.050540 #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-21T18:08:09.054662 #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-21T18:08:09.065332 #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-21T18:08:09.071902 #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-21T18:08:09.099426 #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-21T18:08:09.100299 #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-21T18:08:09.120253 #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-21T18:08:09.133195 #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-21T18:08:09.257765 #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-21T18:08:09.260102 #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-21T18:08:09.269258 #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-21T18:08:09.272398 #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-21T18:08:09.279829 #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-21T18:08:09.293781 #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-21T18:08:09.294975 #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-21T18:08:09.304901 #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-21T18:08:09.315620 #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-21T18:08:09.326236 #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-21T18:08:09.349492 #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-21T18:08:09.405631 #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-21T18:08:09.406470 #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-21T18:08:09.427606 #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-21T18:08:09.452166 #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-21T18:08:09.461003 #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-21T18:08:09.462991 #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-21T18:08:09.471716 #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-21T18:08:09.473755 #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-21T18:08:09.484607 #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-21T18:08:09.495064 #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-21T18:08:09.505466 #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-21T18:08:09.506065 #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-21T18:08:09.518581 #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-21T18:08:09.529332 #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-21T18:08:09.529836 #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-21T18:08:09.591808 #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-21T18:08:09.597526 #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-21T18:08:09.636663 #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-21T18:08:09.696173 #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-21T18:08:09.737864 #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-21T18:08:09.882557 #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-21T18:08:09.905412 #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-21T18:08:09.922530 #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-21T18:08:09.933403 #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-21T18:08:09.952199 #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-21T18:08:09.962898 #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-21T18:08:09.973122 #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-21T18:08:09.973789 #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-21T18:08:09.983923 #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-21T18:08:09.984592 #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-21T18:08:09.995308 #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-21T18:08:10.082077 #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-21T18:08:10.092143 #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-21T18:08:10.092821 #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-21T18:08:10.103301 #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-21T18:08:10.113238 #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-21T18:08:10.114299 #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-21T18:08:10.123859 #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-21T18:08:10.125021 #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-21T18:08:10.135655 #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-21T18:08:10.145380 #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-21T18:08:10.168465 #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-21T18:08:10.179627 #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-21T18:08:10.180249 #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-21T18:08:10.190643 #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-21T18:08:10.191188 #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-21T18:08:10.201594 #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-21T18:08:10.212420 #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-21T18:08:10.212926 #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-21T18:08:10.223701 #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-21T18:08:10.247473 #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-21T18:08:10.258253 #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-21T18:08:10.315567 #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-21T18:08:10.339315 #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-21T18:08:10.376706 #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-21T18:08:10.387114 #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-21T18:08:10.388312 #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-21T18:08:10.397975 #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-21T18:08:10.399168 #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-21T18:08:10.408561 #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-21T18:08:10.420960 #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-21T18:08:10.426103 #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-21T18:08:10.432063 #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-21T18:08:10.437004 #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-21T18:08:10.442783 #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-21T18:08:10.447706 #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-21T18:08:10.453507 #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-21T18:08:10.458691 #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-21T18:08:10.469605 #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-21T18:08:10.476550 #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-21T18:08:10.480507 #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-21T18:08:10.487160 #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-21T18:08:10.497852 #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-21T18:08:10.502163 #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-21T18:08:10.508576 #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-21T18:08:10.512716 #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-21T18:08:10.523371 #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-21T18:08:10.533883 #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-21T18:08:10.541899 #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-21T18:08:10.544383 #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-21T18:08:10.552431 #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-21T18:08:10.555276 #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-21T18:08:10.563120 #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-21T18:08:10.565851 #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-21T18:08:10.576413 #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-21T18:08:10.585844 #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-21T18:08:10.597797 #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-21T18:08:10.636635 #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-21T18:08:10.647727 #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-21T18:08:10.659727 #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-21T18:08:10.711798 #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-21T18:08:10.712462 #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-21T18:08:10.723092 #1] INFO -- : Skipping file ./usaspending_api/etl/submission_loader_helpers/file_b.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 54
"""
^
SyntaxError: invalid syntax
I, [2024-11-21T18:08:10.735921 #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-21T18:08:10.736569 #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-21T18:08:10.746532 #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-21T18:08:10.757870 #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-21T18:08:10.767445 #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-21T18:08:10.768351 #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-21T18:08:10.777817 #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-21T18:08:10.788548 #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-21T18:08:10.809338 #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-21T18:08:10.839207 #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-21T18:08:10.859762 #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-21T18:08:10.864541 #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-21T18:08:10.980936 #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-21T18:08:11.008969 #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-21T18:08:11.011023 #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-21T18:08:11.019753 #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-21T18:08:11.040927 #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-21T18:08:11.044173 #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-21T18:08:11.061881 #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-21T18:08:11.106846 #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-21T18:08:11.135795 #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-21T18:08:11.148848 #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-21T18:08:11.159539 #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-21T18:08:11.170602 #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-21T18:08:11.173960 #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-21T18:08:11.188318 #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-21T18:08:11.199593 #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-21T18:08:11.210666 #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-21T18:08:11.221811 #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-21T18:08:11.232874 #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-21T18:08:11.241713 #1] INFO -- : Skipping file ./usaspending_api/common/helpers/orm_helpers.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 111
prefix = f"{relation_name}__" if relation_name else ""
^
SyntaxError: invalid syntax
I, [2024-11-21T18:08:11.255191 #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-21T18:08:11.263773 #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-21T18:08:11.266261 #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-21T18:08:11.278987 #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-21T18:08:11.290024 #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-21T18:08:11.290075 #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-21T18:08:11.301138 #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-21T18:08:11.301715 #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-21T18:08:11.311991 #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-21T18:08:11.312558 #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-21T18:08:11.322833 #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-21T18:08:11.323272 #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-21T18:08:11.333651 #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-21T18:08:11.334234 #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-21T18:08:11.344632 #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-21T18:08:11.345175 #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-21T18:08:11.356781 #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-21T18:08:11.368214 #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-21T18:08:11.378205 #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-21T18:08:11.378904 #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-21T18:08:11.389392 #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-21T18:08:11.390157 #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-21T18:08:11.401703 #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-21T18:08:11.411415 #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-21T18:08:11.412355 #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-21T18:08:11.422015 #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-21T18:08:11.456685 #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-21T18:08:11.469289 #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-21T18:08:11.587335 #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-21T18:08:11.604971 #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-21T18:08:11.616231 #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-21T18:08:11.632139 #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-21T18:08:11.654175 #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-21T18:08:11.680185 #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-21T18:08:11.706974 #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-21T18:08:11.788222 #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-21T18:08:11.802920 #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-21T18:08:11.815470 #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-21T18:08:11.826471 #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-21T18:08:11.844283 #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-21T18:08:11.883338 #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-21T18:08:11.921947 #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-21T18:08:11.931648 #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-21T18:08:12.043560 #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-21T18:08:12.082893 #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-21T18:08:12.146947 #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-21T18:08:12.237628 #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-21T18:08:12.248089 #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-21T18:08:12.293211 #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-21T18:08:12.323613 #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-21T18:08:12.335447 #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-21T18:08:12.356787 #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-21T18:08:12.469512 #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-21T18:08:12.490978 #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-21T18:08:12.497621 #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-21T18:08:12.501918 #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-21T18:08:12.508151 #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-21T18:08:12.512451 #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-21T18:08:12.518905 #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-21T18:08:12.523140 #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-21T18:08:12.529676 #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-21T18:08:12.551568 #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-21T18:08:12.557546 #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-21T18:08:12.562300 #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-21T18:08:12.572988 #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-21T18:08:12.578817 #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-21T18:08:12.589613 #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-21T18:08:12.594355 #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-21T18:08:12.627031 #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-21T18:08:12.650826 #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-21T18:08:12.697450 #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-21T18:08:12.714622 #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-21T18:08:12.727492 #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-21T18:08:12.771799 #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-21T18:08:12.780403 #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-21T18:08:12.782820 #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-21T18:08:12.828594 #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-21T18:08:12.839741 #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-21T18:08:12.850612 #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-21T18:08:12.864892 #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-21T18:08:12.875851 #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-21T18:08:12.886655 #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-21T18:08:12.897695 #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-21T18:08:12.902965 #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-21T18:08:12.908590 #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-21T18:08:12.913741 #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-21T18:08:12.924883 #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-21T18:08:12.948924 #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-21T18:08:12.953615 #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-21T18:08:12.960357 #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-21T18:08:12.971902 #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-21T18:08:12.994309 #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-21T18:08:13.001557 #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-21T18:08:13.061654 #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-21T18:08:13.250293 #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-21T18:08:13.368300 #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-21T18:08:13.380099 #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-21T18:08:13.380360 #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-21T18:08:13.392150 #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-21T18:08:13.402900 #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-21T18:08:13.403464 #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-21T18:08:13.425760 #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-21T18:08:13.432062 #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-21T18:08:13.443115 #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-21T18:08:13.447740 #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-21T18:08:13.454295 #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-21T18:08:13.470727 #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-21T18:08:13.491694 #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-21T18:08:13.494213 #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-21T18:08:13.515225 #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-21T18:08:13.516469 #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-21T18:08:13.526896 #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-21T18:08:13.528194 #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-21T18:08:13.538475 #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-21T18:08:13.539399 #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-21T18:08:13.549441 #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-21T18:08:13.550359 #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-21T18:08:13.560624 #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-21T18:08:13.561283 #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-21T18:08:13.572091 #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-21T18:08:13.582291 #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-21T18:08:13.593509 #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-21T18:08:13.616404 #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
|