Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class FundingModel(BaseModel):
None, alias="Funding Institution"
)
grant_number: Optional[str] = Field(None, alias="Grant Number")
fundees: Optional[str] = Field(None, alias="Fundees")
fundees: Optional[str] = Field(None, alias="Fundees (PI)")
investigators: Optional[str] = Field(None, alias="Investigators")
model_config = ConfigDict(populate_by_name=True)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
{
"id": 1114053628874628,
"index": 5,
"title": "Fundees",
"title": "Fundees (PI)",
"type": "TEXT_NUMBER",
"validation": false,
"version": 1,
Expand Down
4 changes: 2 additions & 2 deletions aind-smartsheet-service-server/tests/test_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async def test_get_funding(
"Project Code": "122-01-001-10",
"Funding Institution": "Allen Institute",
"Grant Number": None,
"Fundees": (
"Fundees (PI)": (
"Person Four, Person Five, Person Six, Person Seven,"
" Person Eight"
),
Expand All @@ -88,7 +88,7 @@ async def test_get_funding(
"Project Code": "122-01-020-20",
"Funding Institution": "NIMH",
"Grant Number": "1R01MH134833",
"Fundees": (
"Fundees (PI)": (
"Person Five, Person Nine, Person Ten, Person Seven,"
" Person Eleven"
),
Expand Down