Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerHYang committed Oct 11, 2024
1 parent fb9817e commit 30bc2bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/phoenix/db/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,9 @@ def _example_count(cls) -> ColumnElement[int]:
.label("example_count")
)

async def load_example_count(self, conversation: AsyncSession) -> None:
async def load_example_count(self, session: AsyncSession) -> None:
if not hasattr(self, "_example_count_value"):
self._example_count_value = await conversation.scalar(
self._example_count_value = await session.scalar(
select(
func.sum(
case(
Expand Down

0 comments on commit 30bc2bd

Please sign in to comment.