Skip to content

Migrate stats.py to request helpers#176

Open
PaperMtn wants to merge 2 commits intogoogle:mainfrom
PaperMtn:feature/request-helper-stats
Open

Migrate stats.py to request helpers#176
PaperMtn wants to merge 2 commits intogoogle:mainfrom
PaperMtn:feature/request-helper-stats

Conversation

@PaperMtn
Copy link
Contributor

@PaperMtn PaperMtn commented Feb 4, 2026

Summary

Migrate secops.chronicle.stats to use request helpers

  • Request functions in module now implementing helpers in secops.chronicle.utils.request_utils
    • No as_list option for this module, as it is not relevant
  • Update tests in test_stats.py to only test module logic and not centralised error handling, which is already tested
    • Remove redundant test from test_client.py

@PaperMtn PaperMtn requested a review from mihirvala08 as a code owner February 4, 2026 20:47
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.

1 participant