Skip to content

Comments

Use more generic types where possible for input parameters#1584

Merged
tleonhardt merged 3 commits intomainfrom
generic-type-hints
Feb 22, 2026
Merged

Use more generic types where possible for input parameters#1584
tleonhardt merged 3 commits intomainfrom
generic-type-hints

Conversation

@tleonhardt
Copy link
Member

Use more generic types where possible for function and method parameters.

Use generic types like the following where possible:

  • Iterable
  • Mapping
  • MutableSequence
  • Sequence

Use generic types like the following where possible:

- Iterable
- Mapping
- MutableSequence
- Sequence
@tleonhardt tleonhardt added this to the 4.0.0 milestone Feb 21, 2026
@github-actions
Copy link
Contributor

🤖 Hi @tleonhardt, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@tleonhardt tleonhardt mentioned this pull request Feb 21, 2026
17 tasks
@codecov
Copy link

codecov bot commented Feb 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.44%. Comparing base (4530544) to head (74dc041).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1584   +/-   ##
=======================================
  Coverage   99.44%   99.44%           
=======================================
  Files          21       21           
  Lines        4676     4676           
=======================================
  Hits         4650     4650           
  Misses         26       26           
Flag Coverage Δ
unittests 99.44% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@github-actions
Copy link
Contributor

🤖 I'm sorry @tleonhardt, but I was unable to process your request. Please see the logs for more details.

kmvanbrunt
kmvanbrunt previously approved these changes Feb 22, 2026
This is mostly an attempt to fix a transient failure in a PR GitHub Actions pipeline.
@tleonhardt tleonhardt merged commit 4f545de into main Feb 22, 2026
30 checks passed
@tleonhardt tleonhardt deleted the generic-type-hints branch February 22, 2026 00:51
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.

2 participants