Skip to content

Conversation

shreyamalviya
Copy link
Contributor

What does this PR do?

Fixes #3396

PR Checklist

  • Have you added an explanation of what your changes do and why you'd like to include them?
  • Is the TravisCI build passing?
  • Was the CHANGELOG.md updated to reflect the changes?
  • Was the documentation framework updated to reflect the changes?
  • Have you checked that you haven't introduced any duplicate code?

Testing Checklist

  • Added relevant unit tests?
  • Do all unit tests pass?
  • Do all end-to-end tests pass?
  • Any other testing performed?

    Tested by running Island and querying endpoints manually

  • If applicable, add screenshots or log transcripts of the feature working

@shreyamalviya shreyamalviya force-pushed the 3396-filter-events-by-tag branch from cd1b033 to 82604c8 Compare July 17, 2023 11:40
@shreyamalviya shreyamalviya merged commit 24768c6 into develop Jul 17, 2023
@shreyamalviya shreyamalviya deleted the 3396-filter-events-by-tag branch July 17, 2023 11:41
Comment on lines +153 to +155
events_by_tag: Sequence[
AbstractAgentEvent
] = self._agent_event_repository.get_events_by_tag(tag)
Copy link
Collaborator

@mssalvatore mssalvatore Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: A minor performance improvement might be to extract this as a method and just say return events_by_type

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think I understand. Extract what exactly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filter events by tag
3 participants