Skip to content

Commit

Permalink
Add type to agent response
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinika committed Dec 3, 2024
1 parent 3cd5665 commit adfbff5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions virtual_labs/domain/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ class UserAgentResponse(BaseModel):
family_name: str
name: str
createdAt: datetime
type: list[str]
1 change: 1 addition & 0 deletions virtual_labs/tests/agent/test_get_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ async def test_get_agent(async_test_client: AsyncClient) -> None:
"given_name": user,
"family_name": user,
"name": f"{user} {user}",
"type": ["Agent", "Person"],
}

gotten_agent_response = response.json()["data"]
Expand Down

0 comments on commit adfbff5

Please sign in to comment.