docs(campaigns): remove stale docstring reference to deleted scheduling filter

This commit is contained in:
kitos
2026-07-03 14:12:30 +02:00
parent 5bc71f677f
commit 108743daa5
+1 -6
View File
@@ -47,12 +47,7 @@ def list_tests(
# Entry: limit # Entry: limit
limit: int = 50, limit: int = 50,
) -> list[Test]: ) -> list[Test]:
"""Return a paginated list of tests with optional filters. """Return a paginated list of tests with optional filters."""
Tests that belong to a campaign still in 'draft' status AND with a
start_date in the future are always excluded — they should not appear
in the team's queue until the campaign is activated on its start date.
"""
query = db.query(Test).options(joinedload(Test.technique)) query = db.query(Test).options(joinedload(Test.technique))
# Check: state # Check: state