Skip to content

Add pools(slots=...) to Pools Utility#113

Merged
fritz-astronomer merged 5 commits intomainfrom
pools_util
Nov 21, 2025
Merged

Add pools(slots=...) to Pools Utility#113
fritz-astronomer merged 5 commits intomainfrom
pools_util

Conversation

@fritz-astronomer
Copy link
Contributor

@fritz-astronomer fritz-astronomer commented Nov 19, 2025

  • feat(utils): add pool_slots to pools util
  • fix(utils): update test
  • doc(utils): update docs

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the pools() utility function by adding a new slots parameter, allowing users to specify pool slots directly when creating pools. This simplifies pool configuration by exposing the commonly-used pool_slots attribute as a dedicated parameter.

Key Changes:

  • Added slots parameter to the pools() function signature
  • Conditionally include pool_slots in the returned dictionary when slots are specified

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov-commenter
Copy link

codecov-commenter commented Nov 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.44%. Comparing base (b3ee237) to head (2225ba7).
⚠️ Report is 69 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #113      +/-   ##
==========================================
+ Coverage   78.92%   82.44%   +3.51%     
==========================================
  Files          35       51      +16     
  Lines        1362     1891     +529     
==========================================
+ Hits         1075     1559     +484     
- Misses        287      332      +45     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fritz-astronomer fritz-astronomer merged commit b3122a8 into main Nov 21, 2025
8 checks passed
@fritz-astronomer fritz-astronomer deleted the pools_util branch November 21, 2025 21:37
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.

3 participants