Skip to content

Commit

Permalink
add return type to db function
Browse files Browse the repository at this point in the history
  • Loading branch information
failandimprove1 committed Apr 19, 2024
1 parent 9691485 commit 68e343d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/interfaces/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ def delete_profile(profile_id: UUID) -> Profile:
return Profile(**response.data[0])


def get_models():
def get_models() -> list[LLMModel]:
supabase: Client = create_client(url, key)
response = supabase.table("models").select("*").execute()
return [LLMModel(**data) for data in response.data]
Expand Down

0 comments on commit 68e343d

Please sign in to comment.