plexus.cli.feedback.feedback_search module
Command for searching and finding feedback items based on various criteria.
- plexus.cli.feedback.feedback_search.build_date_filter(days: int) str
Build a date filter for the last N days.
- async plexus.cli.feedback.feedback_search.fetch_feedback_items_fallback(client, account_id: str, scorecard_id: str, score_id: str, start_date: datetime, end_date: datetime) List[FeedbackItem]
Fallback method using the simple filter approach (original implementation).
- async plexus.cli.feedback.feedback_search.fetch_feedback_items_with_gsi(client, account_id: str, scorecard_id: str, score_id: str, start_date: datetime, end_date: datetime) List[FeedbackItem]
Fetch feedback items using the same GSI query approach as feedback_summary.py. This ensures we get all available data.
- async plexus.cli.feedback.feedback_search.find_feedback_async(scorecard: str, score: str, days: int, limit: int | None, initial_value: str | None, final_value: str | None, format: str, verbose: bool, account_identifier: str | None, prioritize_edit_comments: bool)
Async implementation of find_feedback command.
- plexus.cli.feedback.feedback_search.format_feedback_item_yaml(item: FeedbackItem, include_metadata: bool = False) Dict[str, Any]
Format a FeedbackItem as a dictionary for YAML output.
- plexus.cli.feedback.feedback_search.prioritize_feedback_with_edit_comments(feedback_items: List[FeedbackItem], limit: int) List[FeedbackItem]
Prioritize feedback items that have edit comments when applying a limit.
- Args:
feedback_items: List of FeedbackItem objects limit: Maximum number of items to return
- Returns:
List of prioritized and limited feedback items