Skip to content

Commit

Permalink
wrong activity
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Jan 31, 2025
1 parent b92e843 commit 72fdbea
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ def build_query(self) -> sqlalchemy.sql.selectable.Selectable:
return statement

def do_active_filter(self, active: bool) -> Self:
"""Filter to only active=active rows."""
"""Filter to only rows that are active (active=True) or inactive (active=False)."""
self._current_base_filter_statement = self._current_base_filter_statement.where(
labware_offset_table.c.active == True # noqa: E712
labware_offset_table.c.active == active
)
return self

Expand Down

0 comments on commit 72fdbea

Please sign in to comment.